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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user