From: Martin Mares Date: Fri, 9 Jul 2010 18:47:48 +0000 (+0200) Subject: Config parser: added one forgotten WS X-Git-Tag: python-dummy-working~47 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=d9f8d05df79821e273855a1a548de244a67508ee;p=moe.git Config parser: added one forgotten WS --- diff --git a/t/moe/confparser.py b/t/moe/confparser.py index fed00ea..c6c5508 100644 --- a/t/moe/confparser.py +++ b/t/moe/confparser.py @@ -27,7 +27,7 @@ COMMENT = re('#[^\\n]*\\n') STATEMENT = CONDITION | OPERATION | SUBTREE OPERATION = WS VARNAME WS ( '=' | '+=' ) WS EXPRESSION -SUBTREE = WS VARNAME WS '{' BLOCK '}' +SUBTREE = WS VARNAME WS '{' BLOCK WS '}' CONDITION = WS 'if' FORMULA WS '{' BLOCK WS '}' FORMULA = WS (( EXPRESSION WS ( '!=' | '==' ) WS EXPRESSION ) | '(' AND WS ')' | '(' OR WS ')' | NOT )