/[bison]/bison/doc/bison.texinfo
ViewVC logotype

Diff of /bison/doc/bison.texinfo

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.59 by akim, Thu May 2 15:06:46 2002 UTC revision 1.60 by akim, Thu May 2 16:40:54 2002 UTC
# Line 2886  By default, it is defined this way: Line 2886  By default, it is defined this way:
2886    
2887  @example  @example
2888  @group  @group
2889  #define YYLLOC_DEFAULT(Current, Rhs, N)         \  #define YYLLOC_DEFAULT(Current, Rhs, N)          \
2890    Current.last_line   = Rhs[N].last_line;       \    Current.first_line   = Rhs[1].first_line;      \
2891    Current.last_column = Rhs[N].last_column;    Current.first_column = Rhs[1].first_column;    \
2892      Current.last_line    = Rhs[N].last_line;       \
2893      Current.last_column  = Rhs[N].last_column;
2894  @end group  @end group
2895  @end example  @end example
2896    
# Line 2900  All arguments are free of side-effects. Line 2902  All arguments are free of side-effects.
2902  result) should be modified by @code{YYLLOC_DEFAULT}.  result) should be modified by @code{YYLLOC_DEFAULT}.
2903    
2904  @item  @item
2905  Before @code{YYLLOC_DEFAULT} is executed, the output parser sets @code{@@$}  For consistency with semantic actions, valid indexes for the location
2906  to @code{@@1}.  array range from 1 to @var{n}.
   
 @item  
 For consistency with semantic actions, valid indexes for the location array  
 range from 1 to @var{n}.  
2907  @end itemize  @end itemize
2908    
2909  @node Declarations  @node Declarations

Legend:
Removed from v.1.59  
changed lines
  Added in v.1.60

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26