changeset 773:47add8eeb513

fix parse bug
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 23 Aug 2016 20:02:50 -0600
parents bffbef96ca6d
children 3e30cf310e56
files core/src/luan/impl/LuanParser.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/src/luan/impl/LuanParser.java	Tue Aug 23 00:23:36 2016 -0600
+++ b/core/src/luan/impl/LuanParser.java	Tue Aug 23 20:02:50 2016 -0600
@@ -775,7 +775,7 @@
 			return parser.failure(null);
 		while( Keyword("or") ) {
 			exp = exp.single();
-			Expr exp2 = required(RelExpr(in)).single();
+			Expr exp2 = required(AndExpr(in)).single();
 			Expr newExp = new Expr(Val.SINGLE,true);
 			newExp.add( "(LuanImpl.cnd(t = " );
 			newExp.addAll( exp );