changeset 92:d03022acea47

don't allow "%>" in output statement string git-svn-id: https://luan-java.googlecode.com/svn/trunk@93 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Thu, 07 Mar 2013 23:09:01 +0000
parents 1f8b6edc2b08
children 2079455459ac
files src/luan/interp/LuanParser.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
diff -r 1f8b6edc2b08 -r d03022acea47 src/luan/interp/LuanParser.java
--- a/src/luan/interp/LuanParser.java	Thu Mar 07 22:52:53 2013 +0000
+++ b/src/luan/interp/LuanParser.java	Thu Mar 07 23:09:01 2013 +0000
@@ -251,6 +251,7 @@
 					Sequence(
 						OneOrMore(
 							TestNot("<%"),
+							TestNot("%>"),
 							ANY
 						),
 						addToExpList(builder.get(),new ConstExpr(match()))