File: ltype.yo

package info (click to toggle)
bisonc%2B%2B 6.09.02-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,984 kB
  • sloc: cpp: 9,375; ansic: 1,505; fortran: 1,134; makefile: 1,062; sh: 526; yacc: 84; lex: 60
file content (12 lines) | stat: -rw-r--r-- 614 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
 bf(%ltype typename) 

    Specifies a user-defined token location type.  If bf(%ltype) is used,
tt(typename) should be the name of an alternate default-constructible type
(e.g., bf(size_t)). It should not be used together with a
link(%locationstruct)(LOCSTRUCT) specification. From inside the parser class,
this type may be referred to as bf(LTYPE_).

    Any text following tt(%ltype) up to the end of the line, up to the first
of a series of trailing blanks or tabs or up to a comment-token (tt(//) or
tt(/*)) becomes part of the type definition. Be sure em(not) to end an
tt(%ltype) definition in a semicolon.