# C++ GLR skeleton for Bison
-# Copyright (C) 2002-2013 Free Software Foundation, Inc.
+# Copyright (C) 2002-2015 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# user must initialize the first positions (in particular the
# filename member).
-b4_token_ctor_if([b4_variant_if([],
- [b4_fatal_at(b4_percent_define_get_loc(api.token.constructor),
- [cannot use '%s' without '%s'],
- [%define api.token.constructor],
- [%define api.value.type variant]))])])
-
# We require a pure interface.
m4_define([b4_pure_flag], [1])
std::ostream& yyoutput = debug_stream ();
std::ostream& yyo = yyoutput;
YYUSE (yyo);
- switch (yytype)
- {
-]b4_symbol_foreach([b4_symbol_printer])dnl
-[ default:
- break;
- }
+ ]b4_symbol_actions([printer])[
}
[m4_pushdef([b4_parse_param], m4_defn([b4_parse_param_orig]))dnl
b4_percent_code_get([[requires]])[
-#include <cstdlib> // abort
#include <stdexcept>
#include <string>
#include <iostream>]b4_defines_if([
b4_defines_if(
[b4_output_begin([b4_spec_defines_file])
b4_copyright([Skeleton interface for Bison GLR parsers in C++],
- [2002-2013])[
+ [2002-2015])[
// C++ GLR parser skeleton written by Akim Demaille.