projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50591e2
)
Fix anchor token underflow while parsing for-statements.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 27 Oct 2008 15:44:09 +0000
(15:44 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 27 Oct 2008 15:44:09 +0000
(15:44 +0000)
[r23236]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
5bda23a
..
df1a6b6
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-9618,8
+9618,8
@@
static statement_t *parse_for(void)
"step of 'for'-statement has no effect");
}
}
- rem_anchor_token(')');
expect(')');
+ rem_anchor_token(')');
statement->fors.body = parse_loop_body(statement);
assert(scope == &statement->fors.scope);