possible error fix

Changed the parser generator so that it only checks the first element of
a table to see if a new table needs to be made