From 181433391b1ea19caf999f91b14a50f0499b831e Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Thu, 30 Jan 2014 09:11:36 -0500 Subject: [PATCH] Make syntax errors hard --- lib/cgraph/scan.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cgraph/scan.l b/lib/cgraph/scan.l index 5bb30b746..87db5d4b3 100644 --- a/lib/cgraph/scan.l +++ b/lib/cgraph/scan.l @@ -225,7 +225,7 @@ void yyerror(char *str) agxbput (&xb, buf); agxbput (&xb, yytext); agxbput (&xb,"'\n"); - agerr(AGWARN,agxbuse(&xb)); + agerr(AGERR,agxbuse(&xb)); agxbfree(&xb); } /* must be here to see flex's macro defns */ -- 2.40.0