From 97c4e48ce51f8441093535e15d3762f7c340d523 Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Wed, 4 May 2016 03:24:11 -0700 Subject: [PATCH] Fix bug in token display --- src/main.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.d b/src/main.d index 60adad9..756f8fc 100644 --- a/src/main.d +++ b/src/main.d @@ -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;