Skip to content
Myr

parser.c

This file

Path

src/parser.c

4,356 lines · 150.3 KiB · C

Last changed by

Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd

History of this file

Take it

The walk stopped after 200 commits: lines older than 24871fb point at it.

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1–77why, one step back
1/* A Bison parser, made by GNU Bison 3.8.2. */
23/* Bison implementation for Yacc-like parsers in C45 Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,6 Inc.78 This program is free software: you can redistribute it and/or modify9 it under the terms of the GNU General Public License as published by10 the Free Software Foundation, either version 3 of the License, or11 (at your option) any later version.1213 This program is distributed in the hope that it will be useful,14 but WITHOUT ANY WARRANTY; without even the implied warranty of15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the16 GNU General Public License for more details.1718 You should have received a copy of the GNU General Public License19 along with this program. If not, see <https://www.gnu.org/licenses/>. */2021/* As a special exception, you may create a larger work that contains22 part or all of the Bison parser skeleton and distribute that work23 under terms of your choice, so long as that work isn't itself a24 parser generator using the skeleton or a modified version thereof25 as a parser skeleton. Alternatively, if you modify or redistribute26 the parser skeleton itself, you may (at your option) remove this27 special exception, which will cause the skeleton and the resulting28 Bison output files to be licensed under the GNU General Public29 License without this special exception.3031 This special exception was added by the Free Software Foundation in32 version 2.2 of Bison. */3334/* C LALR(1) parser skeleton written by Richard Stallman, by35 simplifying the original so-called "semantic" parser. */3637/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,38 especially those whose name start with YY_ or yy_. They are39 private implementation details that can be changed or removed. */4041/* All symbols defined below should begin with yy or YY, to avoid42 infringing on user name space. This should be done even for local43 variables, as they might otherwise be expanded by user macros.44 There are some unavoidable exceptions within include files to45 define necessary library symbols; they are noted "INFRINGES ON46 USER NAME SPACE" below. */4748/* Identify Bison output, and Bison version. */49#define YYBISON 308025051/* Bison version string. */52#define YYBISON_VERSION "3.8.2"5354/* Skeleton name. */55#define YYSKELETON_NAME "yacc.c"5657/* Pure parsers. */58#define YYPURE 15960/* Push parsers. */61#define YYPUSH 06263/* Pull parsers. */64#define YYPULL 16566676869/* First part of user prologue. */70#line 1 "src/parser.y"7172#include <assert.h>73#include <math.h>74#include <stdio.h>75#include <string.h>76#include "compile.h"77#include "jv_alloc.h"

Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd

line 78why, one step back
78#include "builtin.h"

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 79–81why, one step back
79#define YYMALLOC jv_mem_alloc
80#define YYFREE jv_mem_free81

Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd

line 82why, one step back
82#line 83 "src/parser.c"

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 83–116why, one step back
83
84# ifndef YY_CAST85# ifdef __cplusplus86# define YY_CAST(Type, Val) static_cast<Type> (Val)87# define YY_REINTERPRET_CAST(Type, Val) reinterpret_cast<Type> (Val)88# else89# define YY_CAST(Type, Val) ((Type) (Val))90# define YY_REINTERPRET_CAST(Type, Val) ((Type) (Val))91# endif92# endif93# ifndef YY_NULLPTR94# if defined __cplusplus95# if 201103L <= __cplusplus96# define YY_NULLPTR nullptr97# else98# define YY_NULLPTR 099# endif100# else101# define YY_NULLPTR ((void*)0)102# endif103# endif104105/* Use api.header.include to #include this header106 instead of duplicating it here. */107#ifndef YY_YY_SRC_PARSER_H_INCLUDED108# define YY_YY_SRC_PARSER_H_INCLUDED109/* Debug traces. */110#ifndef YYDEBUG111# define YYDEBUG 0112#endif113#if YYDEBUG114extern int yydebug;115#endif116/* "%code requires" blocks. */

Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd

line 117why, one step back
117#line 12 "src/parser.y"

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 118–133why, one step back
118
119#include "locfile.h"120struct lexer_param;121122#define YYLTYPE location123#define YYLLOC_DEFAULT(Loc, Rhs, N) \124 do { \125 if (N) { \126 (Loc).start = YYRHSLOC(Rhs, 1).start; \127 (Loc).end = YYRHSLOC(Rhs, N).end; \128 } else { \129 (Loc).start = YYRHSLOC(Rhs, 0).end; \130 (Loc).end = YYRHSLOC(Rhs, 0).end; \131 } \132 } while (0)133

Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd

line 134why, one step back
134#line 135 "src/parser.c"

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 135–249why, one step back
135
136/* Token kinds. */137#ifndef YYTOKENTYPE138# define YYTOKENTYPE139 enum yytokentype140 {141 YYEMPTY = -2,142 YYEOF = 0, /* "end of file" */143 YYerror = 256, /* error */144 YYUNDEF = 257, /* "invalid token" */145 INVALID_CHARACTER = 258, /* INVALID_CHARACTER */146 IDENT = 259, /* IDENT */147 FIELD = 260, /* FIELD */148 BINDING = 261, /* BINDING */149 LITERAL = 262, /* LITERAL */150 FORMAT = 263, /* FORMAT */151 REC = 264, /* ".." */152 SETMOD = 265, /* "%=" */153 EQ = 266, /* "==" */154 NEQ = 267, /* "!=" */155 DEFINEDOR = 268, /* "//" */156 AS = 269, /* "as" */157 DEF = 270, /* "def" */158 MODULE = 271, /* "module" */159 IMPORT = 272, /* "import" */160 INCLUDE = 273, /* "include" */161 IF = 274, /* "if" */162 THEN = 275, /* "then" */163 ELSE = 276, /* "else" */164 ELSE_IF = 277, /* "elif" */165 REDUCE = 278, /* "reduce" */166 FOREACH = 279, /* "foreach" */167 END = 280, /* "end" */168 AND = 281, /* "and" */169 OR = 282, /* "or" */170 TRY = 283, /* "try" */171 CATCH = 284, /* "catch" */172 LABEL = 285, /* "label" */173 BREAK = 286, /* "break" */174 LOC = 287, /* "$__loc__" */175 SETPIPE = 288, /* "|=" */176 SETPLUS = 289, /* "+=" */177 SETMINUS = 290, /* "-=" */178 SETMULT = 291, /* "*=" */179 SETDIV = 292, /* "/=" */180 SETDEFINEDOR = 293, /* "//=" */181 LESSEQ = 294, /* "<=" */182 GREATEREQ = 295, /* ">=" */183 ALTERNATION = 296, /* "?//" */184 QQSTRING_START = 297, /* QQSTRING_START */185 QQSTRING_TEXT = 298, /* QQSTRING_TEXT */186 QQSTRING_INTERP_START = 299, /* QQSTRING_INTERP_START */187 QQSTRING_INTERP_END = 300, /* QQSTRING_INTERP_END */188 QQSTRING_END = 301, /* QQSTRING_END */189 FUNCDEF = 302, /* FUNCDEF */190 NONOPT = 303 /* NONOPT */191 };192 typedef enum yytokentype yytoken_kind_t;193#endif194/* Token kinds. */195#define YYEMPTY -2196#define YYEOF 0197#define YYerror 256198#define YYUNDEF 257199#define INVALID_CHARACTER 258200#define IDENT 259201#define FIELD 260202#define BINDING 261203#define LITERAL 262204#define FORMAT 263205#define REC 264206#define SETMOD 265207#define EQ 266208#define NEQ 267209#define DEFINEDOR 268210#define AS 269211#define DEF 270212#define MODULE 271213#define IMPORT 272214#define INCLUDE 273215#define IF 274216#define THEN 275217#define ELSE 276218#define ELSE_IF 277219#define REDUCE 278220#define FOREACH 279221#define END 280222#define AND 281223#define OR 282224#define TRY 283225#define CATCH 284226#define LABEL 285227#define BREAK 286228#define LOC 287229#define SETPIPE 288230#define SETPLUS 289231#define SETMINUS 290232#define SETMULT 291233#define SETDIV 292234#define SETDEFINEDOR 293235#define LESSEQ 294236#define GREATEREQ 295237#define ALTERNATION 296238#define QQSTRING_START 297239#define QQSTRING_TEXT 298240#define QQSTRING_INTERP_START 299241#define QQSTRING_INTERP_END 300242#define QQSTRING_END 301243#define FUNCDEF 302244#define NONOPT 303245246/* Value type. */247#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED248union YYSTYPE249{

Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd

line 250why, one step back
250#line 32 "src/parser.y"

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 251–254why, one step back
251
252 jv literal;253 block blk;254

Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd

line 255why, one step back
255#line 256 "src/parser.c"

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 256–369why, one step back
256
257};258typedef union YYSTYPE YYSTYPE;259# define YYSTYPE_IS_TRIVIAL 1260# define YYSTYPE_IS_DECLARED 1261#endif262263/* Location type. */264#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED265typedef struct YYLTYPE YYLTYPE;266struct YYLTYPE267{268 int first_line;269 int first_column;270 int last_line;271 int last_column;272};273# define YYLTYPE_IS_DECLARED 1274# define YYLTYPE_IS_TRIVIAL 1275#endif276277278279280int yyparse (block* answer, int* errors, struct locfile* locations, struct lexer_param* lexer_param_ptr);281282283#endif /* !YY_YY_SRC_PARSER_H_INCLUDED */284/* Symbol kind. */285enum yysymbol_kind_t286{287 YYSYMBOL_YYEMPTY = -2,288 YYSYMBOL_YYEOF = 0, /* "end of file" */289 YYSYMBOL_YYerror = 1, /* error */290 YYSYMBOL_YYUNDEF = 2, /* "invalid token" */291 YYSYMBOL_INVALID_CHARACTER = 3, /* INVALID_CHARACTER */292 YYSYMBOL_IDENT = 4, /* IDENT */293 YYSYMBOL_FIELD = 5, /* FIELD */294 YYSYMBOL_BINDING = 6, /* BINDING */295 YYSYMBOL_LITERAL = 7, /* LITERAL */296 YYSYMBOL_FORMAT = 8, /* FORMAT */297 YYSYMBOL_REC = 9, /* ".." */298 YYSYMBOL_SETMOD = 10, /* "%=" */299 YYSYMBOL_EQ = 11, /* "==" */300 YYSYMBOL_NEQ = 12, /* "!=" */301 YYSYMBOL_DEFINEDOR = 13, /* "//" */302 YYSYMBOL_AS = 14, /* "as" */303 YYSYMBOL_DEF = 15, /* "def" */304 YYSYMBOL_MODULE = 16, /* "module" */305 YYSYMBOL_IMPORT = 17, /* "import" */306 YYSYMBOL_INCLUDE = 18, /* "include" */307 YYSYMBOL_IF = 19, /* "if" */308 YYSYMBOL_THEN = 20, /* "then" */309 YYSYMBOL_ELSE = 21, /* "else" */310 YYSYMBOL_ELSE_IF = 22, /* "elif" */311 YYSYMBOL_REDUCE = 23, /* "reduce" */312 YYSYMBOL_FOREACH = 24, /* "foreach" */313 YYSYMBOL_END = 25, /* "end" */314 YYSYMBOL_AND = 26, /* "and" */315 YYSYMBOL_OR = 27, /* "or" */316 YYSYMBOL_TRY = 28, /* "try" */317 YYSYMBOL_CATCH = 29, /* "catch" */318 YYSYMBOL_LABEL = 30, /* "label" */319 YYSYMBOL_BREAK = 31, /* "break" */320 YYSYMBOL_LOC = 32, /* "$__loc__" */321 YYSYMBOL_SETPIPE = 33, /* "|=" */322 YYSYMBOL_SETPLUS = 34, /* "+=" */323 YYSYMBOL_SETMINUS = 35, /* "-=" */324 YYSYMBOL_SETMULT = 36, /* "*=" */325 YYSYMBOL_SETDIV = 37, /* "/=" */326 YYSYMBOL_SETDEFINEDOR = 38, /* "//=" */327 YYSYMBOL_LESSEQ = 39, /* "<=" */328 YYSYMBOL_GREATEREQ = 40, /* ">=" */329 YYSYMBOL_ALTERNATION = 41, /* "?//" */330 YYSYMBOL_QQSTRING_START = 42, /* QQSTRING_START */331 YYSYMBOL_QQSTRING_TEXT = 43, /* QQSTRING_TEXT */332 YYSYMBOL_QQSTRING_INTERP_START = 44, /* QQSTRING_INTERP_START */333 YYSYMBOL_QQSTRING_INTERP_END = 45, /* QQSTRING_INTERP_END */334 YYSYMBOL_QQSTRING_END = 46, /* QQSTRING_END */335 YYSYMBOL_FUNCDEF = 47, /* FUNCDEF */336 YYSYMBOL_48_ = 48, /* '|' */337 YYSYMBOL_49_ = 49, /* ',' */338 YYSYMBOL_50_ = 50, /* '=' */339 YYSYMBOL_51_ = 51, /* '<' */340 YYSYMBOL_52_ = 52, /* '>' */341 YYSYMBOL_53_ = 53, /* '+' */342 YYSYMBOL_54_ = 54, /* '-' */343 YYSYMBOL_55_ = 55, /* '*' */344 YYSYMBOL_56_ = 56, /* '/' */345 YYSYMBOL_57_ = 57, /* '%' */346 YYSYMBOL_NONOPT = 58, /* NONOPT */347 YYSYMBOL_59_ = 59, /* '?' */348 YYSYMBOL_60_ = 60, /* ';' */349 YYSYMBOL_61_ = 61, /* '(' */350 YYSYMBOL_62_ = 62, /* ')' */351 YYSYMBOL_63_ = 63, /* ':' */352 YYSYMBOL_64_ = 64, /* '.' */353 YYSYMBOL_65_ = 65, /* '[' */354 YYSYMBOL_66_ = 66, /* ']' */355 YYSYMBOL_67_ = 67, /* '{' */356 YYSYMBOL_68_ = 68, /* '}' */357 YYSYMBOL_69_ = 69, /* '$' */358 YYSYMBOL_YYACCEPT = 70, /* $accept */359 YYSYMBOL_TopLevel = 71, /* TopLevel */360 YYSYMBOL_Module = 72, /* Module */361 YYSYMBOL_Imports = 73, /* Imports */362 YYSYMBOL_FuncDefs = 74, /* FuncDefs */363 YYSYMBOL_Exp = 75, /* Exp */364 YYSYMBOL_Import = 76, /* Import */365 YYSYMBOL_ImportWhat = 77, /* ImportWhat */366 YYSYMBOL_ImportFrom = 78, /* ImportFrom */367 YYSYMBOL_FuncDef = 79, /* FuncDef */368 YYSYMBOL_Params = 80, /* Params */369 YYSYMBOL_Param = 81, /* Param */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 370why, one step back
370 YYSYMBOL_StringStart = 82, /* StringStart */

