LSL-PyOptimizer/lslopt
Sei Lisa bf72d2c3bf Allow //pragma inline or /*pragma inline*/ for inlining a function
They are transformed by the scanner to the identifier `inline`, which is how the parser identifies it. This solves the comment problem, but it results in a funny side effect. Now, in inline mode, /*pragma inline*/ will always be the identifier `inline`, therefore this is valid:

    integer /*pragma inline*/ = 5;
    llOwnerSay((string)inline); // will say 5

Not overly elegant, but better than making up a specific token or declaring comments as tokens or the like.
2021-10-17 20:29:22 +02:00
..
__init__.py Initial commit. Status so far: 2014-07-26 02:43:44 +02:00
lslbasefuncs.py Simplify comparisons for most cases in llChar 2021-05-19 22:49:14 +02:00
lslcommon.py Update copyright year 2021-01-05 23:27:21 +01:00
lsldeadcode.py Update copyright year 2021-01-05 23:27:21 +01:00
lslextrafuncs.py Update copyright year 2021-01-05 23:27:21 +01:00
lslfoldconst.py Update copyright year 2021-01-05 23:27:21 +01:00
lslfuncopt.py Add PRIM_PROJECTOR, add PRIM_TYPE_LEGACY, minor cleanups 2021-10-17 19:08:21 +02:00
lslfuncs.py Update copyright year 2021-01-05 23:27:21 +01:00
lslinliner.py Update copyright year 2021-01-05 23:27:21 +01:00
lsljson.py Update copyright year 2021-01-05 23:27:21 +01:00
lsllastpass.py Update copyright year 2021-01-05 23:27:21 +01:00
lslloadlib.py Update copyright year 2021-01-05 23:27:21 +01:00
lsloptimizer.py Update copyright year 2021-01-05 23:27:21 +01:00
lsloutput.py Update copyright year 2021-01-05 23:27:21 +01:00
lslparse.py Allow //pragma inline or /*pragma inline*/ for inlining a function 2021-10-17 20:29:22 +02:00
lslrenamer.py Add Pop to the list of idents that GetNextShortest can't generate 2021-01-05 23:27:49 +01:00