From 8c40c20aae2b443541fb87251a0d11c7ea9b94bd Mon Sep 17 00:00:00 2001 From: Nicolas Cannasse Date: Tue, 15 Jun 2010 10:57:49 +0000 Subject: [PATCH] allow last comma before anonymous object end --- hscript/Parser.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hscript/Parser.hx b/hscript/Parser.hx index a67373a..9b521ea 100644 --- a/hscript/Parser.hx +++ b/hscript/Parser.hx @@ -154,6 +154,8 @@ class Parser { default: unexpected(tk); } + case TBrClose: + break; default: unexpected(tk); }