better compilation error message
convert all syntax errors to use the new error mechanism