LSL-PyOptimizer/lslopt
Sei Lisa 76f483fc11 Add scope field to {} nodes
Since we need to add variables, we need to know which scope to add them to. Add this information to the {} node, which is what creates a new scope.

An alternative would be to scan for any variable or label declaration within the braces and use that or create a new one if none, which is more expensive and may waste symbol tables.
2018-12-29 21:10:14 +01:00
..
__init__.py Initial commit. Status so far: 2014-07-26 02:43:44 +02:00
lslbasefuncs.py Refine the denormal check for Mono 2018-05-09 19:04:09 +02:00
lslcommon.py Remove commented-out print_node function (superseded by nr.__str__) 2018-06-07 02:14:15 +02:00
lsldeadcode.py Get rid of DoesSomething() in favour of SEF 2018-05-17 09:08:48 +02:00
lslextrafuncs.py Bump copyright year 2018-03-23 16:36:45 +01:00
lslfoldconst.py Add scope field to {} nodes 2018-12-29 21:10:14 +01:00
lslfuncopt.py Reorganize the checks, and eliminate the fn call check 2018-12-22 10:27:37 +01:00
lslfuncs.py Bump copyright year 2018-03-23 16:36:45 +01:00
lsljson.py Bump copyright year 2018-03-23 16:36:45 +01:00
lsllastpass.py Add scope field to {} nodes 2018-12-29 21:10:14 +01:00
lslloadlib.py Add 'listto' to fndata.txt; remove more magic names from the code 2018-12-22 15:44:14 +01:00
lsloptimizer.py Change the AST node type from dict to object 2018-04-01 02:14:00 +02:00
lsloutput.py Add spaces after commas in vector/rotation constructors 2018-12-27 23:35:23 +01:00
lslparse.py Add scope field to {} nodes 2018-12-29 21:10:14 +01:00
lslrenamer.py Change the AST node type from dict to object 2018-04-01 02:14:00 +02:00