summaryrefslogtreecommitdiff
path: root/cparser/pre_parser.mly
diff options
context:
space:
mode:
Diffstat (limited to 'cparser/pre_parser.mly')
-rw-r--r--cparser/pre_parser.mly2
1 files changed, 2 insertions, 0 deletions
diff --git a/cparser/pre_parser.mly b/cparser/pre_parser.mly
index e53ccba..4755518 100644
--- a/cparser/pre_parser.mly
+++ b/cparser/pre_parser.mly
@@ -629,6 +629,8 @@ translation_unit_file:
translation_unit:
| external_declaration
| translation_unit external_declaration
+| translation_unit SEMICOLON
+| SEMICOLON
{}
external_declaration: