mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 23:21:20 -04:00
Issue #305: Allow the use of = as a synonym for ==
This commit is contained in:
parent
42e44ac1b5
commit
6ec2a2091c
@ -368,8 +368,10 @@ namespace Compiler
|
|||||||
special = S_cmpEQ;
|
special = S_cmpEQ;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
special = S_cmpEQ;
|
||||||
putback (c);
|
putback (c);
|
||||||
return false;
|
// return false;
|
||||||
|
// Allow = as synonym for ==. \todo optionally disable for post-1.0 scripting improvements.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user