forked from mirror/openmw-tes3mp
parent
1956602aa2
commit
e095817ac2
1 changed files with 5 additions and 0 deletions
|
@ -408,6 +408,11 @@ namespace Compiler
|
||||||
special = S_cmpEQ;
|
special = S_cmpEQ;
|
||||||
else if (c=='=')
|
else if (c=='=')
|
||||||
special = S_cmpEQ;
|
special = S_cmpEQ;
|
||||||
|
else if (c == '>' || c == '<') // Treat => and =< as ==
|
||||||
|
{
|
||||||
|
special = S_cmpEQ;
|
||||||
|
mErrorHandler.warning (std::string("invalid operator =") + c + ", treating it as ==", mLoc);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
special = S_cmpEQ;
|
special = S_cmpEQ;
|
||||||
|
|
Loading…
Reference in a new issue