Added some syntax errors and made warnings be errors again; also made eatWhiteSpace return an int