Usermode/libspiderscript - Fixing a multitude of bugs
[tpg/acess2.git] / Usermode / Libraries / libspiderscript.so_src / lex.c
index 2d16bcf..b659e34 100644 (file)
@@ -274,6 +274,11 @@ int GetToken(tParser *File)
        
        // Logical NOT
        case '!':
+               if( *File->CurPos == '=' ) {
+                       File->CurPos ++;
+                       ret = TOK_NOTEQUALS;
+                       break;
+               }
                ret = TOK_LOGICNOT;
                break;
        // Bitwise NOT

UCC git Repository :: git.ucc.asn.au