GNU Info

Info Node: (bison.info)Locations

(bison.info)Locations


Next: Declarations Prev: Semantics Up: Grammar File
Enter node , (file) or (file)node

Tracking Locations
==================

   Though grammar rules and semantic actions are enough to write a fully
functional parser, it can be useful to process some additionnal
informations, especially symbol locations.

   The way locations are handled is defined by providing a data type,
and actions to take when rules are matched.

Location Type
Specifying a data type for locations.
Actions and Locations
Using locations in actions.
Location Default Action
Defining a general way to compute locations.

automatically generated by info2www version 1.2.2.9