Next: Symbols Up: Grammar File
Outline of a Bison Grammar
A Bison grammar file has four main sections, shown here with the
ADDITIONAL C CODE
Comments enclosed in `/* ... */' may appear in any of the sections.
- C Declarations
- Syntax and usage of the C declarations section.
- Bison Declarations
- Syntax and usage of the Bison declarations section.
- Grammar Rules
- Syntax and usage of the grammar rules section.
- C Code
- Syntax and usage of the additional C code section.
automatically generated by info2www