Debian Codegraph @

documentation/manual/directives/start.yo

raw
1 Syntax: bf(%start) tt(nonterminal symbol)
2
3 By default b() uses the nonterminal that is defined by the first rule in a
4 grammar specification file as the start symbol. I.e., the parser tries to
5 recognize that nonterminal when parsing input.
6
7 This default behavior may be modified using the tt(%start) directive.
8 The nonterminal symbol specifies a nonterminal that may be defined
9 anywhere in the rules section of the grammar specification file. This
10 nonterminal then
11 becomes the grammar's start symbol.
12
13
14