Fix bug in token display
This commit is contained in:
parent
4cda805dc4
commit
97c4e48ce5
|
@ -192,7 +192,7 @@ else
|
||||||
foreach (token; tokens)
|
foreach (token; tokens)
|
||||||
{
|
{
|
||||||
writefln("<<%20s>>%b\t%d\t%d\t%d\t%d\t%s", token.text is null
|
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);
|
token.line, token.column, token.type, token.comment);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue