Fix bug in token display

This commit is contained in:
Hackerpilot 2016-05-04 03:24:11 -07:00
parent 4cda805dc4
commit 97c4e48ce5
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ else
foreach (token; tokens)
{
writefln("<<%20s>>%b\t%d\t%d\t%d\t%d\t%s", token.text is null
? str(token.type) : token.text, token.text !is null, token.index,
? str(token.type) : token.text, token.text is null, token.index,
token.line, token.column, token.type, token.comment);
}
return 0;