projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cf534f
)
fix cp_error032
author
Matthias Braun
<matze@braunis.de>
Sat, 31 May 2008 09:02:25 +0000
(09:02 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sat, 31 May 2008 09:02:25 +0000
(09:02 +0000)
[r19879]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
3ca86ca
..
4ad4f96
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-3976,18
+3976,18
@@
static void parser_error_multiple_definition(declaration_t *declaration,
}
static bool is_declaration_specifier(const token_t *token,
- bool only_
type_spec
ifiers)
+ bool only_
specifiers_qual
ifiers)
{
switch(token->type) {
TYPE_SPECIFIERS
+ TYPE_QUALIFIERS
return true;
case T_IDENTIFIER:
return is_typedef_symbol(token->v.symbol);
case T___extension__:
STORAGE_CLASSES
- TYPE_QUALIFIERS
- return !only_type_specifiers;
+ return !only_specifiers_qualifiers;
default:
return false;