projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aa82e4
)
isl_stream_read_map: allow extra ';' at end of map description
author
Sven Verdoolaege
<skimo@kotnet.org>
Tue, 15 Feb 2011 15:01:16 +0000
(16:01 +0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Thu, 17 Feb 2011 18:50:22 +0000
(19:50 +0100)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_input.c
patch
|
blob
|
history
diff --git
a/isl_input.c
b/isl_input.c
index
9dca423
..
6d5a5f6
100644
(file)
--- a/
isl_input.c
+++ b/
isl_input.c
@@
-1833,6
+1833,10
@@
static struct isl_obj obj_read(struct isl_stream *s, int nparam)
if (!tok || tok->type != ';')
break;
isl_token_free(tok);
+ if (isl_stream_next_token_is(s, '}')) {
+ tok = isl_stream_next_token(s);
+ break;
+ }
}
if (tok && tok->type == '}') {