Actually show the error message from an Error token (#208)

This commit is contained in:
Jelte Fennema
2018-01-18 23:03:34 +01:00
committed by Thomas Pelletier
parent a1b12e18b7
commit 03c6bf4172
+1 -1
View File
@@ -347,7 +347,7 @@ Loop:
}
p.getToken()
default:
p.raiseError(follow, "unexpected token type in inline table: %s", follow.typ.String())
p.raiseError(follow, "unexpected token type in inline table: %s", follow.String())
}
previous = follow
}