allow <== and >== as alternative for <= and >= in scripts

actorid
Marc Zinnschlag 12 years ago
parent 6f0ccb6e38
commit 63407a662c

@ -428,7 +428,12 @@ namespace Compiler
if (get (c))
{
if (c=='=')
{
special = S_cmpLE;
if (get (c) && c!='=') // <== is a allowed as an alternative to <= :(
putback (c);
}
else
{
putback (c);
@ -443,7 +448,12 @@ namespace Compiler
if (get (c))
{
if (c=='=')
{
special = S_cmpGE;
if (get (c) && c!='=') // >== is a allowed as an alternative to >= :(
putback (c);
}
else
{
putback (c);

Loading…
Cancel
Save