diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-07-01 13:42:43 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-07-01 13:42:43 +0300 |
commit | ed952894affe797b36b2b4d5d30cbbe9c3177a1d (patch) | |
tree | 154ce49cedd26a967fb89ac68df6d532bb9c5131 /src | |
parent | 23abfa7a31bf5dedd09cd0963da7dc4a291631eb (diff) | |
download | cflow-ed952894affe797b36b2b4d5d30cbbe9c3177a1d.tar.gz cflow-ed952894affe797b36b2b4d5d30cbbe9c3177a1d.tar.bz2 |
Bugfix.
* src/parser.c (parse_variable_declaration): Skip eventual modifiers
before the ident.
Diffstat (limited to 'src')
-rw-r--r-- | src/parser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser.c b/src/parser.c index c918b43..16ab289 100644 --- a/src/parser.c +++ b/src/parser.c @@ -519,6 +519,8 @@ parse_variable_declaration(Ident *ident, int parm) } putback(); skip_struct(); + while (tok.type == MODIFIER) + nexttoken(); if (tok.type == IDENTIFIER) { TOKSTK hold = tok; restore(sp); |