Mercurial Hosting > luan
changeset 148:dfd0f33b584e
minor parser fix
git-svn-id: https://luan-java.googlecode.com/svn/trunk@149 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Mon, 16 Jun 2014 04:29:33 +0000 |
parents | cc3a0578edac |
children | f99fd64291b3 |
files | src/luan/interp/LuanParser.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/luan/interp/LuanParser.java Sun Jun 15 15:41:36 2014 +0000 +++ b/src/luan/interp/LuanParser.java Mon Jun 16 04:29:33 2014 +0000 @@ -768,6 +768,7 @@ List<TableExpr.Field> fields = new ArrayList<TableExpr.Field>(); ExpList.Builder builder = new ExpList.Builder(); while( Field(fields,builder,in) && FieldSep(inParens) ); + Spaces(inParens); if( !parser.match('}') ) throw parser.exception("Expected table element or '}'"); return parser.success( new TableExpr( se(start), fields.toArray(new TableExpr.Field[0]), builder.build() ) );