mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 09:43:03 +00:00
Don't use locations in variant.yy.
* examples/variant.yy: Adjust to not using locations.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2008-11-15 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
|
Don't use locations in variant.yy.
|
||||||
|
* examples/variant.yy: Adjust to not using locations.
|
||||||
|
|
||||||
2008-11-15 Akim Demaille <demaille@gostai.com>
|
2008-11-15 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
Comment changes.
|
Comment changes.
|
||||||
|
|||||||
@@ -114,10 +114,9 @@ yylex (yy::parser::semantic_type* yylval)
|
|||||||
|
|
||||||
// Mandatory error function
|
// Mandatory error function
|
||||||
void
|
void
|
||||||
yy::parser::error (const yy::parser::location_type& yylloc,
|
yy::parser::error (const std::string& message)
|
||||||
const std::string& message)
|
|
||||||
{
|
{
|
||||||
std::cerr << yylloc << ": " << message << std::endl;
|
std::cerr << message << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|||||||
Reference in New Issue
Block a user