X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c932d6135ca3e508f7136810b9b0bf79725290b9..4c787a31df24b3bf184a4e109056a41d5712e5a7:/src/parse-gram.y diff --git a/src/parse-gram.y b/src/parse-gram.y index fc648ea1..5f46d293 100644 --- a/src/parse-gram.y +++ b/src/parse-gram.y @@ -686,7 +686,7 @@ lloc_default (YYLTYPE const *rhs, int n) loc.start = rhs[n].end; loc.end = rhs[n].end; - /* Ignore empty nonterminals the start of the the right-hand side. + /* Ignore empty nonterminals the start of the right-hand side. Do not bother to ignore them at the end of the right-hand side, since empty nonterminals have the same end as their predecessors. */ for (i = 1; i <= n; i++)