Make sure to free default `@text` format on errorEmanuele Torrebefore adoptionae95864

line 371why, one step back
371 YYSYMBOL_String = 83, /* String */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 372–387why, one step back
372 YYSYMBOL_QQString = 84, /* QQString */
373 YYSYMBOL_ElseBody = 85, /* ElseBody */374 YYSYMBOL_ExpD = 86, /* ExpD */375 YYSYMBOL_Term = 87, /* Term */376 YYSYMBOL_Args = 88, /* Args */377 YYSYMBOL_Arg = 89, /* Arg */378 YYSYMBOL_RepPatterns = 90, /* RepPatterns */379 YYSYMBOL_Patterns = 91, /* Patterns */380 YYSYMBOL_Pattern = 92, /* Pattern */381 YYSYMBOL_ArrayPats = 93, /* ArrayPats */382 YYSYMBOL_ObjPats = 94, /* ObjPats */383 YYSYMBOL_ObjPat = 95, /* ObjPat */384 YYSYMBOL_Keyword = 96, /* Keyword */385 YYSYMBOL_MkDict = 97, /* MkDict */386 YYSYMBOL_MkDictPair = 98 /* MkDictPair */387};

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 388why, one step back
388typedef enum yysymbol_kind_t yysymbol_kind_t;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 389–390why, one step back
389
390

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 391why, one step back
391/* Second part of user prologue. */

Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd

line 392why, one step back
392#line 127 "src/parser.y"

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 393why, one step back
393

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 394–396why, one step back
394#include "lexer.h"
395struct lexer_param {396 yyscan_t lexer;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 397why, one step back
397};

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 398–403why, one step back
398#define FAIL(loc, msg) \
399 do { \400 location l = loc; \401 yyerror(&l, answer, errors, locations, lexer_param_ptr, msg); \402 /*YYERROR*/; \403 } while (0)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 404why, one step back
404

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 405–410why, one step back
405void yyerror(YYLTYPE* loc, block* answer, int* errors,
406 struct locfile* locations, struct lexer_param* lexer_param_ptr, const char *s){407 (*errors)++;408 if (strstr(s, "unexpected")) {409#ifdef WIN32410 locfile_locate(locations, *loc, "jq: error: %s (Windows cmd shell quoting issues?)", s);

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 411why, one step back
411#else

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 412why, one step back
412 locfile_locate(locations, *loc, "jq: error: %s (Unix shell quoting issues?)", s);

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 413–414why, one step back
413#endif
414 } else {

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 415why, one step back
415 locfile_locate(locations, *loc, "jq: error: %s", s);

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 416–418why, one step back
416 }
417}418

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 419–428why, one step back
419int yylex(YYSTYPE* yylval, YYLTYPE* yylloc, block* answer, int* errors,
420 struct locfile* locations, struct lexer_param* lexer_param_ptr) {421 yyscan_t lexer = lexer_param_ptr->lexer;422 int tok = jq_yylex(yylval, yylloc, lexer);423 if ((tok == LITERAL || tok == QQSTRING_TEXT) && !jv_is_valid(yylval->literal)) {424 jv msg = jv_invalid_get_msg(jv_copy(yylval->literal));425 if (jv_get_kind(msg) == JV_KIND_STRING) {426 FAIL(*yylloc, jv_string_value(msg));427 } else {428 FAIL(*yylloc, "Invalid literal");

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 429why, one step back
429 }

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 430–432why, one step back
430 jv_free(msg);
431 jv_free(yylval->literal);432 yylval->literal = jv_null();

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 433why, one step back
433 }

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 434why, one step back
434 return tok;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 435–436why, one step back
435}
436

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 437–444why, one step back
437/* Returns string message if the block is a constant that is not valid as an
438 * object key. */439static jv check_object_key(block k) {440 if (block_is_const(k) && block_const_kind(k) != JV_KIND_STRING) {441 char errbuf[15];442 return jv_string_fmt("Cannot use %s (%s) as object key",443 jv_kind_name(block_const_kind(k)),444 jv_dump_string_trunc(block_const(k), errbuf, sizeof(errbuf)));

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 445why, one step back
445 }

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 446why, one step back
446 return jv_invalid();

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 447–448why, one step back
447}
448

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 449–450why, one step back
449static block gen_index(block obj, block key) {
450 return BLOCK(gen_subexp(key), obj, gen_op_simple(INDEX));

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 451–452why, one step back
451}
452

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 453–454why, one step back
453static block gen_index_opt(block obj, block key) {
454 return BLOCK(gen_subexp(key), obj, gen_op_simple(INDEX_OPT));

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 455–456why, one step back
455}
456

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 457–465why, one step back
457static block gen_slice_index(block obj, block start, block end, opcode idx_op) {
458 block key = BLOCK(gen_subexp(gen_const(jv_object())),459 gen_subexp(gen_const(jv_string("start"))),460 gen_subexp(start),461 gen_op_simple(INSERT),462 gen_subexp(gen_const(jv_string("end"))),463 gen_subexp(end),464 gen_op_simple(INSERT));465 return BLOCK(key, obj, gen_op_simple(idx_op));

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 466–467why, one step back
466}
467

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 468–470why, one step back
468static block constant_fold(block a, block b, int op) {
469 if (!block_is_single(a) || !block_is_const(a) ||470 !block_is_single(b) || !block_is_const(b))

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 471–472why, one step back
471 return gen_noop();
472

Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd

lines 473–476why, one step back
473 jv jv_a = block_const(a);
474 block_free(a);475 jv jv_b = block_const(b);476 block_free(b);

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 477why, one step back
477

Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd

lines 478–490why, one step back
478 jv res = jv_invalid();
479 switch (op) {480 case '+': res = binop_plus(jv_a, jv_b); break;481 case '-': res = binop_minus(jv_a, jv_b); break;482 case '*': res = binop_multiply(jv_a, jv_b); break;483 case '/': res = binop_divide(jv_a, jv_b); break;484 case '%': res = binop_mod(jv_a, jv_b); break;485 case EQ: res = binop_equal(jv_a, jv_b); break;486 case NEQ: res = binop_notequal(jv_a, jv_b); break;487 case '<': res = binop_less(jv_a, jv_b); break;488 case '>': res = binop_greater(jv_a, jv_b); break;489 case LESSEQ: res = binop_lesseq(jv_a, jv_b); break;490 case GREATEREQ: res = binop_greatereq(jv_a, jv_b); break;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 491–492why, one step back
491 }
492

Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd

lines 493–494why, one step back
493 if (jv_is_valid(res))
494 return gen_const(res);

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 495why, one step back
495

Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd

line 496why, one step back
496 return gen_error(jv_invalid_get_msg(res));

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 497–498why, one step back
497}
498

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 499–502why, one step back
499static block gen_binop(block a, block b, int op) {
500 block folded = constant_fold(a, b, op);501 if (!block_is_noop(folded))502 return folded;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 503why, one step back
503

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 504–516why, one step back
504 const char* funcname = 0;
505 switch (op) {506 case '+': funcname = "_plus"; break;507 case '-': funcname = "_minus"; break;508 case '*': funcname = "_multiply"; break;509 case '/': funcname = "_divide"; break;510 case '%': funcname = "_mod"; break;511 case EQ: funcname = "_equal"; break;512 case NEQ: funcname = "_notequal"; break;513 case '<': funcname = "_less"; break;514 case '>': funcname = "_greater"; break;515 case LESSEQ: funcname = "_lesseq"; break;516 case GREATEREQ: funcname = "_greatereq"; break;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 517why, one step back
517 }

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 518why, one step back
518 assert(funcname);

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 519why, one step back
519

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 520why, one step back
520 return gen_call(funcname, BLOCK(gen_lambda(a), gen_lambda(b)));

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 521–522why, one step back
521}
522

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 523–524why, one step back
523static block gen_format(block a, jv fmt) {
524 return BLOCK(a, gen_call("format", gen_lambda(gen_const(fmt))));

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 525–526why, one step back
525}
526

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 527why, one step back
527static block gen_definedor_assign(block object, block val) {

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 528–529why, one step back
528 block tmp = gen_op_var_fresh(STOREV, "tmp");
529 return BLOCK(gen_op_simple(DUP),

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 530why, one step back
530 val, tmp,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 531why, one step back
531 gen_call("_modify", BLOCK(gen_lambda(object),

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 532–533why, one step back
532 gen_lambda(gen_definedor(gen_noop(),
533 gen_op_bound(LOADV, tmp))))));

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 534–535why, one step back
534}
535

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 536why, one step back
536static block gen_update(block object, block val, int optype) {

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 537–538why, one step back
537 block tmp = gen_op_var_fresh(STOREV, "tmp");
538 return BLOCK(gen_op_simple(DUP),

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 539–540why, one step back
539 val,
540 tmp,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 541why, one step back
541 gen_call("_modify", BLOCK(gen_lambda(object),

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 542–544why, one step back
542 gen_lambda(gen_binop(gen_noop(),
543 gen_op_bound(LOADV, tmp),544 optype)))));

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 545–546why, one step back
545}
546

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 547–549why, one step back
547static block gen_loc_object(location *loc, struct locfile *locations) {
548 return gen_const(JV_OBJECT(jv_string("file"), jv_copy(locations->fname),549 jv_string("line"), jv_number(locfile_get_line(locations, loc->start) + 1)));

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 550–552why, one step back
550}
551552

Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd

line 553why, one step back
553#line 554 "src/parser.c"

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 554–555why, one step back
554
555

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 556–557why, one step back
556#ifdef short
557# undef short

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 558–559why, one step back
558#endif
559

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 560–562why, one step back
560/* On compilers that do not define __PTRDIFF_MAX__ etc., make sure
561 <limits.h> and (if available) <stdint.h> are included562 so that the code can choose integer types of a good width. */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 563why, one step back
563

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 564–568why, one step back
564#ifndef __PTRDIFF_MAX__
565# include <limits.h> /* INFRINGES ON USER NAME SPACE */566# if defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__567# include <stdint.h> /* INFRINGES ON USER NAME SPACE */568# define YY_STDINT_H

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 569–571why, one step back
569# endif
570#endif571

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 572–575why, one step back
572/* Narrow types that promote to a signed type and that can represent a
573 signed or unsigned integer of at least N bits. In tables they can574 save space and decrease cache pressure. Promoting to a signed type575 helps avoid bugs in integer arithmetic. */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 576why, one step back
576

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 577–578why, one step back
577#ifdef __INT_LEAST8_MAX__
578typedef __INT_LEAST8_TYPE__ yytype_int8;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 579why, one step back
579#elif defined YY_STDINT_H

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 580why, one step back
580typedef int_least8_t yytype_int8;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 581why, one step back
581#else

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 582why, one step back
582typedef signed char yytype_int8;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 583–584why, one step back
583#endif
584

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 585–586why, one step back
585#ifdef __INT_LEAST16_MAX__
586typedef __INT_LEAST16_TYPE__ yytype_int16;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 587why, one step back
587#elif defined YY_STDINT_H

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 588why, one step back
588typedef int_least16_t yytype_int16;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 589why, one step back
589#else

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 590why, one step back
590typedef short yytype_int16;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 591–592why, one step back
591#endif
592

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 593–602why, one step back
593/* Work around bug in HP-UX 11.23, which defines these macros
594 incorrectly for preprocessor constants. This workaround can likely595 be removed in 2023, as HPE has promised support for HP-UX 11.23596 (aka HP-UX 11i v2) only through the end of 2022; see Table 2 of597 <https://h20195.www2.hpe.com/V2/getpdf.aspx/4AA4-7673ENW.pdf>. */598#ifdef __hpux599# undef UINT_LEAST8_MAX600# undef UINT_LEAST16_MAX601# define UINT_LEAST8_MAX 255602# define UINT_LEAST16_MAX 65535

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 603–604why, one step back
603#endif
604

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 605–611why, one step back
605#if defined __UINT_LEAST8_MAX__ && __UINT_LEAST8_MAX__ <= __INT_MAX__
606typedef __UINT_LEAST8_TYPE__ yytype_uint8;607#elif (!defined __UINT_LEAST8_MAX__ && defined YY_STDINT_H \608 && UINT_LEAST8_MAX <= INT_MAX)609typedef uint_least8_t yytype_uint8;610#elif !defined __UINT_LEAST8_MAX__ && UCHAR_MAX <= INT_MAX611typedef unsigned char yytype_uint8;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 612why, one step back
612#else

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 613why, one step back
613typedef short yytype_uint8;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 614–615why, one step back
614#endif
615

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 616–622why, one step back
616#if defined __UINT_LEAST16_MAX__ && __UINT_LEAST16_MAX__ <= __INT_MAX__
617typedef __UINT_LEAST16_TYPE__ yytype_uint16;618#elif (!defined __UINT_LEAST16_MAX__ && defined YY_STDINT_H \619 && UINT_LEAST16_MAX <= INT_MAX)620typedef uint_least16_t yytype_uint16;621#elif !defined __UINT_LEAST16_MAX__ && USHRT_MAX <= INT_MAX622typedef unsigned short yytype_uint16;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 623why, one step back
623#else

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 624why, one step back
624typedef int yytype_uint16;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 625–626why, one step back
625#endif
626

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 627–633why, one step back
627#ifndef YYPTRDIFF_T
628# if defined __PTRDIFF_TYPE__ && defined __PTRDIFF_MAX__629# define YYPTRDIFF_T __PTRDIFF_TYPE__630# define YYPTRDIFF_MAXIMUM __PTRDIFF_MAX__631# elif defined PTRDIFF_MAX632# ifndef ptrdiff_t633# include <stddef.h> /* INFRINGES ON USER NAME SPACE */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 634why, one step back
634# endif

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 635–636why, one step back
635# define YYPTRDIFF_T ptrdiff_t
636# define YYPTRDIFF_MAXIMUM PTRDIFF_MAX

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 637why, one step back
637# else

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 638–639why, one step back
638# define YYPTRDIFF_T long
639# define YYPTRDIFF_MAXIMUM LONG_MAX

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 640–642why, one step back
640# endif
641#endif642

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 643–646why, one step back
643#ifndef YYSIZE_T
644# ifdef __SIZE_TYPE__645# define YYSIZE_T __SIZE_TYPE__646# elif defined size_t

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 647why, one step back
647# define YYSIZE_T size_t

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 648–649why, one step back
648# elif defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__
649# include <stddef.h> /* INFRINGES ON USER NAME SPACE */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 650–651why, one step back
650# define YYSIZE_T size_t
651# else

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 652why, one step back
652# define YYSIZE_T unsigned

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 653–655why, one step back
653# endif
654#endif655

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 656–660why, one step back
656#define YYSIZE_MAXIMUM \
657 YY_CAST (YYPTRDIFF_T, \658 (YYPTRDIFF_MAXIMUM < YY_CAST (YYSIZE_T, -1) \659 ? YYPTRDIFF_MAXIMUM \660 : YY_CAST (YYSIZE_T, -1)))

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 661why, one step back
661

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 662why, one step back
662#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 663–664why, one step back
663
664

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 665–666why, one step back
665/* Stored state numbers (used for stacks). */
666typedef yytype_int16 yy_state_t;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 667why, one step back
667

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 668–669why, one step back
668/* State numbers in computations. */
669typedef int yy_state_fast_t;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 670why, one step back
670

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 671–675why, one step back
671#ifndef YY_
672# if defined YYENABLE_NLS && YYENABLE_NLS673# if ENABLE_NLS674# include <libintl.h> /* INFRINGES ON USER NAME SPACE */675# define YY_(Msgid) dgettext ("bison-runtime", Msgid)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 676–677why, one step back
676# endif
677# endif

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 678–679why, one step back
678# ifndef YY_
679# define YY_(Msgid) Msgid

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 680–683why, one step back
680# endif
681#endif682683

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 684–686why, one step back
684#ifndef YY_ATTRIBUTE_PURE
685# if defined __GNUC__ && 2 < __GNUC__ + (96 <= __GNUC_MINOR__)686# define YY_ATTRIBUTE_PURE __attribute__ ((__pure__))

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 687why, one step back
687# else

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 688why, one step back
688# define YY_ATTRIBUTE_PURE

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 689–691why, one step back
689# endif
690#endif691

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 692–694why, one step back
692#ifndef YY_ATTRIBUTE_UNUSED
693# if defined __GNUC__ && 2 < __GNUC__ + (7 <= __GNUC_MINOR__)694# define YY_ATTRIBUTE_UNUSED __attribute__ ((__unused__))

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 695why, one step back
695# else

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 696why, one step back
696# define YY_ATTRIBUTE_UNUSED

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 697–699why, one step back
697# endif
698#endif699

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 700–702why, one step back
700/* Suppress unused-variable warnings by "using" E. */
701#if ! defined lint || defined __GNUC__702# define YY_USE(E) ((void) (E))

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 703why, one step back
703#else

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 704why, one step back
704# define YY_USE(E) /* empty */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 705–706why, one step back
705#endif
706

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 707–709why, one step back
707/* Suppress an incorrect diagnostic about yylval being uninitialized. */
708#if defined __GNUC__ && ! defined __ICC && 406 <= __GNUC__ * 100 + __GNUC_MINOR__709# if __GNUC__ * 100 + __GNUC_MINOR__ < 407

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 710–711why, one step back
710# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \
711 _Pragma ("GCC diagnostic push") \

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 712why, one step back
712 _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 713–715why, one step back
713# else
714# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \715 _Pragma ("GCC diagnostic push") \

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 716–717why, one step back
716 _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") \
717 _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 718why, one step back
718# endif

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 719why, one step back
719# define YY_IGNORE_MAYBE_UNINITIALIZED_END \

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 720–721why, one step back
720 _Pragma ("GCC diagnostic pop")
721#else

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 722why, one step back
722# define YY_INITIAL_VALUE(Value) Value

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 723why, one step back
723#endif

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 724–726why, one step back
724#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
725# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN726# define YY_IGNORE_MAYBE_UNINITIALIZED_END

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 727why, one step back
727#endif

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 728–729why, one step back
728#ifndef YY_INITIAL_VALUE
729# define YY_INITIAL_VALUE(Value) /* Nothing. */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 730–731why, one step back
730#endif
731

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 732–736why, one step back
732#if defined __cplusplus && defined __GNUC__ && ! defined __ICC && 6 <= __GNUC__
733# define YY_IGNORE_USELESS_CAST_BEGIN \734 _Pragma ("GCC diagnostic push") \735 _Pragma ("GCC diagnostic ignored \"-Wuseless-cast\"")736# define YY_IGNORE_USELESS_CAST_END \

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 737–738why, one step back
737 _Pragma ("GCC diagnostic pop")
738#endif

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 739–741why, one step back
739#ifndef YY_IGNORE_USELESS_CAST_BEGIN
740# define YY_IGNORE_USELESS_CAST_BEGIN741# define YY_IGNORE_USELESS_CAST_END

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 742–744why, one step back
742#endif
743744

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 745why, one step back
745#define YY_ASSERT(E) ((void) (0 && (E)))

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 746–748why, one step back
746
747#if 1748

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 749why, one step back
749/* The parser invokes alloca or malloc; define the necessary symbols. */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 750why, one step back
750

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 751–770why, one step back
751# ifdef YYSTACK_USE_ALLOCA
752# if YYSTACK_USE_ALLOCA753# ifdef __GNUC__754# define YYSTACK_ALLOC __builtin_alloca755# elif defined __BUILTIN_VA_ARG_INCR756# include <alloca.h> /* INFRINGES ON USER NAME SPACE */757# elif defined _AIX758# define YYSTACK_ALLOC __alloca759# elif defined _MSC_VER760# include <malloc.h> /* INFRINGES ON USER NAME SPACE */761# define alloca _alloca762# else763# define YYSTACK_ALLOC alloca764# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS765# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */766 /* Use EXIT_SUCCESS as a witness for stdlib.h. */767# ifndef EXIT_SUCCESS768# define EXIT_SUCCESS 0769# endif770# endif

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 771–774why, one step back
771# endif
772# endif773# endif774

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 775–777why, one step back
775# ifdef YYSTACK_ALLOC
776 /* Pacify GCC's 'empty if-body' warning. */777# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 778why, one step back
778# ifndef YYSTACK_ALLOC_MAXIMUM

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 779–783why, one step back
779 /* The OS might guarantee only one guard page at the bottom of the stack,
780 and a page size can be as small as 4096 bytes. So we cannot safely781 invoke alloca (N) if N exceeds 4096. Use a slightly smaller number782 to allow for a few compiler-allocated temporary stack slots. */783# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 784–785why, one step back
784# endif
785# else

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 786–787why, one step back
786# define YYSTACK_ALLOC YYMALLOC
787# define YYSTACK_FREE YYFREE

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 788why, one step back
788# ifndef YYSTACK_ALLOC_MAXIMUM

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 789why, one step back
789# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 790why, one step back
790# endif

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 791–796why, one step back
791# if (defined __cplusplus && ! defined EXIT_SUCCESS \
792 && ! ((defined YYMALLOC || defined malloc) \793 && (defined YYFREE || defined free)))794# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */795# ifndef EXIT_SUCCESS796# define EXIT_SUCCESS 0

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 797–798why, one step back
797# endif
798# endif

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 799–802why, one step back
799# ifndef YYMALLOC
800# define YYMALLOC malloc801# if ! defined malloc && ! defined EXIT_SUCCESS802void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 803–804why, one step back
803# endif
804# endif

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 805–808why, one step back
805# ifndef YYFREE
806# define YYFREE free807# if ! defined free && ! defined EXIT_SUCCESS808void free (void *); /* INFRINGES ON USER NAME SPACE */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 809–811why, one step back
809# endif
810# endif811# endif

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 812why, one step back
812#endif /* 1 */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 813why, one step back
813

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 814–817why, one step back
814#if (! defined yyoverflow \
815 && (! defined __cplusplus \816 || (defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL \817 && defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 818why, one step back
818

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 819–820why, one step back
819/* A type that is properly aligned for any stack member. */
820union yyalloc

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 821why, one step back
821{

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 822–824why, one step back
822 yy_state_t yyss_alloc;
823 YYSTYPE yyvs_alloc;824 YYLTYPE yyls_alloc;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 825–826why, one step back
825};
826

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 827–828why, one step back
827/* The size of the maximum gap between one aligned stack and the next. */
828# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 829why, one step back
829

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 830–835why, one step back
830/* The size of an array large to enough to hold all stacks, each with
831 N elements. */832# define YYSTACK_BYTES(N) \833 ((N) * (YYSIZEOF (yy_state_t) + YYSIZEOF (YYSTYPE) \834 + YYSIZEOF (YYLTYPE)) \835 + 2 * YYSTACK_GAP_MAXIMUM)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 836why, one step back
836

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 837why, one step back
837# define YYCOPY_NEEDED 1

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 838why, one step back
838

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 839–844why, one step back
839/* Relocate STACK from its old location to the new one. The
840 local variables YYSIZE and YYSTACKSIZE give the old and new number of841 elements in the stack, and YYPTR gives the new location of the842 stack. Advance YYPTR to a properly aligned location for the next843 stack. */844# define YYSTACK_RELOCATE(Stack_alloc, Stack) \

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 845why, one step back
845 do \

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 846–852why, one step back
846 { \
847 YYPTRDIFF_T yynewbytes; \848 YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \849 Stack = &yyptr->Stack_alloc; \850 yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \851 yyptr += yynewbytes / YYSIZEOF (*yyptr); \852 } \

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 853–856why, one step back
853 while (0)
854855#endif856

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 857–863why, one step back
857#if defined YYCOPY_NEEDED && YYCOPY_NEEDED
858/* Copy COUNT objects from SRC to DST. The source and destination do859 not overlap. */860# ifndef YYCOPY861# if defined __GNUC__ && 1 < __GNUC__862# define YYCOPY(Dst, Src, Count) \863 __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 864why, one step back
864# else

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 865–872why, one step back
865# define YYCOPY(Dst, Src, Count) \
866 do \867 { \868 YYPTRDIFF_T yyi; \869 for (yyi = 0; yyi < (Count); yyi++) \870 (Dst)[yyi] = (Src)[yyi]; \871 } \872 while (0)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 873–874why, one step back
873# endif
874# endif

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 875why, one step back
875#endif /* !YYCOPY_NEEDED */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 876why, one step back
876

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 877why, one step back
877/* YYFINAL -- State number of the termination state. */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 878why, one step back
878#define YYFINAL 30

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 879why, one step back
879/* YYLAST -- Last index in YYTABLE. */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 880–881why, one step back
880#define YYLAST 2051
881

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 882–884why, one step back
882/* YYNTOKENS -- Number of terminals. */
883#define YYNTOKENS 70884/* YYNNTS -- Number of nonterminals. */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 885why, one step back
885#define YYNNTS 29

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 886why, one step back
886/* YYNRULES -- Number of rules. */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 887why, one step back
887#define YYNRULES 169

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 888why, one step back
888/* YYNSTATES -- Number of states. */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 889–890why, one step back
889#define YYNSTATES 315
890

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 891–892why, one step back
891/* YYMAXUTOK -- Last valid token kind. */
892#define YYMAXUTOK 303

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 893–894why, one step back
893
894

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 895–900why, one step back
895/* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM
896 as returned by yylex, with out-of-bounds checking. */897#define YYTRANSLATE(YYX) \898 (0 <= (YYX) && (YYX) <= YYMAXUTOK \899 ? YY_CAST (yysymbol_kind_t, yytranslate[YYX]) \900 : YYSYMBOL_YYUNDEF)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 901why, one step back
901

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 902–904why, one step back
902/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM
903 as returned by yylex. */904static const yytype_int8 yytranslate[] =

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 905why, one step back
905{

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 906why, one step back
906 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 907–908why, one step back
907 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
908 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 909–912why, one step back
909 2, 2, 2, 2, 2, 2, 69, 57, 2, 2,
910 61, 62, 55, 53, 49, 54, 64, 56, 2, 2,911 2, 2, 2, 2, 2, 2, 2, 2, 63, 60,912 51, 50, 52, 59, 2, 2, 2, 2, 2, 2,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 913–914why, one step back
913 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
914 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 915why, one step back
915 2, 65, 2, 66, 2, 2, 2, 2, 2, 2,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 916–917why, one step back
916 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
917 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 918why, one step back
918 2, 2, 2, 67, 48, 68, 2, 2, 2, 2,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 919–930why, one step back
919 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
920 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,921 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,922 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,923 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,924 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,925 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,926 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,927 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,928 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,929 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,930 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 931–932why, one step back
931 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
932 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 933why, one step back
933 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 934–936why, one step back
934 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
935 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,936 45, 46, 47, 58

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 937–939why, one step back
937};
938939#if YYDEBUG

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 940–941why, one step back
940/* YYRLINE[YYN] -- Source line where rule number YYN was defined. */
941static const yytype_int16 yyrline[] =

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 942why, one step back
942{

Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd

lines 943–959why, one step back
943 0, 290, 290, 293, 298, 301, 316, 319, 324, 327,
944 332, 336, 339, 343, 347, 351, 354, 359, 362, 365,945 370, 377, 381, 385, 389, 393, 397, 401, 405, 409,946 413, 417, 421, 425, 429, 433, 437, 441, 445, 449,947 453, 457, 461, 465, 469, 473, 477, 481, 486, 489,948 506, 515, 522, 530, 541, 546, 552, 555, 560, 564,949 571, 574, 580, 587, 590, 593, 599, 602, 605, 610,950 613, 616, 622, 625, 628, 636, 640, 643, 646, 649,951 652, 655, 658, 661, 664, 668, 674, 677, 680, 683,952 686, 689, 692, 695, 698, 701, 704, 707, 710, 713,953 716, 719, 722, 725, 728, 731, 734, 756, 760, 764,954 767, 779, 784, 785, 786, 787, 790, 793, 798, 803,955 806, 811, 814, 819, 823, 826, 831, 834, 839, 842,956 847, 850, 853, 856, 859, 862, 870, 876, 879, 882,957 885, 888, 891, 894, 897, 900, 903, 906, 909, 912,958 915, 918, 921, 924, 927, 932, 935, 936, 937, 940,959 943, 946, 949, 953, 958, 962, 966, 970, 974, 982

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 960–962why, one step back
960};
961#endif962

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 963–964why, one step back
963/** Accessing symbol of state STATE. */
964#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 965–966why, one step back
965
966#if 1

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 967–969why, one step back
967/* The user-facing name of the symbol whose (internal) number is
968 YYSYMBOL. No bounds checking. */969static const char *yysymbol_name (yysymbol_kind_t yysymbol) YY_ATTRIBUTE_UNUSED;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 970why, one step back
970

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 971–973why, one step back
971/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
972 First, the terminals, then, starting at YYNTOKENS, nonterminals. */973static const char *const yytname[] =

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 974why, one step back
974{

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 975–987why, one step back
975 "\"end of file\"", "error", "\"invalid token\"", "INVALID_CHARACTER",
976 "IDENT", "FIELD", "BINDING", "LITERAL", "FORMAT", "\"..\"", "\"%=\"",977 "\"==\"", "\"!=\"", "\"//\"", "\"as\"", "\"def\"", "\"module\"",978 "\"import\"", "\"include\"", "\"if\"", "\"then\"", "\"else\"",979 "\"elif\"", "\"reduce\"", "\"foreach\"", "\"end\"", "\"and\"", "\"or\"",980 "\"try\"", "\"catch\"", "\"label\"", "\"break\"", "\"$__loc__\"",981 "\"|=\"", "\"+=\"", "\"-=\"", "\"*=\"", "\"/=\"", "\"//=\"", "\"<=\"",982 "\">=\"", "\"?//\"", "QQSTRING_START", "QQSTRING_TEXT",983 "QQSTRING_INTERP_START", "QQSTRING_INTERP_END", "QQSTRING_END",984 "FUNCDEF", "'|'", "','", "'='", "'<'", "'>'", "'+'", "'-'", "'*'", "'/'",985 "'%'", "NONOPT", "'?'", "';'", "'('", "')'", "':'", "'.'", "'['", "']'",986 "'{'", "'}'", "'$'", "$accept", "TopLevel", "Module", "Imports",987 "FuncDefs", "Exp", "Import", "ImportWhat", "ImportFrom", "FuncDef",

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 988why, one step back
988 "Params", "Param", "StringStart", "String", "QQString", "ElseBody",

Make sure to free default `@text` format on errorEmanuele Torrebefore adoptionae95864

lines 989–990why, one step back
989 "ExpD", "Term", "Args", "Arg", "RepPatterns", "Patterns", "Pattern",
990 "ArrayPats", "ObjPats", "ObjPat", "Keyword", "MkDict", "MkDictPair", YY_NULLPTR

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 991–992why, one step back
991};
992

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 993–994why, one step back
993static const char *
994yysymbol_name (yysymbol_kind_t yysymbol)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 995why, one step back
995{

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 996why, one step back
996 return yytname[yysymbol];

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 997–1001why, one step back
997}
998#endif9991000#define YYPACT_NINF (-157)1001

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1002–1003why, one step back
1002#define yypact_value_is_default(Yyn) \
1003 ((Yyn) == YYPACT_NINF)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1004–1006why, one step back
1004
1005#define YYTABLE_NINF (-156)1006

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1007–1008why, one step back
1007#define yytable_value_is_error(Yyn) \
1008 ((Yyn) == YYTABLE_NINF)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1009why, one step back
1009

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1010–1012why, one step back
1010/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
1011 STATE-NUM. */1012static const yytype_int16 yypact[] =

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1013–1047why, one step back
1013{
1014 -14, 881, 15, 62, -33, -23, -157, -157, -9, -157,1015 37, 881, 912, 912, 881, 40, 2, -157, -157, 881,1016 193, 282, 415, 595, -18, 1400, 881, -157, -157, 12,1017 -157, 1, 1, 881, 62, 683, 881, -157, -157, -11,1018 1756, 17, 49, 26, 10, -157, -157, 14, 21, 1230,1019 -157, 74, -9, 53, 51, -157, 1041, -26, 63, 64,1020 -157, -157, -157, -157, -157, -157, -157, -157, -157, -157,1021 -157, -157, -157, -157, -157, -157, -157, -157, -157, 881,1022 65, 69, 70, 82, 67, 881, 881, 881, 881, 881,1023 881, 881, 881, 881, 881, 881, 881, 881, 881, 881,1024 881, 881, 881, 881, 881, 881, 881, 881, 881, -157,1025 -157, 1924, 13, 87, -5, -4, 348, 127, -157, -157,1026 -157, 1924, 881, -157, -157, 1451, 1924, 56, -157, 68,1027 881, 482, -5, -5, 533, 881, -157, -157, -157, -157,1028 -157, -157, 651, 513, -157, 513, 513, 1264, 513, 513,1029 -157, 651, 144, 1992, 113, 113, 1958, 594, 913, 1992,1030 1992, 1992, 1992, 1992, 1992, 113, 113, 1924, 1958, 1992,1031 113, 113, 14, 14, 98, 98, 98, -157, 881, -157,1032 -157, -157, -5, 974, 117, 111, 119, 749, 102, 96,1033 881, 104, 1007, 116, -157, -157, 881, -157, -157, -157,1034 61, -157, 1502, -157, 1706, 110, 112, -157, -157, 1924,1035 -10, -157, 513, 126, 0, 126, 126, 115, 126, 126,1036 -157, -157, 1790, -157, -37, 118, 120, 121, 881, 122,1037 -38, -157, 124, -5, 881, 123, 1075, -157, -157, 1109,1038 -157, 815, 131, -157, -157, -157, 68, 128, -157, 881,1039 881, -157, -157, 881, 881, -157, 513, 513, -157, -5,1040 -157, -5, -5, -5, 1298, -5, 974, -157, -5, 134,1041 1924, -157, 133, 137, 145, 1143, -157, -157, 881, 1840,1042 1890, 1553, 1604, 126, 126, -157, -157, -157, -157, 130,1043 -157, -157, -157, -157, -157, -157, 146, 1655, -157, 881,1044 881, 881, -5, -157, -157, 1706, 1332, 1177, -157, -157,1045 -157, 881, -157, 1366, -1571046};1047

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1048–1051why, one step back
1048/* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
1049 Performed when YYTABLE does not specify something else to do. Zero1050 means the default is an error. */1051static const yytype_uint8 yydefact[] =

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1052–1062why, one step back
1052{
1053 4, 0, 0, 6, 110, 81, 108, 100, 102, 73,1054 0, 0, 0, 0, 0, 0, 0, 109, 61, 0,1055 0, 0, 0, 0, 0, 0, 0, 63, 101, 47,1056 1, 0, 0, 8, 6, 0, 0, 77, 60, 0,1057 0, 0, 0, 18, 0, 75, 74, 32, 0, 0,1058 84, 0, 0, 83, 0, 105, 0, 0, 165, 164,1059 137, 138, 139, 140, 141, 142, 143, 144, 145, 146,1060 147, 148, 149, 150, 151, 152, 153, 154, 166, 0,1061 162, 167, 0, 156, 0, 0, 0, 0, 0, 0,1062 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1063why, one step back
1063 0, 0, 0, 0, 0, 0, 0, 0, 0, 21,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1064–1086why, one step back
1064 5, 10, 0, 80, 0, 0, 0, 0, 53, 52,
1065 3, 2, 8, 7, 48, 0, 118, 0, 116, 0,1066 0, 0, 0, 0, 0, 0, 112, 103, 85, 79,1067 113, 104, 0, 0, 115, 0, 0, 0, 0, 0,1068 106, 0, 0, 40, 41, 42, 25, 24, 23, 27,1069 31, 34, 36, 39, 26, 45, 46, 28, 29, 22,1070 43, 44, 30, 33, 35, 37, 38, 64, 0, 62,1071 76, 123, 0, 0, 0, 0, 122, 0, 82, 0,1072 0, 91, 0, 0, 9, 49, 0, 111, 59, 58,1073 0, 56, 0, 16, 0, 0, 0, 19, 17, 20,1074 0, 158, 0, 169, 71, 159, 163, 0, 161, 160,1075 157, 107, 0, 126, 0, 0, 0, 130, 0, 0,1076 0, 128, 0, 0, 0, 93, 0, 78, 114, 0,1077 90, 0, 87, 51, 50, 117, 0, 0, 54, 0,1078 0, 68, 15, 0, 0, 70, 0, 0, 65, 0,1079 124, 0, 0, 0, 0, 0, 0, 125, 0, 121,1080 11, 92, 89, 99, 98, 0, 86, 57, 0, 0,1081 0, 0, 0, 69, 168, 127, 136, 132, 131, 0,1082 134, 129, 133, 88, 96, 95, 97, 0, 67, 0,1083 0, 0, 0, 94, 55, 0, 0, 0, 135, 66,1084 12, 0, 14, 0, 131085};1086

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1087–1088why, one step back
1087/* YYPGOTO[NTERM-NUM]. */
1088static const yytype_int16 yypgoto[] =

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1089–1094why, one step back
1089{
1090 -157, -157, -157, 169, 57, -1, -157, -157, 148, -13,1091 -157, -39, -157, -7, -157, -96, -101, -6, -157, 18,1092 -157, -66, -114, -157, -157, -56, -156, -102, -1571093};1094

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1095–1096why, one step back
1095/* YYDEFGOTO[NTERM-NUM]. */
1096static const yytype_uint8 yydefgoto[] =

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1097–1102why, one step back
1097{
1098 0, 2, 3, 33, 120, 111, 34, 35, 117, 26,1099 200, 201, 27, 28, 112, 252, 213, 29, 127, 128,1100 184, 185, 186, 224, 230, 231, 81, 82, 831101};1102

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1103–1106why, one step back
1103/* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If
1104 positive, shift that token. If negative, reduce the rule whose1105 number is the opposite. If YYTABLE_NINF, syntax error. */1106static const yytype_int16 yytable[] =

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1107–1145why, one step back
1107{
1108 25, 181, 1, 45, 52, 113, 41, 42, 46, 52,1109 40, 266, 259, 43, 53, 30, 80, 113, 47, 49,1110 122, 56, 113, 142, 118, 118, 114, 232, 36, 260,1111 267, 132, 121, 38, 125, 126, 37, 143, 18, 142,1112 211, 39, 144, 18, 215, 216, 44, 218, 219, 220,1113 129, 84, 130, 143, 113, 134, 177, 178, 135, 179,1114 182, 187, 183, 133, 115, 116, 205, 206, 223, 106,1115 107, 108, 198, 109, 199, 138, 115, 116, 147, 31,1116 32, 115, 116, 136, 153, 154, 155, 156, 157, 158,1117 159, 160, 161, 162, 163, 164, 165, 166, 167, 168,1118 169, 170, 171, 172, 173, 174, 175, 176, 188, 122,1119 232, 255, 139, 115, 116, 192, 196, 140, 197, 269,1120 243, 246, 244, 247, -156, -156, 145, 146, 148, 202,1121 204, 151, 149, 208, 209, 80, 152, 214, 150, 214,1122 214, 193, 214, 214, 80, 285, 180, 286, 287, 288,1123 221, 290, -156, -156, 292, 283, 284, 109, 233, 234,1124 -120, 237, 238, 240, -156, -156, 104, 105, 106, 107,1125 108, 253, 109, 254, 256, -119, 229, 222, 257, 194,1126 119, 261, 271, 262, 263, 265, 236, 268, 308, 239,1127 276, 278, 293, 302, 48, 126, 294, 4, 5, 6,1128 7, 8, 9, 123, 295, 303, 214, 277, 10, 309,1129 291, 0, 11, 0, 245, 0, 12, 13, 0, 0,1130 0, 14, 0, 15, 16, 17, 0, 264, 0, 0,1131 0, 0, 0, 270, 0, 18, 0, 0, 0, 0,1132 275, 0, 0, 0, 0, 0, 0, 19, 279, 280,1133 214, 214, 281, 282, 20, 0, 0, 21, 22, 229,1134 23, 0, 24, 0, 0, 0, 0, 0, 0, 0,1135 0, 0, 0, 0, 0, 0, 0, 297, 0, 0,1136 0, 0, -72, 50, 0, 0, 51, -72, 0, 0,1137 52, 0, -72, -72, -72, -72, -72, 0, 305, 306,1138 307, 0, -72, -72, -72, 0, 0, -72, -72, -72,1139 313, -72, 0, 0, 0, -72, -72, -72, -72, -72,1140 -72, -72, -72, 0, 18, 0, 0, -72, 0, 0,1141 -72, -72, -72, -72, -72, -72, -72, -72, -72, -72,1142 0, -72, -72, 0, -72, -72, -72, -72, -72, 189,1143 -72, 0, 4, 5, 6, 7, 8, 9, 0, 0,1144 0, 0, 0, 10, 0, 0, 0, 11, 0, 0,1145 0, 12, 13, 0, 0, 0, 14, 0, 15, 16,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1146why, one step back
1146 17, 0, 0, 0, 0, 0, 0, 0, 0, 0,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1147why, one step back
1147 18, 0, 0, 0, 0, 0, 0, 0, 0, 0,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1148why, one step back
1148 0, 0, 19, 0, 0, 0, 0, 0, 0, 20,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1149–1209why, one step back
1149 0, 190, 21, 22, 191, 23, 54, 24, 0, 4,
1150 5, 6, 7, 8, 9, 0, 0, 0, 0, 0,1151 10, 0, 0, 0, 11, 0, 0, 0, 12, 13,1152 0, 0, 0, 14, 0, 15, 16, 17, 0, 0,1153 0, 0, 0, 0, 0, 0, 0, 18, 0, 0,1154 0, 0, 0, 0, 0, 0, 0, 0, 0, 19,1155 0, 0, 0, 0, 0, 0, 20, 0, 0, 21,1156 22, 55, 23, 203, 24, 0, 4, 5, 6, 7,1157 8, 9, 0, 0, 0, 0, 0, 10, 0, 0,1158 0, 11, 0, 0, 0, 12, 13, 0, 0, 0,1159 14, 0, 15, 16, 17, 0, 0, 4, 5, 6,1160 7, 8, 9, 0, 18, 0, 0, 0, 0, 0,1161 0, 0, 0, 0, 207, 0, 19, 4, 5, 6,1162 7, 8, 9, 20, 16, 17, 21, 22, 10, 23,1163 0, 24, 11, 0, 0, 18, 12, 13, 0, 0,1164 0, 14, 0, 15, 16, 17, 0, 212, 0, 0,1165 0, 0, 0, 0, 20, 18, 0, 21, 22, 0,1166 23, 0, 24, 0, 0, 0, 0, 19, 0, 0,1167 0, 0, 0, 0, 20, 0, 57, 21, 22, 58,1168 23, 59, 24, 52, 0, 86, 87, 0, 0, 60,1169 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,1170 71, 72, 73, 74, 75, 76, 77, 78, 0, 0,1171 0, 0, 0, 97, 98, 0, 0, 18, 0, 0,1172 0, 0, 0, 0, 0, 102, 103, 104, 105, 106,1173 107, 108, 210, 109, 0, 58, 79, 59, 0, 52,1174 0, 0, 0, -155, 0, 60, 61, 62, 63, 64,1175 65, 66, 67, 68, 69, 70, 71, 72, 73, 74,1176 75, 76, 77, 78, 0, 0, 0, 4, 5, 6,1177 7, 8, 9, 18, 0, 0, 0, 0, 10, 0,1178 0, 0, 11, 0, 0, 0, 12, 13, 0, 0,1179 0, 14, 79, 15, 16, 17, 0, 0, 0, -155,1180 0, 0, 0, 0, 0, 18, 0, 0, 0, 0,1181 0, 0, 0, 0, 0, 0, 0, 19, 0, 0,1182 0, 0, 0, 124, 20, 0, 0, 21, 22, 0,1183 23, 0, 24, 4, 5, 6, 7, 8, 9, 0,1184 0, 0, 0, 0, 10, 0, 0, 0, 11, 0,1185 0, 0, 12, 13, 0, 0, 0, 14, 0, 15,1186 16, 17, 0, 0, 0, 0, 0, 0, 0, 0,1187 0, 18, 0, 0, 0, 0, 0, 0, 0, 0,1188 0, 0, 0, 19, 0, 0, 0, 0, 0, 0,1189 20, 0, 0, 21, 22, 235, 23, 0, 24, 4,1190 5, 6, 7, 8, 9, 0, 0, 0, 0, 0,1191 10, 0, 0, 0, 11, 0, 0, 0, 12, 13,1192 0, 0, 0, 14, 0, 15, 16, 17, 0, 0,1193 0, 0, 0, 0, 0, 0, 0, 18, 0, 0,1194 0, 0, 0, 0, 0, 0, 0, 0, 0, 19,1195 0, 0, 0, 0, 0, 0, 20, 0, 0, 21,1196 22, 274, 23, 0, 24, 4, 5, 6, 7, 8,1197 9, 0, 0, 0, 0, 0, 10, 0, 0, 0,1198 11, 0, 0, 0, 12, 13, 0, 0, 0, 14,1199 0, 15, 16, 17, 0, 0, 4, 5, 6, 7,1200 8, 9, 0, 18, 86, 87, 0, 0, 0, 0,1201 0, 0, 0, 0, 0, 19, 0, 0, 0, 89,1202 0, 0, 20, 16, 17, 21, 22, 0, 23, 0,1203 24, 0, 97, 98, 18, 0, 0, 0, 0, 0,1204 0, 0, 0, 0, 102, 103, 104, 105, 106, 107,1205 108, 0, 109, 20, 0, 225, 21, 22, 226, 23,1206 227, 24, 52, 0, 0, 0, 0, 0, 60, 61,1207 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,1208 72, 73, 74, 75, 76, 77, 0, 0, 0, 0,1209 0, 0, 0, 0, 0, 0, 18, 85, 86, 87,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1210why, one step back
1210 88, 0, 0, 0, 0, 0, 0, 0, 0, 0,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1211–1229why, one step back
1211 0, 0, 0, 89, 90, 228, 0, 0, 0, 0,
1212 91, 92, 93, 94, 95, 96, 97, 98, 0, 0,1213 0, 85, 86, 87, 88, 99, 100, 101, 102, 103,1214 104, 105, 106, 107, 108, 0, 109, 89, 90, 0,1215 241, 0, 0, 242, 91, 92, 93, 94, 95, 96,1216 97, 98, 0, 0, 0, 85, 86, 87, 88, 99,1217 100, 101, 102, 103, 104, 105, 106, 107, 108, 0,1218 109, 89, 90, 0, 0, 0, 0, 141, 91, 92,1219 93, 94, 95, 96, 97, 98, 0, 0, 0, 85,1220 86, 87, 88, 99, 100, 101, 102, 103, 104, 105,1221 106, 107, 108, 0, 109, 89, 90, 0, 0, 0,1222 0, 272, 91, 92, 93, 94, 95, 96, 97, 98,1223 0, 0, 0, 85, 86, 87, 88, 99, 100, 101,1224 102, 103, 104, 105, 106, 107, 108, 0, 109, 89,1225 90, 0, 0, 0, 0, 273, 91, 92, 93, 94,1226 95, 96, 97, 98, 0, 0, 0, 85, 86, 87,1227 88, 99, 100, 101, 102, 103, 104, 105, 106, 107,1228 108, 0, 109, 89, 90, 0, 0, 0, 0, 296,1229 91, 92, 93, 94, 95, 96, 97, 98, 0, 0,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1230why, one step back
1230 0, 0, 0, 0, 0, 99, 100, 101, 102, 103,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1231–1232why, one step back
1231 104, 105, 106, 107, 108, 0, 109, 311, 0, 312,
1232 85, 86, 87, 88, 0, 0, 0, 0, 0, 0,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1233why, one step back
1233 0, 0, 0, 0, 0, 0, 89, 90, 0, 0,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1234–1254why, one step back
1234 0, 0, 0, 91, 92, 93, 94, 95, 96, 97,
1235 98, 0, 0, 0, 85, 86, 87, 88, 99, 100,1236 101, 102, 103, 104, 105, 106, 107, 108, 0, 109,1237 89, 90, 137, 0, 0, 0, 0, 91, 92, 93,1238 94, 95, 96, 97, 98, 0, 0, 0, 85, 86,1239 87, 88, 99, 100, 101, 102, 103, 104, 105, 106,1240 107, 108, 0, 109, 89, 90, 217, 0, 0, 0,1241 0, 91, 92, 93, 94, 95, 96, 97, 98, 0,1242 0, 0, 85, 86, 87, 88, 99, 100, 101, 102,1243 103, 104, 105, 106, 107, 108, 0, 109, 89, 90,1244 289, 0, 0, 0, 0, 91, 92, 93, 94, 95,1245 96, 97, 98, 0, 0, 0, 85, 86, 87, 88,1246 99, 100, 101, 102, 103, 104, 105, 106, 107, 108,1247 0, 109, 89, 90, 310, 0, 0, 0, 0, 91,1248 92, 93, 94, 95, 96, 97, 98, 0, 0, 0,1249 85, 86, 87, 88, 99, 100, 101, 102, 103, 104,1250 105, 106, 107, 108, 0, 109, 89, 90, 314, 0,1251 0, 0, 0, 91, 92, 93, 94, 95, 96, 97,1252 98, 0, 0, 0, 0, 0, 0, 0, 99, 100,1253 101, 102, 103, 104, 105, 106, 107, 108, 0, 109,1254 110, 85, 86, 87, 88, 0, 0, 0, 0, 0,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1255–1257why, one step back
1255 0, 0, 0, 0, 0, 0, 0, 89, 90, 0,
1256 0, 0, 0, 0, 91, 92, 93, 94, 95, 96,1257 97, 98, 0, 0, 0, 0, 0, 0, 0, 99,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1258–1261why, one step back
1258 100, 101, 102, 103, 104, 105, 106, 107, 108, 0,
1259 109, 195, 85, 86, 87, 88, 0, 0, 0, 0,1260 0, 0, 0, 0, 0, 0, 0, 0, 89, 90,1261 0, 0, 0, 0, 0, 91, 92, 93, 94, 95,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1262why, one step back
1262 96, 97, 98, 0, 0, 0, 0, 0, 0, 0,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1263–1288why, one step back
1263 99, 100, 101, 102, 103, 104, 105, 106, 107, 108,
1264 0, 109, 248, 85, 86, 87, 88, 0, 0, 0,1265 0, 0, 0, 0, 0, 0, 0, 0, 0, 89,1266 90, 0, 0, 0, 0, 0, 91, 92, 93, 94,1267 95, 96, 97, 98, 0, 0, 0, 0, 0, 0,1268 0, 99, 100, 101, 102, 103, 104, 105, 106, 107,1269 108, 0, 109, 300, 85, 86, 87, 88, 0, 0,1270 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,1271 89, 90, 0, 0, 0, 0, 0, 91, 92, 93,1272 94, 95, 96, 97, 98, 0, 0, 0, 0, 0,1273 0, 0, 99, 100, 101, 102, 103, 104, 105, 106,1274 107, 108, 0, 109, 301, 85, 86, 87, 88, 0,1275 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,1276 0, 89, 90, 0, 0, 0, 0, 0, 91, 92,1277 93, 94, 95, 96, 97, 98, 0, 0, 0, 0,1278 0, 0, 0, 99, 100, 101, 102, 103, 104, 105,1279 106, 107, 108, 0, 109, 304, 85, 86, 87, 88,1280 0, 0, 0, 0, 0, 0, 0, 249, 250, 0,1281 0, 251, 89, 90, 0, 0, 0, 0, 0, 91,1282 92, 93, 94, 95, 96, 97, 98, 0, 0, 0,1283 0, 0, 0, 0, 99, 100, 101, 102, 103, 104,1284 105, 106, 107, 108, 0, 109, 85, 86, 87, 88,1285 0, 0, 0, 0, 0, 0, 131, 0, 0, 0,1286 0, 0, 89, 90, 0, 0, 0, 0, 0, 91,1287 92, 93, 94, 95, 96, 97, 98, 0, 0, 0,1288 85, 86, 87, 88, 99, 100, 101, 102, 103, 104,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1289why, one step back
1289 105, 106, 107, 108, 0, 109, 89, 90, 0, 0,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1290–1305why, one step back
1290 0, 0, 0, 91, 92, 93, 94, 95, 96, 97,
1291 98, 0, 0, 0, 0, 258, 0, 0, 99, 100,1292 101, 102, 103, 104, 105, 106, 107, 108, 0, 109,1293 85, 86, 87, 88, 0, 0, 0, 0, 0, 0,1294 0, 0, 0, 0, 0, 298, 89, 90, 0, 0,1295 0, 0, 0, 91, 92, 93, 94, 95, 96, 97,1296 98, 0, 0, 0, 0, 0, 0, 0, 99, 100,1297 101, 102, 103, 104, 105, 106, 107, 108, 0, 109,1298 85, 86, 87, 88, 0, 0, 0, 0, 0, 0,1299 299, 0, 0, 0, 0, 0, 89, 90, 0, 0,1300 0, 0, 0, 91, 92, 93, 94, 95, 96, 97,1301 98, 0, 0, 0, 85, 86, 87, 88, 99, 100,1302 101, 102, 103, 104, 105, 106, 107, 108, 0, 109,1303 89, 90, 0, 0, 0, 0, 0, 91, 92, 93,1304 94, 95, 96, 97, 98, 0, 0, 0, 85, 86,1305 87, 88, 99, 100, 101, 102, 103, 104, 105, 106,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1306why, one step back
1306 107, 108, 0, 109, 89, 90, 0, 0, 0, 0,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1307–1315why, one step back
1307 0, 91, 92, 93, 94, 95, 96, 97, 98, 0,
1308 0, 0, -156, 86, 87, 0, 0, 0, 101, 102,1309 103, 104, 105, 106, 107, 108, 0, 109, 89, 90,1310 0, 0, 0, 0, 0, -156, -156, -156, -156, -156,1311 -156, 97, 98, 0, 0, 0, 0, 0, 0, 0,1312 0, 0, -156, 102, 103, 104, 105, 106, 107, 108,1313 0, 1091314};1315

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1316why, one step back
1316static const yytype_int16 yycheck[] =

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1317–1326why, one step back
1317{
1318 1, 6, 16, 1, 8, 5, 12, 13, 6, 8,1319 11, 49, 49, 14, 21, 0, 23, 5, 19, 20,1320 33, 22, 5, 49, 31, 32, 14, 183, 61, 66,1321 68, 14, 33, 42, 35, 36, 59, 63, 42, 49,1322 142, 4, 68, 42, 145, 146, 6, 148, 149, 151,1323 61, 69, 63, 63, 5, 29, 43, 44, 48, 46,1324 65, 65, 67, 14, 64, 65, 132, 133, 182, 55,1325 56, 57, 4, 59, 6, 1, 64, 65, 79, 17,1326 18, 64, 65, 62, 85, 86, 87, 88, 89, 90,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1327why, one step back
1327 91, 92, 93, 94, 95, 96, 97, 98, 99, 100,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1328–1355why, one step back
1328 101, 102, 103, 104, 105, 106, 107, 108, 115, 122,
1329 266, 212, 59, 64, 65, 116, 60, 66, 62, 233,1330 4, 60, 6, 62, 11, 12, 63, 63, 63, 130,1331 131, 49, 63, 134, 135, 142, 69, 143, 68, 145,1332 146, 14, 148, 149, 151, 259, 59, 261, 262, 263,1333 6, 265, 39, 40, 268, 256, 257, 59, 41, 48,1334 41, 59, 66, 59, 51, 52, 53, 54, 55, 56,1335 57, 61, 59, 61, 48, 41, 183, 178, 63, 122,1336 32, 63, 59, 63, 63, 63, 187, 63, 302, 190,1337 59, 63, 59, 63, 1, 196, 59, 4, 5, 6,1338 7, 8, 9, 34, 59, 59, 212, 246, 15, 305,1339 266, -1, 19, -1, 196, -1, 23, 24, -1, -1,1340 -1, 28, -1, 30, 31, 32, -1, 228, -1, -1,1341 -1, -1, -1, 234, -1, 42, -1, -1, -1, -1,1342 241, -1, -1, -1, -1, -1, -1, 54, 249, 250,1343 256, 257, 253, 254, 61, -1, -1, 64, 65, 266,1344 67, -1, 69, -1, -1, -1, -1, -1, -1, -1,1345 -1, -1, -1, -1, -1, -1, -1, 278, -1, -1,1346 -1, -1, 0, 1, -1, -1, 4, 5, -1, -1,1347 8, -1, 10, 11, 12, 13, 14, -1, 299, 300,1348 301, -1, 20, 21, 22, -1, -1, 25, 26, 27,1349 311, 29, -1, -1, -1, 33, 34, 35, 36, 37,1350 38, 39, 40, -1, 42, -1, -1, 45, -1, -1,1351 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,1352 -1, 59, 60, -1, 62, 63, 64, 65, 66, 1,1353 68, -1, 4, 5, 6, 7, 8, 9, -1, -1,1354 -1, -1, -1, 15, -1, -1, -1, 19, -1, -1,1355 -1, 23, 24, -1, -1, -1, 28, -1, 30, 31,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1356why, one step back
1356 32, -1, -1, -1, -1, -1, -1, -1, -1, -1,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1357why, one step back
1357 42, -1, -1, -1, -1, -1, -1, -1, -1, -1,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1358why, one step back
1358 -1, -1, 54, -1, -1, -1, -1, -1, -1, 61,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1359–1419why, one step back
1359 -1, 63, 64, 65, 66, 67, 1, 69, -1, 4,
1360 5, 6, 7, 8, 9, -1, -1, -1, -1, -1,1361 15, -1, -1, -1, 19, -1, -1, -1, 23, 24,1362 -1, -1, -1, 28, -1, 30, 31, 32, -1, -1,1363 -1, -1, -1, -1, -1, -1, -1, 42, -1, -1,1364 -1, -1, -1, -1, -1, -1, -1, -1, -1, 54,1365 -1, -1, -1, -1, -1, -1, 61, -1, -1, 64,1366 65, 66, 67, 1, 69, -1, 4, 5, 6, 7,1367 8, 9, -1, -1, -1, -1, -1, 15, -1, -1,1368 -1, 19, -1, -1, -1, 23, 24, -1, -1, -1,1369 28, -1, 30, 31, 32, -1, -1, 4, 5, 6,1370 7, 8, 9, -1, 42, -1, -1, -1, -1, -1,1371 -1, -1, -1, -1, 1, -1, 54, 4, 5, 6,1372 7, 8, 9, 61, 31, 32, 64, 65, 15, 67,1373 -1, 69, 19, -1, -1, 42, 23, 24, -1, -1,1374 -1, 28, -1, 30, 31, 32, -1, 54, -1, -1,1375 -1, -1, -1, -1, 61, 42, -1, 64, 65, -1,1376 67, -1, 69, -1, -1, -1, -1, 54, -1, -1,1377 -1, -1, -1, -1, 61, -1, 1, 64, 65, 4,1378 67, 6, 69, 8, -1, 11, 12, -1, -1, 14,1379 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,1380 25, 26, 27, 28, 29, 30, 31, 32, -1, -1,1381 -1, -1, -1, 39, 40, -1, -1, 42, -1, -1,1382 -1, -1, -1, -1, -1, 51, 52, 53, 54, 55,1383 56, 57, 1, 59, -1, 4, 61, 6, -1, 8,1384 -1, -1, -1, 68, -1, 14, 15, 16, 17, 18,1385 19, 20, 21, 22, 23, 24, 25, 26, 27, 28,1386 29, 30, 31, 32, -1, -1, -1, 4, 5, 6,1387 7, 8, 9, 42, -1, -1, -1, -1, 15, -1,1388 -1, -1, 19, -1, -1, -1, 23, 24, -1, -1,1389 -1, 28, 61, 30, 31, 32, -1, -1, -1, 68,1390 -1, -1, -1, -1, -1, 42, -1, -1, -1, -1,1391 -1, -1, -1, -1, -1, -1, -1, 54, -1, -1,1392 -1, -1, -1, 60, 61, -1, -1, 64, 65, -1,1393 67, -1, 69, 4, 5, 6, 7, 8, 9, -1,1394 -1, -1, -1, -1, 15, -1, -1, -1, 19, -1,1395 -1, -1, 23, 24, -1, -1, -1, 28, -1, 30,1396 31, 32, -1, -1, -1, -1, -1, -1, -1, -1,1397 -1, 42, -1, -1, -1, -1, -1, -1, -1, -1,1398 -1, -1, -1, 54, -1, -1, -1, -1, -1, -1,1399 61, -1, -1, 64, 65, 66, 67, -1, 69, 4,1400 5, 6, 7, 8, 9, -1, -1, -1, -1, -1,1401 15, -1, -1, -1, 19, -1, -1, -1, 23, 24,1402 -1, -1, -1, 28, -1, 30, 31, 32, -1, -1,1403 -1, -1, -1, -1, -1, -1, -1, 42, -1, -1,1404 -1, -1, -1, -1, -1, -1, -1, -1, -1, 54,1405 -1, -1, -1, -1, -1, -1, 61, -1, -1, 64,1406 65, 66, 67, -1, 69, 4, 5, 6, 7, 8,1407 9, -1, -1, -1, -1, -1, 15, -1, -1, -1,1408 19, -1, -1, -1, 23, 24, -1, -1, -1, 28,1409 -1, 30, 31, 32, -1, -1, 4, 5, 6, 7,1410 8, 9, -1, 42, 11, 12, -1, -1, -1, -1,1411 -1, -1, -1, -1, -1, 54, -1, -1, -1, 26,1412 -1, -1, 61, 31, 32, 64, 65, -1, 67, -1,1413 69, -1, 39, 40, 42, -1, -1, -1, -1, -1,1414 -1, -1, -1, -1, 51, 52, 53, 54, 55, 56,1415 57, -1, 59, 61, -1, 1, 64, 65, 4, 67,1416 6, 69, 8, -1, -1, -1, -1, -1, 14, 15,1417 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,1418 26, 27, 28, 29, 30, 31, -1, -1, -1, -1,1419 -1, -1, -1, -1, -1, -1, 42, 10, 11, 12,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1420why, one step back
1420 13, -1, -1, -1, -1, -1, -1, -1, -1, -1,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1421–1439why, one step back
1421 -1, -1, -1, 26, 27, 61, -1, -1, -1, -1,
1422 33, 34, 35, 36, 37, 38, 39, 40, -1, -1,1423 -1, 10, 11, 12, 13, 48, 49, 50, 51, 52,1424 53, 54, 55, 56, 57, -1, 59, 26, 27, -1,1425 63, -1, -1, 66, 33, 34, 35, 36, 37, 38,1426 39, 40, -1, -1, -1, 10, 11, 12, 13, 48,1427 49, 50, 51, 52, 53, 54, 55, 56, 57, -1,1428 59, 26, 27, -1, -1, -1, -1, 66, 33, 34,1429 35, 36, 37, 38, 39, 40, -1, -1, -1, 10,1430 11, 12, 13, 48, 49, 50, 51, 52, 53, 54,1431 55, 56, 57, -1, 59, 26, 27, -1, -1, -1,1432 -1, 66, 33, 34, 35, 36, 37, 38, 39, 40,1433 -1, -1, -1, 10, 11, 12, 13, 48, 49, 50,1434 51, 52, 53, 54, 55, 56, 57, -1, 59, 26,1435 27, -1, -1, -1, -1, 66, 33, 34, 35, 36,1436 37, 38, 39, 40, -1, -1, -1, 10, 11, 12,1437 13, 48, 49, 50, 51, 52, 53, 54, 55, 56,1438 57, -1, 59, 26, 27, -1, -1, -1, -1, 66,1439 33, 34, 35, 36, 37, 38, 39, 40, -1, -1,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1440why, one step back
1440 -1, -1, -1, -1, -1, 48, 49, 50, 51, 52,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1441–1442why, one step back
1441 53, 54, 55, 56, 57, -1, 59, 60, -1, 62,
1442 10, 11, 12, 13, -1, -1, -1, -1, -1, -1,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1443why, one step back
1443 -1, -1, -1, -1, -1, -1, 26, 27, -1, -1,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1444–1463why, one step back
1444 -1, -1, -1, 33, 34, 35, 36, 37, 38, 39,
1445 40, -1, -1, -1, 10, 11, 12, 13, 48, 49,1446 50, 51, 52, 53, 54, 55, 56, 57, -1, 59,1447 26, 27, 62, -1, -1, -1, -1, 33, 34, 35,1448 36, 37, 38, 39, 40, -1, -1, -1, 10, 11,1449 12, 13, 48, 49, 50, 51, 52, 53, 54, 55,1450 56, 57, -1, 59, 26, 27, 62, -1, -1, -1,1451 -1, 33, 34, 35, 36, 37, 38, 39, 40, -1,1452 -1, -1, 10, 11, 12, 13, 48, 49, 50, 51,1453 52, 53, 54, 55, 56, 57, -1, 59, 26, 27,1454 62, -1, -1, -1, -1, 33, 34, 35, 36, 37,1455 38, 39, 40, -1, -1, -1, 10, 11, 12, 13,1456 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,1457 -1, 59, 26, 27, 62, -1, -1, -1, -1, 33,1458 34, 35, 36, 37, 38, 39, 40, -1, -1, -1,1459 10, 11, 12, 13, 48, 49, 50, 51, 52, 53,1460 54, 55, 56, 57, -1, 59, 26, 27, 62, -1,1461 -1, -1, -1, 33, 34, 35, 36, 37, 38, 39,1462 40, -1, -1, -1, -1, -1, -1, -1, 48, 49,1463 50, 51, 52, 53, 54, 55, 56, 57, -1, 59,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1464–1467why, one step back
1464 60, 10, 11, 12, 13, -1, -1, -1, -1, -1,
1465 -1, -1, -1, -1, -1, -1, -1, 26, 27, -1,1466 -1, -1, -1, -1, 33, 34, 35, 36, 37, 38,1467 39, 40, -1, -1, -1, -1, -1, -1, -1, 48,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1468why, one step back
1468 49, 50, 51, 52, 53, 54, 55, 56, 57, -1,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1469why, one step back
1469 59, 60, 10, 11, 12, 13, -1, -1, -1, -1,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1470–1490why, one step back
1470 -1, -1, -1, -1, -1, -1, -1, -1, 26, 27,
1471 -1, -1, -1, -1, -1, 33, 34, 35, 36, 37,1472 38, 39, 40, -1, -1, -1, -1, -1, -1, -1,1473 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,1474 -1, 59, 60, 10, 11, 12, 13, -1, -1, -1,1475 -1, -1, -1, -1, -1, -1, -1, -1, -1, 26,1476 27, -1, -1, -1, -1, -1, 33, 34, 35, 36,1477 37, 38, 39, 40, -1, -1, -1, -1, -1, -1,1478 -1, 48, 49, 50, 51, 52, 53, 54, 55, 56,1479 57, -1, 59, 60, 10, 11, 12, 13, -1, -1,1480 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,1481 26, 27, -1, -1, -1, -1, -1, 33, 34, 35,1482 36, 37, 38, 39, 40, -1, -1, -1, -1, -1,1483 -1, -1, 48, 49, 50, 51, 52, 53, 54, 55,1484 56, 57, -1, 59, 60, 10, 11, 12, 13, -1,1485 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,1486 -1, 26, 27, -1, -1, -1, -1, -1, 33, 34,1487 35, 36, 37, 38, 39, 40, -1, -1, -1, -1,1488 -1, -1, -1, 48, 49, 50, 51, 52, 53, 54,1489 55, 56, 57, -1, 59, 60, 10, 11, 12, 13,1490 -1, -1, -1, -1, -1, -1, -1, 21, 22, -1,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1491why, one step back
1491 -1, 25, 26, 27, -1, -1, -1, -1, -1, 33,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1492–1494why, one step back
1492 34, 35, 36, 37, 38, 39, 40, -1, -1, -1,
1493 -1, -1, -1, -1, 48, 49, 50, 51, 52, 53,1494 54, 55, 56, 57, -1, 59, 10, 11, 12, 13,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1495why, one step back
1495 -1, -1, -1, -1, -1, -1, 20, -1, -1, -1,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1496–1498why, one step back
1496 -1, -1, 26, 27, -1, -1, -1, -1, -1, 33,
1497 34, 35, 36, 37, 38, 39, 40, -1, -1, -1,1498 10, 11, 12, 13, 48, 49, 50, 51, 52, 53,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1499why, one step back
1499 54, 55, 56, 57, -1, 59, 26, 27, -1, -1,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1500–1515why, one step back
1500 -1, -1, -1, 33, 34, 35, 36, 37, 38, 39,
1501 40, -1, -1, -1, -1, 45, -1, -1, 48, 49,1502 50, 51, 52, 53, 54, 55, 56, 57, -1, 59,1503 10, 11, 12, 13, -1, -1, -1, -1, -1, -1,1504 -1, -1, -1, -1, -1, 25, 26, 27, -1, -1,1505 -1, -1, -1, 33, 34, 35, 36, 37, 38, 39,1506 40, -1, -1, -1, -1, -1, -1, -1, 48, 49,1507 50, 51, 52, 53, 54, 55, 56, 57, -1, 59,1508 10, 11, 12, 13, -1, -1, -1, -1, -1, -1,1509 20, -1, -1, -1, -1, -1, 26, 27, -1, -1,1510 -1, -1, -1, 33, 34, 35, 36, 37, 38, 39,1511 40, -1, -1, -1, 10, 11, 12, 13, 48, 49,1512 50, 51, 52, 53, 54, 55, 56, 57, -1, 59,1513 26, 27, -1, -1, -1, -1, -1, 33, 34, 35,1514 36, 37, 38, 39, 40, -1, -1, -1, 10, 11,1515 12, 13, 48, 49, 50, 51, 52, 53, 54, 55,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1516why, one step back
1516 56, 57, -1, 59, 26, 27, -1, -1, -1, -1,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1517–1525why, one step back
1517 -1, 33, 34, 35, 36, 37, 38, 39, 40, -1,
1518 -1, -1, 10, 11, 12, -1, -1, -1, 50, 51,1519 52, 53, 54, 55, 56, 57, -1, 59, 26, 27,1520 -1, -1, -1, -1, -1, 33, 34, 35, 36, 37,1521 38, 39, 40, -1, -1, -1, -1, -1, -1, -1,1522 -1, -1, 50, 51, 52, 53, 54, 55, 56, 57,1523 -1, 591524};1525

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1526–1528why, one step back
1526/* YYSTOS[STATE-NUM] -- The symbol kind of the accessing symbol of
1527 state STATE-NUM. */1528static const yytype_int8 yystos[] =

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1529why, one step back
1529{

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1530–1531why, one step back
1530 0, 16, 71, 72, 4, 5, 6, 7, 8, 9,
1531 15, 19, 23, 24, 28, 30, 31, 32, 42, 54,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1532–1534why, one step back
1532 61, 64, 65, 67, 69, 75, 79, 82, 83, 87,
1533 0, 17, 18, 73, 76, 77, 61, 59, 42, 4,1534 75, 87, 87, 75, 6, 1, 6, 75, 1, 75,

Make sure to free default `@text` format on errorEmanuele Torrebefore adoptionae95864

line 1535why, one step back
1535 1, 4, 8, 83, 1, 66, 75, 1, 4, 6,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1536–1537why, one step back
1536 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
1537 24, 25, 26, 27, 28, 29, 30, 31, 32, 61,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1538why, one step back
1538 83, 96, 97, 98, 69, 10, 11, 12, 13, 26,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1539–1540why, one step back
1539 27, 33, 34, 35, 36, 37, 38, 39, 40, 48,
1540 49, 50, 51, 52, 53, 54, 55, 56, 57, 59,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1541–1563why, one step back
1541 60, 75, 84, 5, 14, 64, 65, 78, 83, 78,
1542 74, 75, 79, 73, 60, 75, 75, 88, 89, 61,1543 63, 20, 14, 14, 29, 48, 62, 62, 1, 59,1544 66, 66, 49, 63, 68, 63, 63, 75, 63, 63,1545 68, 49, 69, 75, 75, 75, 75, 75, 75, 75,1546 75, 75, 75, 75, 75, 75, 75, 75, 75, 75,1547 75, 75, 75, 75, 75, 75, 75, 43, 44, 46,1548 59, 6, 65, 67, 90, 91, 92, 65, 83, 1,1549 63, 66, 75, 14, 74, 60, 60, 62, 4, 6,1550 80, 81, 75, 1, 75, 91, 91, 1, 75, 75,1551 1, 97, 54, 86, 87, 86, 86, 62, 86, 86,1552 97, 6, 75, 92, 93, 1, 4, 6, 61, 83,1553 94, 95, 96, 41, 48, 66, 75, 59, 66, 75,1554 59, 63, 66, 4, 6, 89, 60, 62, 60, 21,1555 22, 25, 85, 61, 61, 86, 48, 63, 45, 49,1556 66, 63, 63, 63, 75, 63, 49, 68, 63, 92,1557 75, 59, 66, 66, 66, 75, 59, 81, 63, 75,1558 75, 75, 75, 86, 86, 92, 92, 92, 92, 62,1559 92, 95, 92, 59, 59, 59, 66, 75, 25, 20,1560 60, 60, 63, 59, 60, 75, 75, 75, 92, 85,1561 62, 60, 62, 75, 621562};1563

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1564–1565why, one step back
1564/* YYR1[RULE-NUM] -- Symbol kind of the left-hand side of rule RULE-NUM. */
1565static const yytype_int8 yyr1[] =

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1566why, one step back
1566{

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1567why, one step back
1567 0, 70, 71, 71, 72, 72, 73, 73, 74, 74,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1568–1570why, one step back
1568 75, 75, 75, 75, 75, 75, 75, 75, 75, 75,
1569 75, 75, 75, 75, 75, 75, 75, 75, 75, 75,1570 75, 75, 75, 75, 75, 75, 75, 75, 75, 75,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1571–1572why, one step back
1571 75, 75, 75, 75, 75, 75, 75, 75, 76, 76,
1572 77, 77, 77, 78, 79, 79, 80, 80, 81, 81,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1573–1585why, one step back
1573 82, 82, 83, 84, 84, 84, 85, 85, 85, 86,
1574 86, 86, 87, 87, 87, 87, 87, 87, 87, 87,1575 87, 87, 87, 87, 87, 87, 87, 87, 87, 87,1576 87, 87, 87, 87, 87, 87, 87, 87, 87, 87,1577 87, 87, 87, 87, 87, 87, 87, 87, 87, 87,1578 87, 87, 87, 87, 87, 87, 88, 88, 89, 90,1579 90, 91, 91, 92, 92, 92, 93, 93, 94, 94,1580 95, 95, 95, 95, 95, 95, 95, 96, 96, 96,1581 96, 96, 96, 96, 96, 96, 96, 96, 96, 96,1582 96, 96, 96, 96, 96, 97, 97, 97, 97, 98,1583 98, 98, 98, 98, 98, 98, 98, 98, 98, 981584};1585

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1586–1587why, one step back
1586/* YYR2[RULE-NUM] -- Number of symbols on the right-hand side of rule RULE-NUM. */
1587static const yytype_int8 yyr2[] =

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1588why, one step back
1588{

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1589–1594why, one step back
1589 0, 2, 3, 3, 0, 3, 0, 2, 0, 2,
1590 2, 5, 9, 11, 9, 5, 4, 4, 2, 4,1591 4, 2, 3, 3, 3, 3, 3, 3, 3, 3,1592 3, 3, 2, 3, 3, 3, 3, 3, 3, 3,1593 3, 3, 3, 3, 3, 3, 3, 1, 2, 3,1594 4, 4, 2, 1, 5, 8, 1, 3, 1, 1,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1595–1602why, one step back
1595 2, 1, 3, 0, 2, 4, 5, 3, 1, 3,
1596 2, 1, 1, 1, 2, 2, 3, 2, 4, 3,1597 2, 1, 3, 2, 2, 3, 5, 4, 6, 5,1598 4, 3, 5, 4, 7, 6, 6, 6, 5, 5,1599 1, 1, 1, 3, 3, 2, 3, 4, 1, 1,1600 1, 4, 3, 3, 4, 3, 1, 3, 1, 3,1601 1, 3, 1, 1, 3, 3, 1, 3, 1, 3,1602 1, 3, 3, 3, 3, 5, 3, 1, 1, 1,

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1603why, one step back
1603 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1604–1608why, one step back
1604 1, 1, 1, 1, 1, 0, 1, 3, 3, 3,
1605 3, 3, 1, 3, 1, 1, 1, 1, 5, 31606};16071608

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1609why, one step back
1609enum { YYENOMEM = -2 };

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1610why, one step back
1610

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1611–1612why, one step back
1611#define yyerrok (yyerrstatus = 0)
1612#define yyclearin (yychar = YYEMPTY)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1613why, one step back
1613

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1614–1617why, one step back
1614#define YYACCEPT goto yyacceptlab
1615#define YYABORT goto yyabortlab1616#define YYERROR goto yyerrorlab1617#define YYNOMEM goto yyexhaustedlab

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1618–1619why, one step back
1618
1619

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1620why, one step back
1620#define YYRECOVERING() (!!yyerrstatus)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1621why, one step back
1621

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1622–1624why, one step back
1622#define YYBACKUP(Token, Value) \
1623 do \1624 if (yychar == YYEMPTY) \

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1625why, one step back
1625 { \

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1626–1630why, one step back
1626 yychar = (Token); \
1627 yylval = (Value); \1628 YYPOPSTACK (yylen); \1629 yystate = *yyssp; \1630 goto yybackup; \

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1631why, one step back
1631 } \

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1632why, one step back
1632 else \

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1633why, one step back
1633 { \

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1634–1635why, one step back
1634 yyerror (&yylloc, answer, errors, locations, lexer_param_ptr, YY_("syntax error: cannot back up")); \
1635 YYERROR; \

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1636why, one step back
1636 } \

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1637why, one step back
1637 while (0)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1638why, one step back
1638

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1639–1641why, one step back
1639/* Backward compatibility with an undocumented macro.
1640 Use YYerror or YYUNDEF. */1641#define YYERRCODE YYUNDEF

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1642why, one step back
1642

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1643–1645why, one step back
1643/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
1644 If N is 0, then set CURRENT to the empty location which ends1645 the previous symbol: RHS[0] (always defined). */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1646why, one step back
1646

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1647–1648why, one step back
1647#ifndef YYLLOC_DEFAULT
1648# define YYLLOC_DEFAULT(Current, Rhs, N) \

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1649why, one step back
1649 do \

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1650why, one step back
1650 if (N) \

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1651why, one step back
1651 { \

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1652–1655why, one step back
1652 (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
1653 (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \1654 (Current).last_line = YYRHSLOC (Rhs, N).last_line; \1655 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1656why, one step back
1656 } \

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1657why, one step back
1657 else \

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1658why, one step back
1658 { \

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1659–1662why, one step back
1659 (Current).first_line = (Current).last_line = \
1660 YYRHSLOC (Rhs, 0).last_line; \1661 (Current).first_column = (Current).last_column = \1662 YYRHSLOC (Rhs, 0).last_column; \

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1663–1666why, one step back
1663 } \
1664 while (0)1665#endif1666

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1667why, one step back
1667#define YYRHSLOC(Rhs, K) ((Rhs)[K])

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1668–1669why, one step back
1668
1669

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1670why, one step back
1670/* Enable debugging if requested. */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1671–1672why, one step back
1671#if YYDEBUG
1672

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1673–1675why, one step back
1673# ifndef YYFPRINTF
1674# include <stdio.h> /* INFRINGES ON USER NAME SPACE */1675# define YYFPRINTF fprintf

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1676–1677why, one step back
1676# endif
1677

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1678–1681why, one step back
1678# define YYDPRINTF(Args) \
1679do { \1680 if (yydebug) \1681 YYFPRINTF Args; \

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1682–1684why, one step back
1682} while (0)
16831684

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1685–1687why, one step back
1685/* YYLOCATION_PRINT -- Print the location on the stream.
1686 This macro was not mandated originally: define only if we know1687 we won't break user code: when these are the locations we know. */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1688why, one step back
1688

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1689why, one step back
1689# ifndef YYLOCATION_PRINT

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1690why, one step back
1690

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1691why, one step back
1691# if defined YY_LOCATION_PRINT

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1692why, one step back
1692

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1693–1695why, one step back
1693 /* Temporary convenience wrapper in case some people defined the
1694 undocumented and private YY_LOCATION_PRINT macros. */1695# define YYLOCATION_PRINT(File, Loc) YY_LOCATION_PRINT(File, *(Loc))

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1696why, one step back
1696

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1697why, one step back
1697# elif defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1698why, one step back
1698

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1699why, one step back
1699/* Print *YYLOCP on YYO. Private, do not rely on its existence. */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1700why, one step back
1700

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1701why, one step back
1701YY_ATTRIBUTE_UNUSED

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1702why, one step back
1702static int

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1703why, one step back
1703yy_location_print_ (FILE *yyo, YYLTYPE const * const yylocp)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1704why, one step back
1704{

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1705–1707why, one step back
1705 int res = 0;
1706 int end_col = 0 != yylocp->last_column ? yylocp->last_column - 1 : 0;1707 if (0 <= yylocp->first_line)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1708why, one step back
1708 {

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1709–1711why, one step back
1709 res += YYFPRINTF (yyo, "%d", yylocp->first_line);
1710 if (0 <= yylocp->first_column)1711 res += YYFPRINTF (yyo, ".%d", yylocp->first_column);

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1712why, one step back
1712 }

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1713why, one step back
1713 if (0 <= yylocp->last_line)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1714why, one step back
1714 {

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1715why, one step back
1715 if (yylocp->first_line < yylocp->last_line)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1716why, one step back
1716 {

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1717–1719why, one step back
1717 res += YYFPRINTF (yyo, "-%d", yylocp->last_line);
1718 if (0 <= end_col)1719 res += YYFPRINTF (yyo, ".%d", end_col);

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1720why, one step back
1720 }

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1721–1722why, one step back
1721 else if (0 <= end_col && yylocp->first_column < end_col)
1722 res += YYFPRINTF (yyo, "-%d", end_col);

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1723why, one step back
1723 }

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1724why, one step back
1724 return res;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1725–1726why, one step back
1725}
1726

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1727why, one step back
1727# define YYLOCATION_PRINT yy_location_print_

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1728–1730why, one step back
1728
1729 /* Temporary convenience wrapper in case some people defined the1730 undocumented and private YY_LOCATION_PRINT macros. */

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1731why, one step back
1731# define YY_LOCATION_PRINT(File, Loc) YYLOCATION_PRINT(File, &(Loc))

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1732–1734why, one step back
1732
1733# else1734

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1735why, one step back
1735# define YYLOCATION_PRINT(File, Loc) ((void) 0)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1736–1737why, one step back
1736 /* Temporary convenience wrapper in case some people defined the
1737 undocumented and private YY_LOCATION_PRINT macros. */

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1738why, one step back
1738# define YY_LOCATION_PRINT YYLOCATION_PRINT

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1739–1740why, one step back
1739
1740# endif

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1741why, one step back
1741# endif /* !defined YYLOCATION_PRINT */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1742–1743why, one step back
1742
1743

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1744–1752why, one step back
1744# define YY_SYMBOL_PRINT(Title, Kind, Value, Location) \
1745do { \1746 if (yydebug) \1747 { \1748 YYFPRINTF (stderr, "%s ", Title); \1749 yy_symbol_print (stderr, \1750 Kind, Value, Location, answer, errors, locations, lexer_param_ptr); \1751 YYFPRINTF (stderr, "\n"); \1752 } \

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1753–1755why, one step back
1753} while (0)
17541755

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1756–1758why, one step back
1756/*-----------------------------------.
1757| Print this symbol's value on YYO. |1758`-----------------------------------*/

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1759–1760why, one step back
1759
1760static void

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1761–1762why, one step back
1761yy_symbol_value_print (FILE *yyo,
1762 yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep, YYLTYPE const * const yylocationp, block* answer, int* errors, struct locfile* locations, struct lexer_param* lexer_param_ptr)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1763why, one step back
1763{

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1764–1765why, one step back
1764 FILE *yyoutput = yyo;
1765 YY_USE (yyoutput);

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1766–1770why, one step back
1766 YY_USE (yylocationp);
1767 YY_USE (answer);1768 YY_USE (errors);1769 YY_USE (locations);1770 YY_USE (lexer_param_ptr);

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1771–1772why, one step back
1771 if (!yyvaluep)
1772 return;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1773why, one step back
1773 YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1774why, one step back
1774 YY_USE (yykind);

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1775–1778why, one step back
1775 YY_IGNORE_MAYBE_UNINITIALIZED_END
1776}17771778

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1779–1781why, one step back
1779/*---------------------------.
1780| Print this symbol on YYO. |1781`---------------------------*/

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1782–1783why, one step back
1782
1783static void

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1784–1785why, one step back
1784yy_symbol_print (FILE *yyo,
1785 yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep, YYLTYPE const * const yylocationp, block* answer, int* errors, struct locfile* locations, struct lexer_param* lexer_param_ptr)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1786why, one step back
1786{

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1787–1788why, one step back
1787 YYFPRINTF (yyo, "%s %s (",
1788 yykind < YYNTOKENS ? "token" : "nterm", yysymbol_name (yykind));

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1789why, one step back
1789

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1790–1793why, one step back
1790 YYLOCATION_PRINT (yyo, yylocationp);
1791 YYFPRINTF (yyo, ": ");1792 yy_symbol_value_print (yyo, yykind, yyvaluep, yylocationp, answer, errors, locations, lexer_param_ptr);1793 YYFPRINTF (yyo, ")");

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1794–1795why, one step back
1794}
1795

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1796–1799why, one step back
1796/*------------------------------------------------------------------.
1797| yy_stack_print -- Print the state stack from its BOTTOM up to its |1798| TOP (included). |1799`------------------------------------------------------------------*/

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1800–1801why, one step back
1800
1801static void

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1802why, one step back
1802yy_stack_print (yy_state_t *yybottom, yy_state_t *yytop)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1803why, one step back
1803{

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1804–1805why, one step back
1804 YYFPRINTF (stderr, "Stack now");
1805 for (; yybottom <= yytop; yybottom++)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1806why, one step back
1806 {

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1807–1808why, one step back
1807 int yybot = *yybottom;
1808 YYFPRINTF (stderr, " %d", yybot);

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1809why, one step back
1809 }

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1810why, one step back
1810 YYFPRINTF (stderr, "\n");

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1811–1812why, one step back
1811}
1812

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1813–1816why, one step back
1813# define YY_STACK_PRINT(Bottom, Top) \
1814do { \1815 if (yydebug) \1816 yy_stack_print ((Bottom), (Top)); \

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1817–1819why, one step back
1817} while (0)
18181819

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1820–1822why, one step back
1820/*------------------------------------------------.
1821| Report that the YYRULE is going to be reduced. |1822`------------------------------------------------*/

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1823–1824why, one step back
1823
1824static void

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1825–1826why, one step back
1825yy_reduce_print (yy_state_t *yyssp, YYSTYPE *yyvsp, YYLTYPE *yylsp,
1826 int yyrule, block* answer, int* errors, struct locfile* locations, struct lexer_param* lexer_param_ptr)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1827why, one step back
1827{

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1828–1834why, one step back
1828 int yylno = yyrline[yyrule];
1829 int yynrhs = yyr2[yyrule];1830 int yyi;1831 YYFPRINTF (stderr, "Reducing stack by rule %d (line %d):\n",1832 yyrule - 1, yylno);1833 /* The symbols being reduced. */1834 for (yyi = 0; yyi < yynrhs; yyi++)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1835why, one step back
1835 {

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1836–1841why, one step back
1836 YYFPRINTF (stderr, " $%d = ", yyi + 1);
1837 yy_symbol_print (stderr,1838 YY_ACCESSING_SYMBOL (+yyssp[yyi + 1 - yynrhs]),1839 &yyvsp[(yyi + 1) - (yynrhs)],1840 &(yylsp[(yyi + 1) - (yynrhs)]), answer, errors, locations, lexer_param_ptr);1841 YYFPRINTF (stderr, "\n");

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1842–1844why, one step back
1842 }
1843}1844

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1845–1848why, one step back
1845# define YY_REDUCE_PRINT(Rule) \
1846do { \1847 if (yydebug) \1848 yy_reduce_print (yyssp, yyvsp, yylsp, Rule, answer, errors, locations, lexer_param_ptr); \

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1849–1850why, one step back
1849} while (0)
1850

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1851–1859why, one step back
1851/* Nonzero means print parse trace. It is left uninitialized so that
1852 multiple parsers can coexist. */1853int yydebug;1854#else /* !YYDEBUG */1855# define YYDPRINTF(Args) ((void) 0)1856# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)1857# define YY_STACK_PRINT(Bottom, Top)1858# define YY_REDUCE_PRINT(Rule)1859#endif /* !YYDEBUG */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1860–1861why, one step back
1860
1861

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1862–1864why, one step back
1862/* YYINITDEPTH -- initial size of the parser's stacks. */
1863#ifndef YYINITDEPTH1864# define YYINITDEPTH 200

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1865–1866why, one step back
1865#endif
1866

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1867–1868why, one step back
1867/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
1868 if the built-in stack extension method is used).

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1869why, one step back
1869

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1870–1872why, one step back
1870 Do not make this value too large; the results are undefined if
1871 YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)1872 evaluated with infinite-precision integer arithmetic. */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1873why, one step back
1873

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1874–1875why, one step back
1874#ifndef YYMAXDEPTH
1875# define YYMAXDEPTH 10000

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1876–1878why, one step back
1876#endif
18771878

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1879–1880why, one step back
1879/* Context of a parse error. */
1880typedef struct

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1881why, one step back
1881{

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1882–1885why, one step back
1882 yy_state_t *yyssp;
1883 yysymbol_kind_t yytoken;1884 YYLTYPE *yylloc;1885} yypcontext_t;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1886why, one step back
1886

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1887–1892why, one step back
1887/* Put in YYARG at most YYARGN of the expected tokens given the
1888 current YYCTX, and return the number of tokens stored in YYARG. If1889 YYARG is null, return the number of expected tokens (guaranteed to1890 be less than YYNTOKENS). Return YYENOMEM on memory exhaustion.1891 Return 0 if there are more than YYARGN expected tokens, yet fill1892 YYARG up to YYARGN. */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1893why, one step back
1893static int

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1894–1895why, one step back
1894yypcontext_expected_tokens (const yypcontext_t *yyctx,
1895 yysymbol_kind_t yyarg[], int yyargn)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1896–1898why, one step back
1896{
1897 /* Actual size of YYARG. */1898 int yycount = 0;

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1899–1900why, one step back
1899 int yyn = yypact[+*yyctx->yyssp];
1900 if (!yypact_value_is_default (yyn))

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1901why, one step back
1901 {

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1902–1912why, one step back
1902 /* Start YYX at -YYN if negative to avoid negative indexes in
1903 YYCHECK. In other words, skip the first -YYN actions for1904 this state because they are default actions. */1905 int yyxbegin = yyn < 0 ? -yyn : 0;1906 /* Stay within bounds of both yycheck and yytname. */1907 int yychecklim = YYLAST - yyn + 1;1908 int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;1909 int yyx;1910 for (yyx = yyxbegin; yyx < yyxend; ++yyx)1911 if (yycheck[yyx + yyn] == yyx && yyx != YYSYMBOL_YYerror1912 && !yytable_value_is_error (yytable[yyx + yyn]))

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1913why, one step back
1913 {

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1914–1917why, one step back
1914 if (!yyarg)
1915 ++yycount;1916 else if (yycount == yyargn)1917 return 0;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1918why, one step back
1918 else

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1919why, one step back
1919 yyarg[yycount++] = YY_CAST (yysymbol_kind_t, yyx);

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1920–1921why, one step back
1920 }
1921 }

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1922–1923why, one step back
1922 if (yyarg && yycount == 0 && 0 < yyargn)
1923 yyarg[0] = YYSYMBOL_YYEMPTY;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1924–1929why, one step back
1924 return yycount;
1925}1926192719281929

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1930–1932why, one step back
1930#ifndef yystrlen
1931# if defined __GLIBC__ && defined _STRING_H1932# define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1933why, one step back
1933# else

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1934why, one step back
1934/* Return the length of YYSTR. */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1935why, one step back
1935static YYPTRDIFF_T

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1936why, one step back
1936yystrlen (const char *yystr)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1937why, one step back
1937{

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1938–1939why, one step back
1938 YYPTRDIFF_T yylen;
1939 for (yylen = 0; yystr[yylen]; yylen++)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1940why, one step back
1940 continue;

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1941why, one step back
1941 return yylen;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1942–1945why, one step back
1942}
1943# endif1944#endif1945

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1946–1948why, one step back
1946#ifndef yystpcpy
1947# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE1948# define yystpcpy stpcpy

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1949why, one step back
1949# else

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1950–1953why, one step back
1950/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
1951 YYDEST. */1952static char *1953yystpcpy (char *yydest, const char *yysrc)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1954why, one step back
1954{

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1955–1956why, one step back
1955 char *yyd = yydest;
1956 const char *yys = yysrc;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1957why, one step back
1957

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1958why, one step back
1958 while ((*yyd++ = *yys++) != '\0')

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1959–1960why, one step back
1959 continue;
1960

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1961why, one step back
1961 return yyd - 1;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

lines 1962–1965why, one step back
1962}
1963# endif1964#endif1965

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1966–1973why, one step back
1966#ifndef yytnamerr
1967/* Copy to YYRES the contents of YYSTR after stripping away unnecessary1968 quotes and backslashes, so that it's suitable for yyerror. The1969 heuristic is that double-quoting is unnecessary unless the string1970 contains an apostrophe, a comma, or backslash (other than1971 backslash-backslash). YYSTR is taken from yytname. If YYRES is1972 null, do not copy; instead, return the length of what the result1973 would have been. */

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1974why, one step back
1974static YYPTRDIFF_T

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1975why, one step back
1975yytnamerr (char *yyres, const char *yystr)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1976why, one step back
1976{

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1977why, one step back
1977 if (*yystr == '"')

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1978why, one step back
1978 {

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1979–1982why, one step back
1979 YYPTRDIFF_T yyn = 0;
1980 char const *yyp = yystr;1981 for (;;)1982 switch (*++yyp)

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1983why, one step back
1983 {

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1984–1986why, one step back
1984 case '\'':
1985 case ',':1986 goto do_not_strip_quotes;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1987why, one step back
1987

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1988–1990why, one step back
1988 case '\\':
1989 if (*++yyp != '\\')1990 goto do_not_strip_quotes;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1991why, one step back
1991 else

Fix memory leak on halt_error/1itchynybefore adoption24871fb

line 1992why, one step back
1992 goto append;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1993why, one step back
1993

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1994–1995why, one step back
1994 append:
1995 default:

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 1996why, one step back
1996 if (yyres)

Fix memory leak on halt_error/1itchynybefore adoption24871fb

lines 1997–1999why, one step back
1997 yyres[yyn] = *yyp;
1998 yyn++;1999 break;

Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701

line 2000why, one step back
2000

The first 2,000 of 4,356 lines.