Mercurial Hosting > luan
diff core/src/luan/impl/LuanParser.java @ 773:47add8eeb513
fix parse bug
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 23 Aug 2016 20:02:50 -0600 |
parents | 98df1c19ed7d |
children |
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 );