summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsefftinge2008-02-28 06:12:48 (EST)
committer sefftinge2008-02-28 06:12:48 (EST)
commit18552d503669eeca0bf9f5ca780782a92e15ab74 (patch)
treef4a05a813918ec83f375962579b680d1e6934a82
parentd1ced9227ed14fe2e577f5e59689b4b844545add (diff)
downloadorg.eclipse.xpand-18552d503669eeca0bf9f5ca780782a92e15ab74.zip
org.eclipse.xpand-18552d503669eeca0bf9f5ca780782a92e15ab74.tar.gz
org.eclipse.xpand-18552d503669eeca0bf9f5ca780782a92e15ab74.tar.bz2
Added test_expression rule
-rw-r--r--plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/parser/Xpand3.g8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/parser/Xpand3.g b/plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/parser/Xpand3.g
index d2071a1..ab3b34c 100644
--- a/plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/parser/Xpand3.g
+++ b/plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/parser/Xpand3.g
@@ -172,8 +172,12 @@ r_javaType :
//
// Expressions
//
+
+test_expression:
+ r_expression EOF
+;
r_expression :
- r_letExpression
+ r_letExpression
;
r_letExpression :
@@ -271,7 +275,7 @@ r_featureCall :
;
r_listLiteral :
- '['(r_expression (',' r_expression)*)?']'
+ '{'(r_expression (',' r_expression)*)?'}'
;
r_constructorCall :