mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
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:
parent
67f3061e19
commit
17e94a0d0f
3 changed files with 31 additions and 10 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue