Close token printed as empty string

This commit is contained in:
Paul Chiusano 2018-11-11 15:11:11 -05:00
parent a58032976a
commit 7089364803

View File

@ -74,6 +74,7 @@ instance ShowToken (Token Lexeme) where
pretty (Numeric n) = n
pretty (Hash h) = show h
pretty (Err e) = show e
pretty Close = ""
pretty t = show t
pad (Pos line1 col1) (Pos line2 col2) =
if line1 == line2