changeset 137:573ce091ae00

minor parser fix git-svn-id: https://luan-java.googlecode.com/svn/trunk@138 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Thu, 12 Jun 2014 03:54:52 +0000
parents 7e160d2f6d9c
children 06159094b802
files src/luan/interp/LuanParser.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
diff -r 7e160d2f6d9c -r 573ce091ae00 src/luan/interp/LuanParser.java
--- a/src/luan/interp/LuanParser.java	Wed Jun 11 09:33:02 2014 +0000
+++ b/src/luan/interp/LuanParser.java	Thu Jun 12 03:54:52 2014 +0000
@@ -776,6 +776,7 @@
 		if( exp==null )
 			exp = NameExpr(in);
 		if( exp!=null && parser.match('=') ) {
+			Spaces(in);
 			fields.add( new TableExpr.Field( exp, required(expr(Expr(in))) ) );
 			return parser.success();
 		}