GNU Info

Info Node: (bison.info)Location Type

(bison.info)Location Type


Next: Actions and Locations Up: Locations
Enter node , (file) or (file)node

Data Type of Locations
----------------------

   Defining a data type for locations is much simpler than for semantic
values, since all tokens and groupings always use the same type.

   The type of locations is specified by defining a macro called
`YYLTYPE'.  When `YYLTYPE' is not defined, Bison uses a default
structure type with four members:

     struct
     {
       int first_line;
       int first_column;
       int last_line;
       int last_column;
     }


automatically generated by info2www version 1.2.2.9