bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bison manual error


From: Michel Meynard
Subject: bison manual error
Date: Sat, 16 Dec 2006 13:27:12 -0000
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

Hello
in section of bison manual


       10.1.5 C++ Scanner Interface

the declaration :
int *yylex* (semantic_value_type& yylval, location_type& yylloc, type1 arg1, ...)
is false

it must be

yy::parser::token_type                         \
      yylex (yy::parser::semantic_type* yylval,      \
yy::parser::location_type* yylloc,...)

Am i right ???

--
Cordialement, Michel Meynard.
----------------------------------------
Michel Meynard (e-mail : address@hidden)
161, rue ada 34392 Montpellier Cedex 5
France
tel. : (33) 04 67 41 85 40        fax :  (33) 04 67 41 85 00
web : www.lirmm.fr/~meynard



reply via email to

[Prev in Thread] Current Thread [Next in Thread]