Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Kucera2009-01-15 11:47:58 -0500
committerMike Kucera2009-01-15 11:47:58 -0500
commit7f0debb02ee3ae69906cf16cd82217d67a01757a (patch)
treec71ebe7c7479865574f59fc82a26fbc1392cc763 /lrparser/org.eclipse.cdt.core.lrparser/grammar/gcc/GCCParser.g
parentd52e5c0f1cec1270e4ac69af36727b506b6f209c (diff)
downloadorg.eclipse.cdt-7f0debb02ee3ae69906cf16cd82217d67a01757a.tar.gz
org.eclipse.cdt-7f0debb02ee3ae69906cf16cd82217d67a01757a.tar.xz
org.eclipse.cdt-7f0debb02ee3ae69906cf16cd82217d67a01757a.zip
added ability to "mix-in" grammar extensions and actions, support for extended gnu asm syntax
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.g9
1 files changed, 8 insertions, 1 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 0ee401193c..c528dc7505 100644
--- a/lrparser/org.eclipse.cdt.core.lrparser/grammar/gcc/GCCParser.g
+++ b/lrparser/org.eclipse.cdt.core.lrparser/grammar/gcc/GCCParser.g
@@ -33,10 +33,17 @@ $Terminals
$End
--- Hook the extensions into the main grammar.
+
+
+
$Rules
+declaration
+ ::= extended_asm_declaration
+
+
+
no_type_declaration_specifier
::= attribute_or_decl_specifier

Back to the top