Commit b611d35a authored by Francis Dupont's avatar Francis Dupont
Browse files

[4272a] Regenerate parser from docs.isc.org

parent 7ac1fdee
......@@ -495,10 +495,10 @@ struct yy_trans_info
static yyconst flex_int16_t yy_acclist[227] =
{ 0,
42, 40, 41, 1, 40, 41, 2, 41, 40, 41,
32, 40, 41, 33, 40, 41, 36, 40, 41, 40,
41, 31, 40, 41, 5, 40, 41, 5, 40, 41,
35, 40, 41, 36, 40, 41, 39, 40, 41, 40,
41, 34, 40, 41, 5, 40, 41, 5, 40, 41,
40, 41, 40, 41, 40, 41,16390, 40, 41,16390,
34, 40, 41, 35, 40, 41, 40, 41,16390, 40,
37, 40, 41, 38, 40, 41, 40, 41,16390, 40,
41,16390, 40, 41,16390, 40, 41,16390, 40, 41,
16390, 40, 41,16390, 40, 41,16390, 40, 41,16390,
40, 41,16390, 40, 41,16390, 40, 41,16390, 40,
......@@ -506,19 +506,19 @@ static yyconst flex_int16_t yy_acclist[227] =
3, 5, 5, 7, 8,16390,16390, 8198,16390,16390,
16390,16390,16390,16390,16390,16390,16390,16390,16390,16390,
16390,16390, 30,16390,16390,16390,16390,16390,16390,16390,
16390,16390, 4, 7, 26,16390, 29,16390,16390,16390,
16390,16390, 15,16390,16390,16390,16390, 18,16390,16390,
28,16390,16390,16390,16390,16390,16390,16390,16390,16390,
16390,16390,16390,16390,16390, 19,16390,16390,16390,16390,
16390,16390, 17,16390, 37,16390,16390,16390,16390, 14,
16390,16390,16390,16390,16390,16390,16390, 20,16390,16390,
16390,16390,16390,16390,16390,16390,16390,16390, 21,16390,
27,16390, 16,16390, 22,16390,16390,16390, 9,16390,
16390, 10,16390, 11,16390, 24,16390,16390,16390, 23,
16390, 7,16390, 38,16390,16390,16390, 39,16390, 13,
16390, 12,16390,16390, 25,16390
16390,16390, 33,16390,16390,16390,16390,16390,16390,16390,
16390,16390, 4, 7, 29,16390, 32,16390,16390,16390,
16390,16390, 13,16390,16390,16390,16390, 16,16390,16390,
31,16390,16390,16390,16390,16390,16390,16390,16390,16390,
16390,16390,16390,16390,16390, 17,16390,16390,16390,16390,
16390,16390, 15,16390, 23,16390,16390,16390,16390, 12,
16390,16390,16390,16390,16390,16390,16390, 18,16390,16390,
16390,16390,16390,16390,16390,16390,16390,16390, 19,16390,
30,16390, 14,16390, 20,16390,16390,16390, 9,16390,
16390, 10,16390, 11,16390, 22,16390,16390,16390, 21,
16390, 7,16390, 24,16390,16390,16390, 25,16390, 27,
16390, 26,16390,16390, 28,16390
} ;
static yyconst flex_int16_t yy_accept[162] =
......@@ -719,7 +719,7 @@ static yyconst flex_int16_t yy_rule_linenum[41] =
82, 86, 92, 102, 108, 122, 129, 143, 144, 145,
146, 147, 148, 149, 150, 151, 152, 153, 154, 155,
156, 157, 158, 159, 160, 161, 162, 163, 164, 165,
166, 167, 168, 169, 170, 171, 173, 174, 175, 177
166, 167, 168, 169, 170, 171, 172, 173, 174, 176
} ;
static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
......@@ -1316,155 +1316,155 @@ return isc::eval::EvalParser::make_RELAY6(loc);
case 12:
YY_RULE_SETUP
#line 147 "lexer.ll"
return isc::eval::EvalParser::make_PEERADDR(loc);
return isc::eval::EvalParser::make_TEXT(loc);
YY_BREAK
case 13:
YY_RULE_SETUP
#line 148 "lexer.ll"
return isc::eval::EvalParser::make_LINKADDR(loc);
return isc::eval::EvalParser::make_HEX(loc);
YY_BREAK
case 14:
YY_RULE_SETUP
#line 149 "lexer.ll"
return isc::eval::EvalParser::make_TEXT(loc);
return isc::eval::EvalParser::make_EXISTS(loc);
YY_BREAK
case 15:
YY_RULE_SETUP
#line 150 "lexer.ll"
return isc::eval::EvalParser::make_HEX(loc);
return isc::eval::EvalParser::make_PKT4(loc);
YY_BREAK
case 16:
YY_RULE_SETUP
#line 151 "lexer.ll"
return isc::eval::EvalParser::make_EXISTS(loc);
return isc::eval::EvalParser::make_CHADDR(loc);
YY_BREAK
case 17:
YY_RULE_SETUP
#line 152 "lexer.ll"
return isc::eval::EvalParser::make_PKT4(loc);
return isc::eval::EvalParser::make_HLEN(loc);
YY_BREAK
case 18:
YY_RULE_SETUP
#line 153 "lexer.ll"
return isc::eval::EvalParser::make_CHADDR(loc);
return isc::eval::EvalParser::make_HTYPE(loc);
YY_BREAK
case 19:
YY_RULE_SETUP
#line 154 "lexer.ll"
return isc::eval::EvalParser::make_HLEN(loc);
return isc::eval::EvalParser::make_CIADDR(loc);
YY_BREAK
case 20:
YY_RULE_SETUP
#line 155 "lexer.ll"
return isc::eval::EvalParser::make_HTYPE(loc);
return isc::eval::EvalParser::make_GIADDR(loc);
YY_BREAK
case 21:
YY_RULE_SETUP
#line 156 "lexer.ll"
return isc::eval::EvalParser::make_CIADDR(loc);
return isc::eval::EvalParser::make_YIADDR(loc);
YY_BREAK
case 22:
YY_RULE_SETUP
#line 157 "lexer.ll"
return isc::eval::EvalParser::make_GIADDR(loc);
return isc::eval::EvalParser::make_SIADDR(loc);
YY_BREAK
case 23:
YY_RULE_SETUP
#line 158 "lexer.ll"
return isc::eval::EvalParser::make_YIADDR(loc);
return isc::eval::EvalParser::make_PKT6(loc);
YY_BREAK
case 24:
YY_RULE_SETUP
#line 159 "lexer.ll"
return isc::eval::EvalParser::make_SIADDR(loc);
return isc::eval::EvalParser::make_MSGTYPE(loc);
YY_BREAK
case 25:
YY_RULE_SETUP
#line 160 "lexer.ll"
return isc::eval::EvalParser::make_SUBSTRING(loc);
return isc::eval::EvalParser::make_TRANSID(loc);
YY_BREAK
case 26:
YY_RULE_SETUP
#line 161 "lexer.ll"
return isc::eval::EvalParser::make_ALL(loc);
return isc::eval::EvalParser::make_PEERADDR(loc);
YY_BREAK
case 27:
YY_RULE_SETUP
#line 162 "lexer.ll"
return isc::eval::EvalParser::make_CONCAT(loc);
return isc::eval::EvalParser::make_LINKADDR(loc);
YY_BREAK
case 28:
YY_RULE_SETUP
#line 163 "lexer.ll"
return isc::eval::EvalParser::make_NOT(loc);
return isc::eval::EvalParser::make_SUBSTRING(loc);
YY_BREAK
case 29:
YY_RULE_SETUP
#line 164 "lexer.ll"
return isc::eval::EvalParser::make_AND(loc);
return isc::eval::EvalParser::make_ALL(loc);
YY_BREAK
case 30:
YY_RULE_SETUP
#line 165 "lexer.ll"
return isc::eval::EvalParser::make_OR(loc);
return isc::eval::EvalParser::make_CONCAT(loc);
YY_BREAK
case 31:
YY_RULE_SETUP
#line 166 "lexer.ll"
return isc::eval::EvalParser::make_DOT(loc);
return isc::eval::EvalParser::make_NOT(loc);
YY_BREAK
case 32:
YY_RULE_SETUP
#line 167 "lexer.ll"
return isc::eval::EvalParser::make_LPAREN(loc);
return isc::eval::EvalParser::make_AND(loc);
YY_BREAK
case 33:
YY_RULE_SETUP
#line 168 "lexer.ll"
return isc::eval::EvalParser::make_RPAREN(loc);
return isc::eval::EvalParser::make_OR(loc);
YY_BREAK
case 34:
YY_RULE_SETUP
#line 169 "lexer.ll"
return isc::eval::EvalParser::make_LBRACKET(loc);
return isc::eval::EvalParser::make_DOT(loc);
YY_BREAK
case 35:
YY_RULE_SETUP
#line 170 "lexer.ll"
return isc::eval::EvalParser::make_RBRACKET(loc);
return isc::eval::EvalParser::make_LPAREN(loc);
YY_BREAK
case 36:
YY_RULE_SETUP
#line 171 "lexer.ll"
return isc::eval::EvalParser::make_COMA(loc);
return isc::eval::EvalParser::make_RPAREN(loc);
YY_BREAK
case 37:
YY_RULE_SETUP
#line 173 "lexer.ll"
return isc::eval::EvalParser::make_PKT6(loc);
#line 172 "lexer.ll"
return isc::eval::EvalParser::make_LBRACKET(loc);
YY_BREAK
case 38:
YY_RULE_SETUP
#line 174 "lexer.ll"
return isc::eval::EvalParser::make_MSGTYPE(loc);
#line 173 "lexer.ll"
return isc::eval::EvalParser::make_RBRACKET(loc);
YY_BREAK
case 39:
YY_RULE_SETUP
#line 175 "lexer.ll"
return isc::eval::EvalParser::make_TRANSID(loc);
#line 174 "lexer.ll"
return isc::eval::EvalParser::make_COMA(loc);
YY_BREAK
case 40:
YY_RULE_SETUP
#line 177 "lexer.ll"
#line 176 "lexer.ll"
driver.error (loc, "Invalid character: " + std::string(yytext));
YY_BREAK
case YY_STATE_EOF(INITIAL):
#line 178 "lexer.ll"
#line 177 "lexer.ll"
return isc::eval::EvalParser::make_END(loc);
YY_BREAK
case 41:
YY_RULE_SETUP
#line 179 "lexer.ll"
#line 178 "lexer.ll"
ECHO;
YY_BREAK
#line 1471 "lexer.cc"
......@@ -2550,7 +2550,7 @@ void yyfree (void * ptr )
/* %ok-for-header */
#line 179 "lexer.ll"
#line 178 "lexer.ll"
......
// Generated 201604271143
// Generated 201606101509
// A Bison parser, made by GNU Bison 3.0.4.
// Locations for Bison parsers in C++
......
This diff is collapsed.
......@@ -351,29 +351,29 @@ namespace isc { namespace eval {
TOKEN_OPTION = 264,
TOKEN_RELAY4 = 265,
TOKEN_RELAY6 = 266,
TOKEN_PEERADDR = 267,
TOKEN_LINKADDR = 268,
TOKEN_LBRACKET = 269,
TOKEN_RBRACKET = 270,
TOKEN_DOT = 271,
TOKEN_TEXT = 272,
TOKEN_HEX = 273,
TOKEN_EXISTS = 274,
TOKEN_PKT4 = 275,
TOKEN_CHADDR = 276,
TOKEN_HLEN = 277,
TOKEN_HTYPE = 278,
TOKEN_CIADDR = 279,
TOKEN_GIADDR = 280,
TOKEN_YIADDR = 281,
TOKEN_SIADDR = 282,
TOKEN_SUBSTRING = 283,
TOKEN_ALL = 284,
TOKEN_COMA = 285,
TOKEN_CONCAT = 286,
TOKEN_PKT6 = 287,
TOKEN_MSGTYPE = 288,
TOKEN_TRANSID = 289,
TOKEN_LBRACKET = 267,
TOKEN_RBRACKET = 268,
TOKEN_DOT = 269,
TOKEN_TEXT = 270,
TOKEN_HEX = 271,
TOKEN_EXISTS = 272,
TOKEN_PKT4 = 273,
TOKEN_CHADDR = 274,
TOKEN_HLEN = 275,
TOKEN_HTYPE = 276,
TOKEN_CIADDR = 277,
TOKEN_GIADDR = 278,
TOKEN_YIADDR = 279,
TOKEN_SIADDR = 280,
TOKEN_PKT6 = 281,
TOKEN_MSGTYPE = 282,
TOKEN_TRANSID = 283,
TOKEN_PEERADDR = 284,
TOKEN_LINKADDR = 285,
TOKEN_SUBSTRING = 286,
TOKEN_ALL = 287,
TOKEN_COMA = 288,
TOKEN_CONCAT = 289,
TOKEN_STRING = 290,
TOKEN_INTEGER = 291,
TOKEN_HEXSTRING = 292,
......@@ -537,14 +537,6 @@ namespace isc { namespace eval {
symbol_type
make_RELAY6 (const location_type& l);
static inline
symbol_type
make_PEERADDR (const location_type& l);
static inline
symbol_type
make_LINKADDR (const location_type& l);
static inline
symbol_type
make_LBRACKET (const location_type& l);
......@@ -603,31 +595,39 @@ namespace isc { namespace eval {
static inline
symbol_type
make_SUBSTRING (const location_type& l);
make_PKT6 (const location_type& l);
static inline
symbol_type
make_ALL (const location_type& l);
make_MSGTYPE (const location_type& l);
static inline
symbol_type
make_COMA (const location_type& l);
make_TRANSID (const location_type& l);
static inline
symbol_type
make_CONCAT (const location_type& l);
make_PEERADDR (const location_type& l);
static inline
symbol_type
make_PKT6 (const location_type& l);
make_LINKADDR (const location_type& l);
static inline
symbol_type
make_MSGTYPE (const location_type& l);
make_SUBSTRING (const location_type& l);
static inline
symbol_type
make_TRANSID (const location_type& l);
make_ALL (const location_type& l);
static inline
symbol_type
make_COMA (const location_type& l);
static inline
symbol_type
make_CONCAT (const location_type& l);
static inline
symbol_type
......@@ -734,7 +734,7 @@ namespace isc { namespace eval {
// number is the opposite. If YYTABLE_NINF, syntax error.
static const unsigned char yytable_[];
static const signed char yycheck_[];
static const unsigned char yycheck_[];
// YYSTOS[STATE-NUM] -- The (internal number of the) accessing
// symbol of state STATE-NUM.
......@@ -854,7 +854,7 @@ namespace isc { namespace eval {
enum
{
yyeof_ = 0,
yylast_ = 113, ///< Last index in yytable_.
yylast_ = 112, ///< Last index in yytable_.
yynnts_ = 12, ///< Number of nonterminal symbols.
yyfinal_ = 25, ///< Termination state number.
yyterror_ = 1,
......@@ -944,11 +944,11 @@ namespace isc { namespace eval {
value.copy< TokenOption::RepresentationType > (other.value);
break;
case 46: // pkt4_field
case 47: // pkt4_field
value.copy< TokenPkt4::FieldType > (other.value);
break;
case 51: // pkt6_field
case 48: // pkt6_field
value.copy< TokenPkt6::FieldType > (other.value);
break;
......@@ -968,7 +968,7 @@ namespace isc { namespace eval {
value.copy< uint16_t > (other.value);
break;
case 50: // nest_level
case 46: // nest_level
value.copy< uint8_t > (other.value);
break;
......@@ -993,11 +993,11 @@ namespace isc { namespace eval {
value.copy< TokenOption::RepresentationType > (v);
break;
case 46: // pkt4_field
case 47: // pkt4_field
value.copy< TokenPkt4::FieldType > (v);
break;
case 51: // pkt6_field
case 48: // pkt6_field
value.copy< TokenPkt6::FieldType > (v);
break;
......@@ -1017,7 +1017,7 @@ namespace isc { namespace eval {
value.copy< uint16_t > (v);
break;
case 50: // nest_level
case 46: // nest_level
value.copy< uint8_t > (v);
break;
......@@ -1115,11 +1115,11 @@ namespace isc { namespace eval {
value.template destroy< TokenOption::RepresentationType > ();
break;
case 46: // pkt4_field
case 47: // pkt4_field
value.template destroy< TokenPkt4::FieldType > ();
break;
case 51: // pkt6_field
case 48: // pkt6_field
value.template destroy< TokenPkt6::FieldType > ();
break;
......@@ -1139,7 +1139,7 @@ namespace isc { namespace eval {
value.template destroy< uint16_t > ();
break;
case 50: // nest_level
case 46: // nest_level
value.template destroy< uint8_t > ();
break;
......@@ -1170,11 +1170,11 @@ namespace isc { namespace eval {
value.move< TokenOption::RepresentationType > (s.value);
break;
case 46: // pkt4_field
case 47: // pkt4_field
value.move< TokenPkt4::FieldType > (s.value);
break;
case 51: // pkt6_field
case 48: // pkt6_field
value.move< TokenPkt6::FieldType > (s.value);
break;
......@@ -1194,7 +1194,7 @@ namespace isc { namespace eval {
value.move< uint16_t > (s.value);
break;
case 50: // nest_level
case 46: // nest_level
value.move< uint8_t > (s.value);
break;
......@@ -1321,18 +1321,6 @@ namespace isc { namespace eval {
return symbol_type (token::TOKEN_RELAY6, l);
}
EvalParser::symbol_type
EvalParser::make_PEERADDR (const location_type& l)
{
return symbol_type (token::TOKEN_PEERADDR, l);
}
EvalParser::symbol_type
EvalParser::make_LINKADDR (const location_type& l)
{
return symbol_type (token::TOKEN_LINKADDR, l);
}
EvalParser::symbol_type
EvalParser::make_LBRACKET (const location_type& l)
{
......@@ -1418,45 +1406,57 @@ namespace isc { namespace eval {
}
EvalParser::symbol_type
EvalParser::make_SUBSTRING (const location_type& l)
EvalParser::make_PKT6 (const location_type& l)
{
return symbol_type (token::TOKEN_SUBSTRING, l);
return symbol_type (token::TOKEN_PKT6, l);
}
EvalParser::symbol_type
EvalParser::make_ALL (const location_type& l)
EvalParser::make_MSGTYPE (const location_type& l)
{
return symbol_type (token::TOKEN_ALL, l);
return symbol_type (token::TOKEN_MSGTYPE, l);
}
EvalParser::symbol_type
EvalParser::make_COMA (const location_type& l)
EvalParser::make_TRANSID (const location_type& l)
{
return symbol_type (token::TOKEN_COMA, l);
return symbol_type (token::TOKEN_TRANSID, l);
}
EvalParser::symbol_type
EvalParser::make_CONCAT (const location_type& l)
EvalParser::make_PEERADDR (const location_type& l)
{
return symbol_type (token::TOKEN_CONCAT, l);
return symbol_type (token::TOKEN_PEERADDR, l);
}
EvalParser::symbol_type
EvalParser::make_PKT6 (const location_type& l)
EvalParser::make_LINKADDR (const location_type& l)
{
return symbol_type (token::TOKEN_PKT6, l);
return symbol_type (token::TOKEN_LINKADDR, l);
}
EvalParser::symbol_type
EvalParser::make_MSGTYPE (const location_type& l)
EvalParser::make_SUBSTRING (const location_type& l)
{
return symbol_type (token::TOKEN_MSGTYPE, l);
return symbol_type (token::TOKEN_SUBSTRING, l);
}
EvalParser::symbol_type
EvalParser::make_TRANSID (const location_type& l)
EvalParser::make_ALL (const location_type& l)
{
return symbol_type (token::TOKEN_TRANSID, l);
return symbol_type (token::TOKEN_ALL, l);
}
EvalParser::symbol_type
EvalParser::make_COMA (const location_type& l)
{
return symbol_type (token::TOKEN_COMA, l);
}
EvalParser::symbol_type
EvalParser::make_CONCAT (const location_type& l)
{
return symbol_type (token::TOKEN_CONCAT, l);
}
EvalParser::symbol_type
......
// Generated 201604271143
// Generated 201606101509
// A Bison parser, made by GNU Bison 3.0.4.
// Positions for Bison parsers in C++
......
// Generated 201604271143
// Generated 201606101509
// A Bison parser, made by GNU Bison 3.0.4.
// Stack handling for Bison parsers in C++
......
Supports Markdown
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