Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Kucera2009-01-13 17:51:48 -0500
committerMike Kucera2009-01-13 17:51:48 -0500
commit27e180373fd2e18760df56016d9113e4f9158ae0 (patch)
treeb0b3cfe25234c150b03c32f42388255da0c4bb5b /lrparser/org.eclipse.cdt.core.lrparser/grammar/gcc/GCCParser.g
parentabbbe44a249c1780fe474c69c37c38535bd915b7 (diff)
downloadorg.eclipse.cdt-27e180373fd2e18760df56016d9113e4f9158ae0.tar.gz
org.eclipse.cdt-27e180373fd2e18760df56016d9113e4f9158ae0.tar.xz
org.eclipse.cdt-27e180373fd2e18760df56016d9113e4f9158ae0.zip
fix for bug 226121 for LR parsers, support for asm labels
Diffstat (limited to 'lrparser/org.eclipse.cdt.core.lrparser/grammar/gcc/GCCParser.g')
-rw-r--r--lrparser/org.eclipse.cdt.core.lrparser/grammar/gcc/GCCParser.g7
1 files changed, 7 insertions, 0 deletions
diff --git a/lrparser/org.eclipse.cdt.core.lrparser/grammar/gcc/GCCParser.g b/lrparser/org.eclipse.cdt.core.lrparser/grammar/gcc/GCCParser.g
index 1c9da0f3cd..0ee401193c 100644
--- a/lrparser/org.eclipse.cdt.core.lrparser/grammar/gcc/GCCParser.g
+++ b/lrparser/org.eclipse.cdt.core.lrparser/grammar/gcc/GCCParser.g
@@ -25,6 +25,13 @@ $Import
$End
+-- Tokens used by GCC but not part of the C99 spec
+$Terminals
+
+ asm
+
+$End
+
-- Hook the extensions into the main grammar.
$Rules

Back to the top