* examples/variant.yy: Adjust to not using locations.
+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>
Comment changes.
// Mandatory error function
void
-yy::parser::error (const yy::parser::location_type& yylloc,
- const std::string& message)
+yy::parser::error (const std::string& message)
{
- std::cerr << yylloc << ": " << message << std::endl;
+ std::cerr << message << std::endl;
}
int