1) Declaration of tokens
%token TYPE_OF_TOKEN
2) Specification of asociativity & precedence in
an ambigous grammar.
Section I: Declaration
Example:
%token INTEGER
%token ID
%left ‘+’
%left ‘*’
66/69
%left  opi1, opi2, … ,opim
%left  opj1, opj2, … ,opjm
…
%right opk1, opk2, … ,opkp
The same precedence
Higher precedence
Associativity of the following operators