This commit is contained in:
Dale Weiler 2013-02-02 01:04:26 +00:00
parent 319783e873
commit 7b96b0bd6d

View file

@ -1485,6 +1485,6 @@ int lex_do(lex_file *lex)
return (lex->tok.ttype = ch);
}
lexerror(lex, "unknown token: `%d`", lex->tok.value);
lexerror(lex, "unknown token: `%s`", lex->tok.value);
return (lex->tok.ttype = TOKEN_ERROR);
}