Mercurial Hosting > luan
diff core/src/luan/impl/LuanParser.java @ 708:77e0c859c8a3
fix luan_to_java and fix line numbers
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 18 May 2016 18:11:00 -0600 |
parents | 61b36d5895df |
children | 217b047afd93 |
line wrap: on
line diff
--- a/core/src/luan/impl/LuanParser.java Wed May 18 15:46:51 2016 -0600 +++ b/core/src/luan/impl/LuanParser.java Wed May 18 18:11:00 2016 -0600 @@ -395,7 +395,9 @@ while(true) { if( parser.match( "<%=" ) ) { Spaces(); - builder.add( RequiredExpr(inTemplate) ); + Expr exp = new Expr(Val.SINGLE,false); + exp.addAll( RequiredExpr(inTemplate) ); + builder.add(exp); RequiredMatch( "%>" ); } else if( parser.match( "<%" ) ) { Spaces();