This example shows you how to attach information to tokens (i.e. take advantage of YACC's stack).
gen.l
gen.y
Makefile
Example input