Revert "Removed an error that should not be present in the parser"

This reverts commit b11b2bf090dd058f9b91eb9d9750f61367b74fd4.