The parsing of statements between braces fails if there is no space between the
opening brace and the content or no space between the closing brace and the
content. In the former case, if a conditional statement follows immediately,
the substitution on its expression is not performed in preprocessing step 1. In
the latter case, the last character of the content is cut off when run_script()
calls itself recursively.
The original run_script() implementation would treat consecutive opening braces
as a single brace, which makes no sense. I changed it to process one opening
brace at a time.
Original issue reported on code.google.com by mthuu...@gmail.com on 27 Jan 2012 at 7:36
Original issue reported on code.google.com by
mthuu...@gmail.com
on 27 Jan 2012 at 7:36Attachments: