Improve error-reporting in parser

God, this lex/yacc shit is getting really messy.
Fix pattern matching on string values by declaring equality for string values