Debian Codegraph @

documentation/manual/directives/scannertokenfunction.yo

raw
1 Syntax: bf(%scanner-token-function) tt(function-call) nl()
2
3 This directive is used to specify how to call the scanner function returning
4 the next token from the parser's tt(lex) function. A complete function call
5 expression should be provided (including a scanner object, if
6 applicable). Example:
7 verb(
8 %scanner-token-function d_scanner.lex()
9 )
10 If the function call contains white space then the function call
11 specification must be surrounded by double quotes.
12
13
14 It is an error to use this directive in combination with an already existing
15 internal header file (.ih file) in which the specified function is not called.
16
17 Note that an expression is expected, not an expression em(statement): do not
18 include a final semicolon in the specification.