X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/dda680cb8069f3e383cbc3c140ea59f35bd2c75c..4134cae3c5ff2fc3346ebc5b10d5c25c72c72cfe:/src/reader.c diff --git a/src/reader.c b/src/reader.c index feaa3b67..49e5158e 100644 --- a/src/reader.c +++ b/src/reader.c @@ -1201,7 +1201,8 @@ copy_guard (symbol_list *rule, int stack_offset) obstack_fgrow1 (&guard_obstack, "\ncase %d:\n", nrules); if (!no_lines_flag) obstack_fgrow2 (&guard_obstack, "#line %d %s\n", - lineno, quotearg_style (c_quoting_style, infile)); + lineno, quotearg_style (c_quoting_style, + macro_find ("filename"))); obstack_1grow (&guard_obstack, '{'); count = 0;