Actually show the error message from an Error token (#208)
This commit is contained in:
committed by
Thomas Pelletier
parent
a1b12e18b7
commit
03c6bf4172
@@ -347,7 +347,7 @@ Loop:
|
|||||||
}
|
}
|
||||||
p.getToken()
|
p.getToken()
|
||||||
default:
|
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
|
previous = follow
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user