Fix parse.y bad handling of file names in some situations.

The YYLLOC_DEFAULT() macro needs to get the .text value even
when the rules are empty.