summaryrefslogtreecommitdiffstats
path: root/src/bin/d2/d2_parser.h
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2021-02-08 17:31:32 +0100
committerFrancis Dupont <fdupont@isc.org>2021-02-16 17:03:42 +0100
commit09e45abece64596d27322f1945ace4d63028ed33 (patch)
treeb51bdc4d3efaf721b7e1e9cbef32d03d3ae54e65 /src/bin/d2/d2_parser.h
parent[#1681] add ChangeLog entry (diff)
downloadkea-09e45abece64596d27322f1945ace4d63028ed33.tar.xz
kea-09e45abece64596d27322f1945ace4d63028ed33.zip
[#1699] Regen with bison 3.7.5
Diffstat (limited to 'src/bin/d2/d2_parser.h')
-rw-r--r--src/bin/d2/d2_parser.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/bin/d2/d2_parser.h b/src/bin/d2/d2_parser.h
index 7576aac059..be50fbc2c3 100644
--- a/src/bin/d2/d2_parser.h
+++ b/src/bin/d2/d2_parser.h
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.7.4.
+// A Bison parser, made by GNU Bison 3.7.5.
// Skeleton interface for Bison LALR(1) parsers in C++
-// Copyright (C) 2002-2015, 2018-2020 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2021 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
@@ -128,9 +128,9 @@ using namespace std;
/* Suppress unused-variable warnings by "using" E. */
#if ! defined lint || defined __GNUC__
-# define YYUSE(E) ((void) (E))
+# define YY_USE(E) ((void) (E))
#else
-# define YYUSE(E) /* empty */
+# define YY_USE(E) /* empty */
#endif
#if defined __GNUC__ && ! defined __ICC && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
@@ -904,7 +904,7 @@ namespace isc { namespace d2 {
}
/// Destroy contents, and record that is empty.
- void clear ()
+ void clear () YY_NOEXCEPT
{
// User destructor.
symbol_kind_type yykind = this->kind ();
@@ -997,7 +997,7 @@ switch (yykind)
by_kind (kind_type t);
/// Record that this symbol is empty.
- void clear ();
+ void clear () YY_NOEXCEPT;
/// Steal the symbol kind from \a that.
void move (by_kind& that);
@@ -1987,9 +1987,9 @@ switch (yykind)
{
public:
context (const D2Parser& yyparser, const symbol_type& yyla);
- const symbol_type& lookahead () const { return yyla_; }
- symbol_kind_type token () const { return yyla_.kind (); }
- const location_type& location () const { return yyla_.location; }
+ const symbol_type& lookahead () const YY_NOEXCEPT { return yyla_; }
+ symbol_kind_type token () const YY_NOEXCEPT { return yyla_.kind (); }
+ const location_type& location () const YY_NOEXCEPT { return yyla_.location; }
/// Put in YYARG at most YYARGN of the expected tokens, and return the
/// number of tokens stored in YYARG. If YYARG is null, return the
@@ -2492,7 +2492,7 @@ switch (yykind)
inline
void
- D2Parser::by_kind::clear ()
+ D2Parser::by_kind::clear () YY_NOEXCEPT
{
kind_ = symbol_kind::S_YYEMPTY;
}