aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/src/c_parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'c_compiler/src/c_parser.y')
-rw-r--r--c_compiler/src/c_parser.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/c_compiler/src/c_parser.y b/c_compiler/src/c_parser.y
index e87f8f7..ea21879 100644
--- a/c_compiler/src/c_parser.y
+++ b/c_compiler/src/c_parser.y
@@ -100,7 +100,8 @@ FunctionDefinition:
DeclarationSpec T_IDENTIFIER T_LRB ParameterList T_RRB CompoundStatement { $$ = new Function(*$2, $4, $6); delete $2; }
;
-ParameterList:% empty { $$ = new Declaration(); }
+ParameterList:
+ %empty { $$ = new Declaration(); }
| Parameter { $$ = $1; }
| ParameterList T_CMA Parameter { $3->linkDeclaration($$); $$ = $3;}
;