Add FoldCond as a stub. Change cond constant to -1. Add support for EXPR.

(EXPR as a statement, not as a general 'expression')
This commit is contained in:
Sei Lisa 2014-08-03 20:06:50 +02:00
parent 67f3061e19
commit 17e94a0d0f
3 changed files with 31 additions and 10 deletions

View file

@ -1336,7 +1336,7 @@ class parser(object):
value = self.Parse_expression()
self.expect(';')
self.NextToken()
return value
return {'nt':'EXPR', 't':value['t'], 'ch':[value]}
def Parse_code_block(self, ReturnType, AllowStSw = False):
"""Grammar parsed here: