Throw an error if calling parser recursively