X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/6b7022680ea084a5d63e73614e40647f2d0dcce9..927b425baae16fc1d50e092b78b944e281b521f6:/src/parse-gram.y diff --git a/src/parse-gram.y b/src/parse-gram.y index 68789828..11cd489e 100644 --- a/src/parse-gram.y +++ b/src/parse-gram.y @@ -287,7 +287,7 @@ grammar_declaration: { symbol_list *list; for (list = $2; list; list = list->next) - symbol_printer_set (list->sym, $1, list->location); + symbol_printer_set (list->sym, $1, @1); symbol_list_free ($2); } | "%default-prec"