mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-16 07:48:44 +01:00
6881bc3814
Annotations. The branches and tags directory are empty, since I couldn't svnadmin import a repostitory dump. Many earlier versions exist, though, and if you want the full archive, just let me know and I'll send you the svnadmin dump of my full C++ Annotations archive. Frank B. Brokken <f.b.brokken@rug.nl> git-svn-id: https://cppannotations.svn.sourceforge.net/svnroot/cppannotations/trunk@3 f6dd340e-d3f9-0310-b409-bdd246841980
9 lines
629 B
Text
9 lines
629 B
Text
Various functions called from the grammar are defined as template
|
|
functions. tt(Bisonc++) generates various files, among which the file defining
|
|
the parser's class. Functions called from the production rule's action blocks
|
|
are usually member functions of the parser, and these member functions must be
|
|
declared and defined. Once tt(bisonc++) has generated the header file defining
|
|
the parser's class it will not automatically rewrite that file, allowing the
|
|
programmer to add new members to the parser class. Here is the tt(parser.h)
|
|
file as used for our little calculator:
|
|
verbinclude(concrete/bisonc++/parser/parser.h)
|