changeset 449:e89bf64a0d05

fix parse error
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 04 May 2015 20:36:30 -0600
parents 8b2db645b9b2
children 4b8281c5c5af
files core/src/luan/impl/LuanParser.java
diffstat 1 files changed, 2 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/core/src/luan/impl/LuanParser.java	Mon May 04 20:05:38 2015 -0600
+++ b/core/src/luan/impl/LuanParser.java	Mon May 04 20:36:30 2015 -0600
@@ -535,13 +535,7 @@
 	}
 
 	private Expressions ExprZ(In in) throws ParseException {
-		parser.begin();
-		Expressions exp;
-		return (exp = VarArgs(in)) != null
-			|| (exp = OrExpr(in)) != null
-			? parser.success(exp)
-			: parser.failure((Expressions)null)
-		;
+		return OrExpr(in);
 	}
 
 	private Expressions OrExpr(In in) throws ParseException {
@@ -713,19 +707,12 @@
 		exp = FunctionExpr(in);
 		if( exp != null )
 			return parser.success(exp);
-/*
-		exp = TableExpr(in);
-		if( exp != null )
-			return parser.success(exp);
-*/
 		exp = VarExp(in);
 		if( exp != null )
 			return parser.success(exp);
-/*
-		exp = Literal(in);
+		exp = VarArgs(in);
 		if( exp != null )
 			return parser.success(exp);
-*/
 		return parser.failure(null);
 	}