Parser generators need some mechanism for overriding the parser's location, as in [cpp's #line macro](http://gcc.gnu.org/onlinedocs/cpp/Line-Control.html#Line-Control).