improved error message for unknown constants
changed location_error/_warning to take a YYLTYPE instead of two ints
the error functions now write a newline on their own, so they don't have to be included into the error message itself