cc: fix %.*s format usage in lexer "token too long" error
This commit is contained in:
parent
ac3e3c342f
commit
5d58b9573c
1 changed files with 1 additions and 1 deletions
|
@ -937,7 +937,7 @@ caseout:
|
|||
return LDCONST;
|
||||
|
||||
toolong:
|
||||
yyerror("token too long: %.*s...", (int)(cp-symb), symb);
|
||||
yyerror("token too long: %.*s...", utfnlen(symb, cp-symb), symb);
|
||||
errorexit();
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue