Fix lexOp() for != operator
Check for '\0' before using strchr() in lex* functions