Go to the first, previous, next, last section, table of contents.
A Bison grammar file has four main sections, shown here with the
appropriate delimiters:
%{
C declarations
%}
Bison declarations
%%
Grammar rules
%%
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.
Go to the first, previous, next, last section, table of contents.