mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
(Location Default Action): Mention that n must be zero when k is zero.
This commit is contained in:
@@ -3479,7 +3479,7 @@ By default, @code{YYLLOC_DEFAULT} is defined this way:
|
||||
|
||||
where @code{YYRHSLOC (rhs, k)} is the location of the @var{k}th symbol
|
||||
in @var{rhs} when @var{k} is positive, and the location of the symbol
|
||||
just before the reduction when @var{k} is zero.
|
||||
just before the reduction when @var{k} and @var{n} are both zero.
|
||||
|
||||
When defining @code{YYLLOC_DEFAULT}, you should consider that:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user