diff options
author | Mike Mazur | 2009-06-07 10:22:55 +0000 |
---|---|---|
committer | Mike Mazur | 2009-06-07 10:22:55 +0000 |
commit | cda6b2466868cc74367da1b17d676f7168b84f6d (patch) | |
tree | f7dd014e4a9544fcf76687fb537163344cef8a3f /OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.lexer.cs | |
parent | Allow empty assignment in for-loop (diff) | |
download | opensim-SC_OLD-cda6b2466868cc74367da1b17d676f7168b84f6d.zip opensim-SC_OLD-cda6b2466868cc74367da1b17d676f7168b84f6d.tar.gz opensim-SC_OLD-cda6b2466868cc74367da1b17d676f7168b84f6d.tar.bz2 opensim-SC_OLD-cda6b2466868cc74367da1b17d676f7168b84f6d.tar.xz |
Skip lone ident statments or for-loop assignments
SL's LSL supports lone idents:
integer x;
x;
as well as lone idents in for-loop assignments:
for (x; x < 10; x++) { ... }
while those are errors in C# (MONO at least). This patch skips lone
idents in such places.
Fixes Mantis #3042.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.lexer.cs')
0 files changed, 0 insertions, 0 deletions