Added a small check in expression parser

There was a bug where expression like: "int == 10" was parsed properly
but "int" was treated like a variable (the compiler didn't know it
wasn't one) causing crash.