summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/skeletons/lalr1.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/skeletons/lalr1.cc b/data/skeletons/lalr1.cc
index ce4c6a3d..240f4c36 100644
--- a/data/skeletons/lalr1.cc
+++ b/data/skeletons/lalr1.cc
@@ -425,7 +425,7 @@ m4_define([b4_shared_declarations],
/// Superclass.
typedef basic_symbol<by_state> super_type;
/// Construct an empty symbol.
- stack_symbol_type ();
+ stack_symbol_type () YY_NOEXCEPT;
/// Move or copy construction.
stack_symbol_type (YY_RVREF (stack_symbol_type) that);
/// Steal the contents from \a sym to build this.
@@ -678,7 +678,7 @@ m4_if(b4_prefix, [yy], [],
return YY_CAST (symbol_kind_type, yystos_[+state]);
}
- ]b4_parser_class[::stack_symbol_type::stack_symbol_type ()
+ ]b4_parser_class[::stack_symbol_type::stack_symbol_type () YY_NOEXCEPT
{}
]b4_parser_class[::stack_symbol_type::stack_symbol_type (YY_RVREF (stack_symbol_type) that)