LSL-PyOptimizer/lslopt
Sei Lisa b04df456cb Output 1 instead of -1 on constant true conditions.
The rationale for using -1 was that it had all bits set, but that's a pretty weak argument, really. Lack of optimization of the sign could be worse, so we change it to 1, which is the value of the constant TRUE.

Also change the wording of a comment, for clarity.
2017-01-04 00:41:08 +01:00
..
__init__.py Initial commit. Status so far: 2014-07-26 02:43:44 +02:00
lslbasefuncs.py llXorBase64Strings and llModPow are not safe to precompute. 2016-12-25 05:25:24 +01:00
lslcommon.py Change how LSLCalc is handled. 2016-12-20 21:25:33 +01:00
lsldeadcode.py Fix problem due to not copying a node. It still needs more analysis, but this patch is an improvement in that it fixes known problematic cases and doesn't seem to introduce new ones. 2015-06-14 05:11:32 +02:00
lslextrafuncs.py Fix llGetAgentList function name in lslextrafuncs.py. 2016-12-25 01:01:28 +01:00
lslfoldconst.py Output 1 instead of -1 on constant true conditions. 2017-01-04 00:41:08 +01:00
lslfuncparams.py Fix type of parameter not being adjusted after optimizing parameter. 2016-12-21 05:44:32 +01:00
lslfuncs.py Add copyright notices to all files, to prepare the program for release. 2015-03-05 23:18:41 +01:00
lsljson.py Add copyright notices to all files, to prepare the program for release. 2015-03-05 23:18:41 +01:00
lsloptimizer.py Update copyright years of some files; add legalese to seftable.txt 2016-06-27 20:06:41 +02:00
lsloutput.py Fix Python gotcha with module globals, and missing 'cond' in lslextrafuncs. 2016-12-21 00:22:49 +01:00
lslparse.py Fix Python gotcha with module globals, and missing 'cond' in lslextrafuncs. 2016-12-21 00:22:49 +01:00
lslrenamer.py Document the internal behaviour of run_time_permissions under LSO 2015-12-11 02:28:51 +01:00