Skip to content

Commit

Permalink
Fix =/ error message, thanks to Adam Roach - adam at nostrum.com
Browse files Browse the repository at this point in the history
  • Loading branch information
fenner committed Sep 24, 2007
1 parent c2f85fc commit 54257ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include "common.h"

static const char rcsid[] =
"$Fenner: abnf-parser/parser.y,v 1.21 2006/12/07 22:37:52 fenner Exp $";
"$Fenner: abnf-parser/parser.y,v 1.22 2006/12/14 05:02:15 fenner Exp $";

extern int yylineno, yycolumn;

Expand Down Expand Up @@ -108,7 +108,7 @@ rule: recover RULENAME { defline = yylineno; } definedas rulerest {

if ($4 == 0 || r->name == NULL || r->rule == NULL) { /* = */
if ($4) {
mywarn(MYERROR, "Rule %s does not yet exist; treating /= as =", $2);
mywarn(MYERROR, "Rule %s does not yet exist; treating =/ as =", $2);
}
if (r->name && strcmp(r->name, $2))
if (r->rule)
Expand Down

0 comments on commit 54257ca

Please sign in to comment.