* m2-exp.y: Avoid using yytname[] which is a Bison-ism.
#define yyact c_act
#define yyexca c_exca
+/* Forward decls */
void yyerror ();
static int parse_number ();
+int yyparse ();
/* #define YYDEBUG 1 */
#define yyact m2_act
#define yyexca m2_exca
+/* Forward decl's */
void yyerror ();
static int yylex ();
+int yyparse ();
/* The sign of the number being parsed. */
int number_sign = 1;
if (yychar < 256)
error("Invalid syntax in expression near character '%c'.",yychar);
else
- error("Invalid syntax in expression near a '%s'.",
- yytname[yychar-255]);
+ error("Invalid syntax in expression");
}
\f
/* Table of operators and their precedences for printing expressions. */