summaryrefslogtreecommitdiff
path: root/cparser
diff options
context:
space:
mode:
Diffstat (limited to 'cparser')
-rw-r--r--cparser/pre_parser.mly8
1 files changed, 4 insertions, 4 deletions
diff --git a/cparser/pre_parser.mly b/cparser/pre_parser.mly
index 1998248..117d20d 100644
--- a/cparser/pre_parser.mly
+++ b/cparser/pre_parser.mly
@@ -659,10 +659,10 @@ function_definition_begin:
}
identifier_list:
-| id = general_identifier
- { set_id_type id VarId; [id] }
-| idl = identifier_list COMMA id = general_identifier
- { set_id_type id VarId; id :: idl }
+| id = VAR_NAME
+ { [id] }
+| idl = identifier_list COMMA id = VAR_NAME
+ { id :: idl }
declaration_list:
| /*empty*/