Commit 08ccac5d authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

bison regenerated

parent 7a7eaf2f
// Generated 201704031216
// A Bison parser, made by GNU Bison 3.0.4.
// Locations for Bison parsers in C++
......@@ -40,9 +41,9 @@
# include "position.hh"
#line 14 "parser.yy" // location.cc:337
#line 14 "parser.yy" // location.cc:296
namespace isc { namespace eval {
#line 46 "location.hh" // location.cc:337
#line 46 "location.hh" // location.cc:296
/// Abstract a location.
class location
{
......@@ -186,7 +187,7 @@ namespace isc { namespace eval {
return ostr;
}
#line 14 "parser.yy" // location.cc:337
#line 14 "parser.yy" // location.cc:296
} } // isc::eval
#line 192 "location.hh" // location.cc:337
#line 192 "location.hh" // location.cc:296
#endif // !YY_EVAL_LOCATION_HH_INCLUDED
This diff is collapsed.
......@@ -40,7 +40,7 @@
#ifndef YY_EVAL_PARSER_H_INCLUDED
# define YY_EVAL_PARSER_H_INCLUDED
// // "%code requires" blocks.
#line 17 "parser.yy" // lalr1.cc:392
#line 17 "parser.yy" // lalr1.cc:377
#include <string>
#include <eval/token.h>
......@@ -51,7 +51,7 @@
using namespace isc::dhcp;
using namespace isc::eval;
#line 55 "parser.h" // lalr1.cc:392
#line 55 "parser.h" // lalr1.cc:377
# include <cassert>
# include <cstdlib> // std::abort
......@@ -134,9 +134,9 @@ using namespace isc::eval;
# endif /* ! defined YYDEBUG */
#endif /* ! defined EVALDEBUG */
#line 14 "parser.yy" // lalr1.cc:392
#line 14 "parser.yy" // lalr1.cc:377
namespace isc { namespace eval {
#line 140 "parser.h" // lalr1.cc:392
#line 140 "parser.h" // lalr1.cc:377
......@@ -803,7 +803,7 @@ namespace isc { namespace eval {
static const unsigned char yydefact_[];
// YYPGOTO[NTERM-NUM].
static const signed char yypgoto_[];
static const short int yypgoto_[];
// YYDEFGOTO[NTERM-NUM].
static const short int yydefgoto_[];
......@@ -933,9 +933,9 @@ namespace isc { namespace eval {
enum
{
yyeof_ = 0,
yylast_ = 179, ///< Last index in yytable_.
yynnts_ = 17, ///< Number of nonterminal symbols.
yyfinal_ = 27, ///< Termination state number.
yylast_ = 190, ///< Last index in yytable_.
yynnts_ = 16, ///< Number of nonterminal symbols.
yyfinal_ = 30, ///< Termination state number.
yyterror_ = 1,
yyerrcode_ = 256,
yyntokens_ = 52 ///< Number of tokens.
......@@ -1020,23 +1020,23 @@ namespace isc { namespace eval {
{
switch (other.type_get ())
{
case 60: // option_repr_type
case 59: // option_repr_type
value.copy< TokenOption::RepresentationType > (other.value);
break;
case 64: // pkt4_field
case 63: // pkt4_field
value.copy< TokenPkt4::FieldType > (other.value);
break;
case 65: // pkt6_field
case 64: // pkt6_field
value.copy< TokenPkt6::FieldType > (other.value);
break;
case 62: // pkt_metadata
case 61: // pkt_metadata
value.copy< TokenPkt::MetadataType > (other.value);
break;
case 66: // relay6_field
case 65: // relay6_field
value.copy< TokenRelay6Field::FieldType > (other.value);
break;
......@@ -1048,16 +1048,16 @@ namespace isc { namespace eval {
value.copy< std::string > (other.value);
break;
case 59: // option_code
case 58: // option_code
value.copy< uint16_t > (other.value);
break;
case 58: // integer_expr
case 63: // enterprise_id
case 57: // integer_expr
case 62: // enterprise_id
value.copy< uint32_t > (other.value);
break;
case 61: // nest_level
case 60: // nest_level
value.copy< uint8_t > (other.value);
break;
......@@ -1078,23 +1078,23 @@ namespace isc { namespace eval {
(void) v;
switch (this->type_get ())
{
case 60: // option_repr_type
case 59: // option_repr_type
value.copy< TokenOption::RepresentationType > (v);
break;
case 64: // pkt4_field
case 63: // pkt4_field
value.copy< TokenPkt4::FieldType > (v);
break;
case 65: // pkt6_field
case 64: // pkt6_field
value.copy< TokenPkt6::FieldType > (v);
break;
case 62: // pkt_metadata
case 61: // pkt_metadata
value.copy< TokenPkt::MetadataType > (v);
break;
case 66: // relay6_field
case 65: // relay6_field
value.copy< TokenRelay6Field::FieldType > (v);
break;
......@@ -1106,16 +1106,16 @@ namespace isc { namespace eval {
value.copy< std::string > (v);
break;
case 59: // option_code
case 58: // option_code
value.copy< uint16_t > (v);
break;
case 58: // integer_expr
case 63: // enterprise_id
case 57: // integer_expr
case 62: // enterprise_id
value.copy< uint32_t > (v);
break;
case 61: // nest_level
case 60: // nest_level
value.copy< uint8_t > (v);
break;
......@@ -1223,23 +1223,23 @@ namespace isc { namespace eval {
// Type destructor.
switch (yytype)
{
case 60: // option_repr_type
case 59: // option_repr_type
value.template destroy< TokenOption::RepresentationType > ();
break;
case 64: // pkt4_field
case 63: // pkt4_field
value.template destroy< TokenPkt4::FieldType > ();
break;
case 65: // pkt6_field
case 64: // pkt6_field
value.template destroy< TokenPkt6::FieldType > ();
break;
case 62: // pkt_metadata
case 61: // pkt_metadata
value.template destroy< TokenPkt::MetadataType > ();
break;
case 66: // relay6_field
case 65: // relay6_field
value.template destroy< TokenRelay6Field::FieldType > ();
break;
......@@ -1251,16 +1251,16 @@ namespace isc { namespace eval {
value.template destroy< std::string > ();
break;
case 59: // option_code
case 58: // option_code
value.template destroy< uint16_t > ();
break;
case 58: // integer_expr
case 63: // enterprise_id
case 57: // integer_expr
case 62: // enterprise_id
value.template destroy< uint32_t > ();
break;
case 61: // nest_level
case 60: // nest_level
value.template destroy< uint8_t > ();
break;
......@@ -1287,23 +1287,23 @@ namespace isc { namespace eval {
super_type::move(s);
switch (this->type_get ())
{
case 60: // option_repr_type
case 59: // option_repr_type
value.move< TokenOption::RepresentationType > (s.value);
break;
case 64: // pkt4_field
case 63: // pkt4_field
value.move< TokenPkt4::FieldType > (s.value);
break;
case 65: // pkt6_field
case 64: // pkt6_field
value.move< TokenPkt6::FieldType > (s.value);
break;
case 62: // pkt_metadata
case 61: // pkt_metadata
value.move< TokenPkt::MetadataType > (s.value);
break;
case 66: // relay6_field
case 65: // relay6_field
value.move< TokenRelay6Field::FieldType > (s.value);
break;
......@@ -1315,16 +1315,16 @@ namespace isc { namespace eval {
value.move< std::string > (s.value);
break;
case 59: // option_code
case 58: // option_code
value.move< uint16_t > (s.value);
break;
case 58: // integer_expr
case 63: // enterprise_id
case 57: // integer_expr
case 62: // enterprise_id
value.move< uint32_t > (s.value);
break;
case 61: // nest_level
case 60: // nest_level
value.move< uint8_t > (s.value);
break;
......@@ -1694,9 +1694,9 @@ namespace isc { namespace eval {
}
#line 14 "parser.yy" // lalr1.cc:392
#line 14 "parser.yy" // lalr1.cc:377
} } // isc::eval
#line 1700 "parser.h" // lalr1.cc:392
#line 1700 "parser.h" // lalr1.cc:377
......
// Generated 201704031216
// A Bison parser, made by GNU Bison 3.0.4.
// Positions for Bison parsers in C++
......@@ -50,9 +51,9 @@
# endif
# endif
#line 14 "parser.yy" // location.cc:337
#line 14 "parser.yy" // location.cc:296
namespace isc { namespace eval {
#line 56 "position.hh" // location.cc:337
#line 56 "position.hh" // location.cc:296
/// Abstract a position.
class position
{
......@@ -174,7 +175,7 @@ namespace isc { namespace eval {
return ostr << pos.line << '.' << pos.column;
}
#line 14 "parser.yy" // location.cc:337
#line 14 "parser.yy" // location.cc:296
} } // isc::eval
#line 180 "position.hh" // location.cc:337
#line 180 "position.hh" // location.cc:296
#endif // !YY_EVAL_POSITION_HH_INCLUDED
// Generated 201704031216
// A Bison parser, made by GNU Bison 3.0.4.
// Stack handling for Bison parsers in C++
......@@ -40,9 +41,9 @@
# include <vector>
#line 14 "parser.yy" // stack.hh:151
#line 14 "parser.yy" // stack.hh:132
namespace isc { namespace eval {
#line 46 "stack.hh" // stack.hh:151
#line 46 "stack.hh" // stack.hh:132
template <class T, class S = std::vector<T> >
class stack
{
......@@ -150,8 +151,8 @@ namespace isc { namespace eval {
unsigned int range_;
};
#line 14 "parser.yy" // stack.hh:151
#line 14 "parser.yy" // stack.hh:132
} } // isc::eval
#line 156 "stack.hh" // stack.hh:151
#line 156 "stack.hh" // stack.hh:132
#endif // !YY_EVAL_STACK_HH_INCLUDED
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment