diff --git a/data/skeletons/lalr1.cc b/data/skeletons/lalr1.cc index 8a2bee04..71037a81 100644 --- a/data/skeletons/lalr1.cc +++ b/data/skeletons/lalr1.cc @@ -335,7 +335,8 @@ m4_define([b4_shared_declarations], symbol_number_type type_get () const YY_NOEXCEPT; /// The state number used to denote an empty symbol. - enum { empty_state = -1 }; + /// We use the initial state, as it does not have a value. + enum { empty_state = 0 }; /// The state. /// \a empty when empty.