mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 16:29:55 +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;
|
||||
else
|
||||
{
|
||||
special = S_cmpEQ;
|
||||
putback (c);
|
||||
return false;
|
||||
// return false;
|
||||
// Allow = as synonym for ==. \todo optionally disable for post-1.0 scripting improvements.
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue