We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent faf196c commit 99eda42Copy full SHA for 99eda42
lib/cgraph/scan.l
@@ -225,6 +225,7 @@ ID ({NAME}|{NUMBER})
225
<hstring>([^><\n]*) addstr(yytext);
226
. return (yytext[0]);
227
%%
228
+
229
void yyerror(char *str)
230
{
231
unsigned char xbuf[BUFSIZ];
@@ -273,7 +274,7 @@ void yyerror(char *str)
273
274
break;
275
}
276
agxbputc (&xb, '\n');
- agerr(AGERR,agxbuse(&xb));
277
+ agerr(AGERR, "%s", agxbuse(&xb));
278
agxbfree(&xb);
279
280
/* must be here to see flex's macro defns */
0 commit comments