Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Kucera2009-02-03 11:57:50 -0500
committerMike Kucera2009-02-03 11:57:50 -0500
commit75756374e344fd22c97f31308a3ec977c474b3ac (patch)
treecc96f2a4361e5b695519481b42c5b932720ff507 /lrparser/org.eclipse.cdt.core.lrparser/grammar/gcc/GCCParser.g
parentbd7f096c7c4469c98cea8692325267b63e269d43 (diff)
downloadorg.eclipse.cdt-75756374e344fd22c97f31308a3ec977c474b3ac.tar.gz
org.eclipse.cdt-75756374e344fd22c97f31308a3ec977c474b3ac.tar.xz
org.eclipse.cdt-75756374e344fd22c97f31308a3ec977c474b3ac.zip
improved several interfaces in LR parser
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.g4
1 files changed, 4 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 b93fb6a77c..1ae760dd6d 100644
--- a/lrparser/org.eclipse.cdt.core.lrparser/grammar/gcc/GCCParser.g
+++ b/lrparser/org.eclipse.cdt.core.lrparser/grammar/gcc/GCCParser.g
@@ -21,6 +21,10 @@ $Import
GCCGrammar.g
$End
+$Define
+ $ast_class /. IASTTranslationUnit ./
+$End
+
$Start
translation_unit
$End \ No newline at end of file

Back to the top