//
int at_eol(void)
{
+ char msg[256];
+
if (*tok != EOL)
- error("syntax error");
+ {
+ sprintf(msg, "syntax error. expected EOL, found $%X ('%c')", *tok, *tok);
+ error(msg);
+ }
return 0;
}
//
-// Cannot Create a File
+// Cannot create a file
//
void cantcreat(const char * fn)
{
//
-// Setup for Error Message
+// Setup for error message
// o Create error listing file (if necessary)
// o Set current filename
//
//
-// Display Error Message
+// Display error message
//
int error(const char * s)
{