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/c99/C99ExpressionParser.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/c99/C99ExpressionParser.g')
-rw-r--r--lrparser/org.eclipse.cdt.core.lrparser/grammar/c99/C99ExpressionParser.g6
1 files changed, 5 insertions, 1 deletions
diff --git a/lrparser/org.eclipse.cdt.core.lrparser/grammar/c99/C99ExpressionParser.g b/lrparser/org.eclipse.cdt.core.lrparser/grammar/c99/C99ExpressionParser.g
index 80919514f3..ba2ae8d25b 100644
--- a/lrparser/org.eclipse.cdt.core.lrparser/grammar/c99/C99ExpressionParser.g
+++ b/lrparser/org.eclipse.cdt.core.lrparser/grammar/c99/C99ExpressionParser.g
@@ -20,6 +20,10 @@ $Import
C99Grammar.g
$End
+$Define
+ $ast_class /. IASTExpression ./
+$End
+
$Start
expression_parser_start
$End
@@ -29,6 +33,6 @@ $Rules
expression_parser_start
::= expression
| ERROR_TOKEN
- /. $Build consumeExpressionProblem(); $EndBuild ./
+ /. $Build consumeEmpty(); $EndBuild ./
$End \ No newline at end of file

Back to the top