mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-16 07:48:44 +01:00
9 lines
443 B
Text
9 lines
443 B
Text
The flex-specification file used by the calculator is simple: blanks are
|
|
ignored, single characters are returned, and numeric values are returned as
|
|
either tt(Parser::INT) or tt(Parser::DOUBLE) tokens.
|
|
|
|
The tt(flexc++) directive tt(%interactive) is provided since the
|
|
calculator is a program actively interacting with its human user.
|
|
|
|
Here is the complete tt(flexc++) specification file:
|
|
verbinclude(-a bisonc++/scanner/lexer)
|