mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-20 02:11:32 +00:00
Issue #305: Allow the use of = as a synonym for ==
This commit is contained in:
parent
42e44ac1b5
commit
6ec2a2091c
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue