1
- // A Bison parser, made by GNU Bison 3.7.5 .
1
+ // A Bison parser, made by GNU Bison 3.8.2 .
2
2
3
3
// Skeleton implementation for Bison LALR(1) parsers in C++
4
4
15
15
// GNU General Public License for more details.
16
16
17
17
// You should have received a copy of the GNU General Public License
18
- // along with this program. If not, see <http ://www.gnu.org/licenses/>.
18
+ // along with this program. If not, see <https ://www.gnu.org/licenses/>.
19
19
20
20
// As a special exception, you may create a larger work that contains
21
21
// part or all of the Bison parser skeleton and distribute that work
@@ -157,9 +157,9 @@ namespace yy {
157
157
seclang_parser::syntax_error::~syntax_error () YY_NOEXCEPT YY_NOTHROW
158
158
{}
159
159
160
- /* --------------- .
161
- | symbol kinds . |
162
- `--------------- */
160
+ /* ---------.
161
+ | symbol. |
162
+ `---------*/
163
163
164
164
165
165
@@ -1230,7 +1230,7 @@ namespace yy {
1230
1230
}
1231
1231
1232
1232
void
1233
- seclang_parser::yypop_ (int n)
1233
+ seclang_parser::yypop_ (int n) YY_NOEXCEPT
1234
1234
{
1235
1235
yystack_.pop (n);
1236
1236
}
@@ -1273,13 +1273,13 @@ namespace yy {
1273
1273
}
1274
1274
1275
1275
bool
1276
- seclang_parser::yy_pact_value_is_default_ (int yyvalue)
1276
+ seclang_parser::yy_pact_value_is_default_ (int yyvalue) YY_NOEXCEPT
1277
1277
{
1278
1278
return yyvalue == yypact_ninf_;
1279
1279
}
1280
1280
1281
1281
bool
1282
- seclang_parser::yy_table_value_is_error_ (int yyvalue)
1282
+ seclang_parser::yy_table_value_is_error_ (int yyvalue) YY_NOEXCEPT
1283
1283
{
1284
1284
return yyvalue == yytable_ninf_;
1285
1285
}
@@ -4273,10 +4273,10 @@ namespace yy {
4273
4273
#line 4274 "seclang-parser.cc"
4274
4274
break ;
4275
4275
4276
- case 275 : // var: "MSC_PCRE_ERRORED "
4276
+ case 275 : // var: "MSC_PCRE_ERROR "
4277
4277
#line 2327 "seclang-parser.yy"
4278
4278
{
4279
- VARIABLE_CONTAINER (yylhs.value .as < std::unique_ptr<Variable> > (), new variables::MscPcreErrored ());
4279
+ VARIABLE_CONTAINER (yylhs.value .as < std::unique_ptr<Variable> > (), new variables::MscPcreError ());
4280
4280
}
4281
4281
#line 4282 "seclang-parser.cc"
4282
4282
break ;
@@ -5938,16 +5938,16 @@ namespace yy {
5938
5938
// Actual number of expected tokens
5939
5939
int yycount = 0 ;
5940
5940
5941
- int yyn = yypact_[+yyparser_.yystack_ [0 ].state ];
5941
+ const int yyn = yypact_[+yyparser_.yystack_ [0 ].state ];
5942
5942
if (!yy_pact_value_is_default_ (yyn))
5943
5943
{
5944
5944
/* Start YYX at -YYN if negative to avoid negative indexes in
5945
5945
YYCHECK. In other words, skip the first -YYN actions for
5946
5946
this state because they are default actions. */
5947
- int yyxbegin = yyn < 0 ? -yyn : 0 ;
5947
+ const int yyxbegin = yyn < 0 ? -yyn : 0 ;
5948
5948
// Stay within bounds of both yycheck and yytname.
5949
- int yychecklim = yylast_ - yyn + 1 ;
5950
- int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
5949
+ const int yychecklim = yylast_ - yyn + 1 ;
5950
+ const int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
5951
5951
for (int yyx = yyxbegin; yyx < yyxend; ++yyx)
5952
5952
if (yycheck_[yyx + yyn] == yyx && yyx != symbol_kind::S_YYerror
5953
5953
&& !yy_table_value_is_error_ (yytable_[yyx + yyn]))
@@ -5968,6 +5968,9 @@ namespace yy {
5968
5968
5969
5969
5970
5970
5971
+
5972
+
5973
+
5971
5974
int
5972
5975
seclang_parser::yy_syntax_error_arguments_ (const context& yyctx,
5973
5976
symbol_kind_type yyarg[], int yyargn) const
@@ -7051,7 +7054,7 @@ namespace yy {
7051
7054
" VARIABLE_RULE" , " \" Variable ARGS_NAMES\" " , " VARIABLE_ARGS_POST_NAMES" ,
7052
7055
" \" AUTH_TYPE\" " , " \" FILES_COMBINED_SIZE\" " , " \" FILES_TMPNAMES\" " ,
7053
7056
" \" FULL_REQUEST\" " , " \" FULL_REQUEST_LENGTH\" " , " \" INBOUND_DATA_ERROR\" " ,
7054
- " \" MATCHED_VAR\" " , " \" MATCHED_VAR_NAME\" " , " \" MSC_PCRE_ERRORED \" " ,
7057
+ " \" MATCHED_VAR\" " , " \" MATCHED_VAR_NAME\" " , " \" MSC_PCRE_ERROR \" " ,
7055
7058
" \" MSC_PCRE_LIMITS_EXCEEDED\" " , " VARIABLE_MULTIPART_BOUNDARY_QUOTED" ,
7056
7059
" VARIABLE_MULTIPART_BOUNDARY_WHITESPACE" , " \" MULTIPART_CRLF_LF_LINES\" " ,
7057
7060
" \" MULTIPART_DATA_AFTER\" " , " VARIABLE_MULTIPART_DATA_BEFORE" ,
@@ -7296,7 +7299,7 @@ namespace yy {
7296
7299
7297
7300
7298
7301
} // yy
7299
- #line 7300 "seclang-parser.cc"
7302
+ #line 7303 "seclang-parser.cc"
7300
7303
7301
7304
#line 3075 "seclang-parser.yy"
7302
7305
0 commit comments