GNU Info

Info Node: (bison.info)Location Tracking Calc

(bison.info)Location Tracking Calc


Next: Multi-function Calc Prev: Simple Error Recovery Up: Examples
Enter node , (file) or (file)node

Location Tracking Calculator: `ltcalc'
======================================

   This example extends the infix notation calculator with location
tracking.  This feature will be used to improve the error messages.  For
the sake of clarity, this example is a simple integer calculator, since
most of the work needed to use locations will be done in the lexical
analyser.

Decls
Ltcalc Decls. Bison and C declarations for ltcalc.
Rules
Ltcalc Rules. Grammar rules for ltcalc, with explanations.
Lexer
Ltcalc Lexer. The lexical analyzer.

automatically generated by info2www version 1.2.2.9