if (*tok != SYMBOL)
{
- error(syntax_error);
+// error(syntax_error);
+ error("syntax error; expected symbol");
return ERROR;
}
// Check we are dealing with a symbol
if (*tok != SYMBOL)
{
- error(syntax_error);
+// error(syntax_error);
+ error("syntax error; expected symbol");
return ERROR;
}
if (*tok != STRING)
{
- error(syntax_error);
+// error(syntax_error);
+ error("syntax error; string missing");
return ERROR;
}