diff options
Diffstat (limited to 'c_compiler/src/c_parser.y')
-rw-r--r-- | c_compiler/src/c_parser.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c_compiler/src/c_parser.y b/c_compiler/src/c_parser.y index 2864907..4a78ec5 100644 --- a/c_compiler/src/c_parser.y +++ b/c_compiler/src/c_parser.y @@ -73,14 +73,14 @@ void yyerror(const char *); %% ROOT: - TranslationUnit { g_root = $1; } + TranslationUnit { g_root = $1; } ; // EXTERNAL DEFINITION TranslationUnit: ExternalDeclaration { $$ = new TranslationUnit($1); } -| TranslationUnit ExternalDeclaration { $$->push($2); } + | TranslationUnit ExternalDeclaration { $$->push($2); } ; ExternalDeclaration: |