added support for a few more syntax errors and started a case statement for looking them up.  This is only temporary, we should start thinking about a better lookup algorithm