summaryrefslogtreecommitdiff
path: root/cparser/pre_parser.mly
diff options
context:
space:
mode:
authorGravatar jjourdan <jjourdan@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2014-05-23 07:44:28 +0000
committerGravatar jjourdan <jjourdan@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2014-05-23 07:44:28 +0000
commit285d908c5dbd90bff7f03618c7a9e0fa5e287c94 (patch)
tree16dfbc3fefa67782a0d1f1c2588415a3e88458bf /cparser/pre_parser.mly
parent2525ef0cf03eb06f1d48115b9fe9dab2620511df (diff)
Empty declarations
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2502 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
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: