~ubuntu-branches/ubuntu/trusty/c++-annotations/trusty

« back to all changes in this revision

Viewing changes to yo/concrete/parserh.yo

  • Committer: Package Import Robot
  • Author(s): tony mancill, Frank B. Brokken, tony mancill
  • Date: 2012-02-28 00:50:21 UTC
  • mfrom: (1.1.19)
  • Revision ID: package-import@ubuntu.com-20120228005021-sz7nnodntkvgh7qf
Tags: 9.2.1-1
[ Frank B. Brokken ]
* New upstream release (using flexc++, reauthored polymorphic semantic
  values and unrestricted unions). Upstream release 9.2.0 is implied by
  this release.

[ tony mancill ]
* Set Standards-Version to 3.9.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Several functions called from the grammar are defined as template
2
 
functions. tt(Bisonc++) generates multiple files, among which the file
 
1
Several class members called from the grammar are defined as member
 
2
templates. tt(Bisonc++) generates multiple files, among which the file
3
3
defining the parser's class. Functions called from the production rule's
4
4
action blocks are usually member functions of the parser. These member
5
5
functions must be declared and defined. Once tt(bisonc++) has generated the
6
 
header file defining the parser's class it will not automatically rewrite that
7
 
file, allowing the programmer to add new members to the parser class once they
8
 
are required. Here is the tt(parser.h) file as used in our little calculator:
 
6
header file defining the parser's class, that header file isn't automatically
 
7
rewritten, allowing the programmer to add new members to the parser class
 
8
whenever required. Here is `tt(parser.h)' as used in our little calculator:
9
9
        verbinclude(bisonc++/parser/parser.h)