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 fileTake 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 back1/* 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 back78#include "builtin.h"Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 79–81why, one step back79#define YYMALLOC jv_mem_alloc80#define YYFREE jv_mem_free81Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd
line 82why, one step back82#line 83 "src/parser.c"Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 83–116why, one step back8384# 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 back117#line 12 "src/parser.y"Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 118–133why, one step back118119#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)133Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd
line 134why, one step back134#line 135 "src/parser.c"Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 135–249why, one step back135136/* 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 back250#line 32 "src/parser.y"Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 251–254why, one step back251252 jv literal;253 block blk;254Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd
line 255why, one step back255#line 256 "src/parser.c"Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 256–369why, one step back256257};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 back370 YYSYMBOL_StringStart = 82, /* StringStart */Make sure to free default `@text` format on errorEmanuele Torrebefore adoptionae95864
line 371why, one step back371 YYSYMBOL_String = 83, /* String */Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 372–387why, one step back372 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 back388typedef enum yysymbol_kind_t yysymbol_kind_t;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 389–390why, one step back389390Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 391why, one step back391/* Second part of user prologue. */Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd
line 392why, one step back392#line 127 "src/parser.y"Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 393why, one step back393Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 394–396why, one step back394#include "lexer.h"395struct lexer_param {396 yyscan_t lexer;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 397why, one step back397};Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 398–403why, one step back398#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 back404Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 405–410why, one step back405void 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 back411#elseFix memory leak on halt_error/1itchynybefore adoption24871fb
line 412why, one step back412 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 back413#endif414 } else {Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 415why, one step back415 locfile_locate(locations, *loc, "jq: error: %s", s);Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 416–418why, one step back416 }417}418Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 419–428why, one step back419int 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 back429 }Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 430–432why, one step back430 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 back433 }Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 434why, one step back434 return tok;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 435–436why, one step back435}436Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 437–444why, one step back437/* Returns string message if the block is a constant that is not valid as an438 * 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 back445 }Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 446why, one step back446 return jv_invalid();Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 447–448why, one step back447}448Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 449–450why, one step back449static 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 back451}452Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 453–454why, one step back453static 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 back455}456Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 457–465why, one step back457static 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 back466}467Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 468–470why, one step back468static 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 back471 return gen_noop();472Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd
lines 473–476why, one step back473 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 back477Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd
lines 478–490why, one step back478 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 back491 }492Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd
lines 493–494why, one step back493 if (jv_is_valid(res))494 return gen_const(res);Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 495why, one step back495Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd
line 496why, one step back496 return gen_error(jv_invalid_get_msg(res));Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 497–498why, one step back497}498Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 499–502why, one step back499static 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 back503Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 504–516why, one step back504 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 back517 }Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 518why, one step back518 assert(funcname);Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 519why, one step back519Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 520why, one step back520 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 back521}522Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 523–524why, one step back523static 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 back525}526Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 527why, one step back527static block gen_definedor_assign(block object, block val) {Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 528–529why, one step back528 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 back530 val, tmp,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 531why, one step back531 gen_call("_modify", BLOCK(gen_lambda(object),Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 532–533why, one step back532 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 back534}535Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 536why, one step back536static block gen_update(block object, block val, int optype) {Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 537–538why, one step back537 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 back539 val,540 tmp,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 541why, one step back541 gen_call("_modify", BLOCK(gen_lambda(object),Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 542–544why, one step back542 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 back545}546Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 547–549why, one step back547static 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 back550}551552Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd
line 553why, one step back553#line 554 "src/parser.c"Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 554–555why, one step back554555Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 556–557why, one step back556#ifdef short557# undef shortSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 558–559why, one step back558#endif559Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 560–562why, one step back560/* On compilers that do not define __PTRDIFF_MAX__ etc., make sure561 <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 back563Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 564–568why, one step back564#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_HSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 569–571why, one step back569# endif570#endif571Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 572–575why, one step back572/* Narrow types that promote to a signed type and that can represent a573 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 back576Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 577–578why, one step back577#ifdef __INT_LEAST8_MAX__578typedef __INT_LEAST8_TYPE__ yytype_int8;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 579why, one step back579#elif defined YY_STDINT_HFix memory leak on halt_error/1itchynybefore adoption24871fb
line 580why, one step back580typedef int_least8_t yytype_int8;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 581why, one step back581#elseFix memory leak on halt_error/1itchynybefore adoption24871fb
line 582why, one step back582typedef signed char yytype_int8;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 583–584why, one step back583#endif584Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 585–586why, one step back585#ifdef __INT_LEAST16_MAX__586typedef __INT_LEAST16_TYPE__ yytype_int16;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 587why, one step back587#elif defined YY_STDINT_HFix memory leak on halt_error/1itchynybefore adoption24871fb
line 588why, one step back588typedef int_least16_t yytype_int16;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 589why, one step back589#elseFix memory leak on halt_error/1itchynybefore adoption24871fb
line 590why, one step back590typedef short yytype_int16;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 591–592why, one step back591#endif592Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 593–602why, one step back593/* Work around bug in HP-UX 11.23, which defines these macros594 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 65535Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 603–604why, one step back603#endif604Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 605–611why, one step back605#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 back612#elseFix memory leak on halt_error/1itchynybefore adoption24871fb
line 613why, one step back613typedef short yytype_uint8;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 614–615why, one step back614#endif615Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 616–622why, one step back616#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 back623#elseFix memory leak on halt_error/1itchynybefore adoption24871fb
line 624why, one step back624typedef int yytype_uint16;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 625–626why, one step back625#endif626Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 627–633why, one step back627#ifndef YYPTRDIFF_T628# 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 back634# endifFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 635–636why, one step back635# define YYPTRDIFF_T ptrdiff_t636# define YYPTRDIFF_MAXIMUM PTRDIFF_MAXSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 637why, one step back637# elseFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 638–639why, one step back638# define YYPTRDIFF_T long639# define YYPTRDIFF_MAXIMUM LONG_MAXSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 640–642why, one step back640# endif641#endif642Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 643–646why, one step back643#ifndef YYSIZE_T644# ifdef __SIZE_TYPE__645# define YYSIZE_T __SIZE_TYPE__646# elif defined size_tSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 647why, one step back647# define YYSIZE_T size_tFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 648–649why, one step back648# 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 back650# define YYSIZE_T size_t651# elseFix memory leak on halt_error/1itchynybefore adoption24871fb
line 652why, one step back652# define YYSIZE_T unsignedSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 653–655why, one step back653# endif654#endif655Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 656–660why, one step back656#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 back661Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 662why, one step back662#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 663–664why, one step back663664Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 665–666why, one step back665/* 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 back667Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 668–669why, one step back668/* State numbers in computations. */669typedef int yy_state_fast_t;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 670why, one step back670Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 671–675why, one step back671#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 back676# endif677# endifFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 678–679why, one step back678# ifndef YY_679# define YY_(Msgid) MsgidSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 680–683why, one step back680# endif681#endif682683Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 684–686why, one step back684#ifndef YY_ATTRIBUTE_PURE685# 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 back687# elseFix memory leak on halt_error/1itchynybefore adoption24871fb
line 688why, one step back688# define YY_ATTRIBUTE_PURESimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 689–691why, one step back689# endif690#endif691Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 692–694why, one step back692#ifndef YY_ATTRIBUTE_UNUSED693# 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 back695# elseFix memory leak on halt_error/1itchynybefore adoption24871fb
line 696why, one step back696# define YY_ATTRIBUTE_UNUSEDSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 697–699why, one step back697# endif698#endif699Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 700–702why, one step back700/* 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 back703#elseFix memory leak on halt_error/1itchynybefore adoption24871fb
line 704why, one step back704# define YY_USE(E) /* empty */Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 705–706why, one step back705#endif706Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 707–709why, one step back707/* 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__ < 407Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 710–711why, one step back710# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \711 _Pragma ("GCC diagnostic push") \Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 712why, one step back712 _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 713–715why, one step back713# else714# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \715 _Pragma ("GCC diagnostic push") \Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 716–717why, one step back716 _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 back718# endifFix memory leak on halt_error/1itchynybefore adoption24871fb
line 719why, one step back719# define YY_IGNORE_MAYBE_UNINITIALIZED_END \Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 720–721why, one step back720 _Pragma ("GCC diagnostic pop")721#elseFix memory leak on halt_error/1itchynybefore adoption24871fb
line 722why, one step back722# define YY_INITIAL_VALUE(Value) ValueSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 723why, one step back723#endifFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 724–726why, one step back724#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN725# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN726# define YY_IGNORE_MAYBE_UNINITIALIZED_ENDSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 727why, one step back727#endifFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 728–729why, one step back728#ifndef YY_INITIAL_VALUE729# define YY_INITIAL_VALUE(Value) /* Nothing. */Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 730–731why, one step back730#endif731Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 732–736why, one step back732#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 back737 _Pragma ("GCC diagnostic pop")738#endifFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 739–741why, one step back739#ifndef YY_IGNORE_USELESS_CAST_BEGIN740# define YY_IGNORE_USELESS_CAST_BEGIN741# define YY_IGNORE_USELESS_CAST_ENDSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 742–744why, one step back742#endif743744Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 745why, one step back745#define YY_ASSERT(E) ((void) (0 && (E)))Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 746–748why, one step back746747#if 1748Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 749why, one step back749/* The parser invokes alloca or malloc; define the necessary symbols. */Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 750why, one step back750Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 751–770why, one step back751# ifdef YYSTACK_USE_ALLOCA752# 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# endifSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 771–774why, one step back771# endif772# endif773# endif774Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 775–777why, one step back775# ifdef YYSTACK_ALLOC776 /* 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 back778# ifndef YYSTACK_ALLOC_MAXIMUMFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 779–783why, one step back779 /* 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 back784# endif785# elseFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 786–787why, one step back786# define YYSTACK_ALLOC YYMALLOC787# define YYSTACK_FREE YYFREESimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 788why, one step back788# ifndef YYSTACK_ALLOC_MAXIMUMFix memory leak on halt_error/1itchynybefore adoption24871fb
line 789why, one step back789# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUMSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 790why, one step back790# endifFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 791–796why, one step back791# 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 0Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 797–798why, one step back797# endif798# endifFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 799–802why, one step back799# ifndef YYMALLOC800# 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 back803# endif804# endifFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 805–808why, one step back805# ifndef YYFREE806# 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 back809# endif810# endif811# endifFix memory leak on halt_error/1itchynybefore adoption24871fb
line 812why, one step back812#endif /* 1 */Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 813why, one step back813Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 814–817why, one step back814#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 back818Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 819–820why, one step back819/* A type that is properly aligned for any stack member. */820union yyallocSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 821why, one step back821{Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 822–824why, one step back822 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 back825};826Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 827–828why, one step back827/* 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 back829Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 830–835why, one step back830/* The size of an array large to enough to hold all stacks, each with831 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 back836Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 837why, one step back837# define YYCOPY_NEEDED 1Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 838why, one step back838Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 839–844why, one step back839/* Relocate STACK from its old location to the new one. The840 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 back845 do \Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 846–852why, one step back846 { \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 back853 while (0)854855#endif856Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 857–863why, one step back857#if defined YYCOPY_NEEDED && YYCOPY_NEEDED858/* 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 back864# elseFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 865–872why, one step back865# 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 back873# endif874# endifFix memory leak on halt_error/1itchynybefore adoption24871fb
line 875why, one step back875#endif /* !YYCOPY_NEEDED */Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 876why, one step back876Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 877why, one step back877/* YYFINAL -- State number of the termination state. */Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 878why, one step back878#define YYFINAL 30Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 879why, one step back879/* YYLAST -- Last index in YYTABLE. */Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 880–881why, one step back880#define YYLAST 2051881Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 882–884why, one step back882/* 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 back885#define YYNNTS 29Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 886why, one step back886/* YYNRULES -- Number of rules. */Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 887why, one step back887#define YYNRULES 169Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 888why, one step back888/* YYNSTATES -- Number of states. */Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 889–890why, one step back889#define YYNSTATES 315890Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 891–892why, one step back891/* YYMAXUTOK -- Last valid token kind. */892#define YYMAXUTOK 303Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 893–894why, one step back893894Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 895–900why, one step back895/* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM896 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 back901Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 902–904why, one step back902/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM903 as returned by yylex. */904static const yytype_int8 yytranslate[] =Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 905why, one step back905{Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 906why, one step back906 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 907–908why, one step back907 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 back909 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 back913 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 back915 2, 65, 2, 66, 2, 2, 2, 2, 2, 2,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 916–917why, one step back916 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 back918 2, 2, 2, 67, 48, 68, 2, 2, 2, 2,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 919–930why, one step back919 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 back931 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 back933 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 934–936why, one step back934 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, 58Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 937–939why, one step back937};938939#if YYDEBUGFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 940–941why, one step back940/* 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 back942{Constant fold all kinds of constantsEmanuele Torrebefore adoption3b6e7dd
lines 943–959why, one step back943 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, 982Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 960–962why, one step back960};961#endif962Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 963–964why, one step back963/** 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 back965966#if 1Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 967–969why, one step back967/* The user-facing name of the symbol whose (internal) number is968 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 back970Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 971–973why, one step back971/* 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 back974{Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 975–987why, one step back975 "\"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 back988 "Params", "Param", "StringStart", "String", "QQString", "ElseBody",Make sure to free default `@text` format on errorEmanuele Torrebefore adoptionae95864
lines 989–990why, one step back989 "ExpD", "Term", "Args", "Arg", "RepPatterns", "Patterns", "Pattern",990 "ArrayPats", "ObjPats", "ObjPat", "Keyword", "MkDict", "MkDictPair", YY_NULLPTRSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 991–992why, one step back991};992Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 993–994why, one step back993static const char *994yysymbol_name (yysymbol_kind_t yysymbol)Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 995why, one step back995{Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 996why, one step back996 return yytname[yysymbol];Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 997–1001why, one step back997}998#endif9991000#define YYPACT_NINF (-157)1001Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1002–1003why, one step back1002#define yypact_value_is_default(Yyn) \1003 ((Yyn) == YYPACT_NINF)Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1004–1006why, one step back10041005#define YYTABLE_NINF (-156)1006Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1007–1008why, one step back1007#define yytable_value_is_error(Yyn) \1008 ((Yyn) == YYTABLE_NINF)Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1009why, one step back1009Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1010–1012why, one step back1010/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing1011 STATE-NUM. */1012static const yytype_int16 yypact[] =Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1013–1047why, one step back1013{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};1047Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1048–1051why, one step back1048/* 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 back1052{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 back1063 0, 0, 0, 0, 0, 0, 0, 0, 0, 21,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1064–1086why, one step back1064 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};1086Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1087–1088why, one step back1087/* YYPGOTO[NTERM-NUM]. */1088static const yytype_int16 yypgoto[] =Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1089–1094why, one step back1089{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};1094Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1095–1096why, one step back1095/* YYDEFGOTO[NTERM-NUM]. */1096static const yytype_uint8 yydefgoto[] =Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1097–1102why, one step back1097{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};1102Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1103–1106why, one step back1103/* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If1104 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 back1107{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 back1146 17, 0, 0, 0, 0, 0, 0, 0, 0, 0,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1147why, one step back1147 18, 0, 0, 0, 0, 0, 0, 0, 0, 0,Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1148why, one step back1148 0, 0, 19, 0, 0, 0, 0, 0, 0, 20,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1149–1209why, one step back1149 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 back1210 88, 0, 0, 0, 0, 0, 0, 0, 0, 0,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1211–1229why, one step back1211 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 back1230 0, 0, 0, 0, 0, 99, 100, 101, 102, 103,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1231–1232why, one step back1231 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 back1233 0, 0, 0, 0, 0, 0, 89, 90, 0, 0,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1234–1254why, one step back1234 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 back1255 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 back1258 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 back1262 96, 97, 98, 0, 0, 0, 0, 0, 0, 0,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1263–1288why, one step back1263 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 back1289 105, 106, 107, 108, 0, 109, 89, 90, 0, 0,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1290–1305why, one step back1290 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 back1306 107, 108, 0, 109, 89, 90, 0, 0, 0, 0,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1307–1315why, one step back1307 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};1315Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1316why, one step back1316static const yytype_int16 yycheck[] =Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1317–1326why, one step back1317{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 back1327 91, 92, 93, 94, 95, 96, 97, 98, 99, 100,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1328–1355why, one step back1328 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 back1356 32, -1, -1, -1, -1, -1, -1, -1, -1, -1,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1357why, one step back1357 42, -1, -1, -1, -1, -1, -1, -1, -1, -1,Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1358why, one step back1358 -1, -1, 54, -1, -1, -1, -1, -1, -1, 61,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1359–1419why, one step back1359 -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 back1420 13, -1, -1, -1, -1, -1, -1, -1, -1, -1,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1421–1439why, one step back1421 -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 back1440 -1, -1, -1, -1, -1, 48, 49, 50, 51, 52,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1441–1442why, one step back1441 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 back1443 -1, -1, -1, -1, -1, -1, 26, 27, -1, -1,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1444–1463why, one step back1444 -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 back1464 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 back1468 49, 50, 51, 52, 53, 54, 55, 56, 57, -1,Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1469why, one step back1469 59, 60, 10, 11, 12, 13, -1, -1, -1, -1,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1470–1490why, one step back1470 -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 back1491 -1, 25, 26, 27, -1, -1, -1, -1, -1, 33,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1492–1494why, one step back1492 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 back1495 -1, -1, -1, -1, -1, -1, 20, -1, -1, -1,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1496–1498why, one step back1496 -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 back1499 54, 55, 56, 57, -1, 59, 26, 27, -1, -1,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1500–1515why, one step back1500 -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 back1516 56, 57, -1, 59, 26, 27, -1, -1, -1, -1,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1517–1525why, one step back1517 -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};1525Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1526–1528why, one step back1526/* YYSTOS[STATE-NUM] -- The symbol kind of the accessing symbol of1527 state STATE-NUM. */1528static const yytype_int8 yystos[] =Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1529why, one step back1529{Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1530–1531why, one step back1530 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 back1532 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 back1535 1, 4, 8, 83, 1, 66, 75, 1, 4, 6,Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1536–1537why, one step back1536 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 back1538 83, 96, 97, 98, 69, 10, 11, 12, 13, 26,Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1539–1540why, one step back1539 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 back1541 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};1563Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1564–1565why, one step back1564/* 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 back1566{Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1567why, one step back1567 0, 70, 71, 71, 72, 72, 73, 73, 74, 74,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1568–1570why, one step back1568 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 back1571 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 back1573 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};1585Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1586–1587why, one step back1586/* 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 back1588{Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1589–1594why, one step back1589 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 back1595 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 back1603 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1604–1608why, one step back1604 1, 1, 1, 1, 1, 0, 1, 3, 3, 3,1605 3, 3, 1, 3, 1, 1, 1, 1, 5, 31606};16071608Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1609why, one step back1609enum { YYENOMEM = -2 };Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1610why, one step back1610Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1611–1612why, one step back1611#define yyerrok (yyerrstatus = 0)1612#define yyclearin (yychar = YYEMPTY)Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1613why, one step back1613Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1614–1617why, one step back1614#define YYACCEPT goto yyacceptlab1615#define YYABORT goto yyabortlab1616#define YYERROR goto yyerrorlab1617#define YYNOMEM goto yyexhaustedlabSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1618–1619why, one step back16181619Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1620why, one step back1620#define YYRECOVERING() (!!yyerrstatus)Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1621why, one step back1621Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1622–1624why, one step back1622#define YYBACKUP(Token, Value) \1623 do \1624 if (yychar == YYEMPTY) \Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1625why, one step back1625 { \Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1626–1630why, one step back1626 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 back1631 } \Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1632why, one step back1632 else \Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1633why, one step back1633 { \Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1634–1635why, one step back1634 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 back1636 } \Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1637why, one step back1637 while (0)Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1638why, one step back1638Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1639–1641why, one step back1639/* Backward compatibility with an undocumented macro.1640 Use YYerror or YYUNDEF. */1641#define YYERRCODE YYUNDEFSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1642why, one step back1642Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1643–1645why, one step back1643/* 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 back1646Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1647–1648why, one step back1647#ifndef YYLLOC_DEFAULT1648# define YYLLOC_DEFAULT(Current, Rhs, N) \Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1649why, one step back1649 do \Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1650why, one step back1650 if (N) \Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1651why, one step back1651 { \Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1652–1655why, one step back1652 (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 back1656 } \Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1657why, one step back1657 else \Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1658why, one step back1658 { \Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1659–1662why, one step back1659 (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 back1663 } \1664 while (0)1665#endif1666Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1667why, one step back1667#define YYRHSLOC(Rhs, K) ((Rhs)[K])Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1668–1669why, one step back16681669Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1670why, one step back1670/* Enable debugging if requested. */Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1671–1672why, one step back1671#if YYDEBUG1672Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1673–1675why, one step back1673# ifndef YYFPRINTF1674# include <stdio.h> /* INFRINGES ON USER NAME SPACE */1675# define YYFPRINTF fprintfSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1676–1677why, one step back1676# endif1677Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1678–1681why, one step back1678# define YYDPRINTF(Args) \1679do { \1680 if (yydebug) \1681 YYFPRINTF Args; \Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1682–1684why, one step back1682} while (0)16831684Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1685–1687why, one step back1685/* 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 back1688Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1689why, one step back1689# ifndef YYLOCATION_PRINTSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1690why, one step back1690Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1691why, one step back1691# if defined YY_LOCATION_PRINTSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1692why, one step back1692Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1693–1695why, one step back1693 /* Temporary convenience wrapper in case some people defined the1694 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 back1696Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1697why, one step back1697# elif defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIALSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1698why, one step back1698Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1699why, one step back1699/* Print *YYLOCP on YYO. Private, do not rely on its existence. */Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1700why, one step back1700Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1701why, one step back1701YY_ATTRIBUTE_UNUSEDSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1702why, one step back1702static intFix memory leak on halt_error/1itchynybefore adoption24871fb
line 1703why, one step back1703yy_location_print_ (FILE *yyo, YYLTYPE const * const yylocp)Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1704why, one step back1704{Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1705–1707why, one step back1705 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 back1708 {Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1709–1711why, one step back1709 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 back1712 }Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1713why, one step back1713 if (0 <= yylocp->last_line)Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1714why, one step back1714 {Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1715why, one step back1715 if (yylocp->first_line < yylocp->last_line)Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1716why, one step back1716 {Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1717–1719why, one step back1717 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 back1720 }Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1721–1722why, one step back1721 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 back1723 }Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1724why, one step back1724 return res;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1725–1726why, one step back1725}1726Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1727why, one step back1727# define YYLOCATION_PRINT yy_location_print_Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1728–1730why, one step back17281729 /* 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 back1731# define YY_LOCATION_PRINT(File, Loc) YYLOCATION_PRINT(File, &(Loc))Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1732–1734why, one step back17321733# else1734Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1735why, one step back1735# define YYLOCATION_PRINT(File, Loc) ((void) 0)Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1736–1737why, one step back1736 /* Temporary convenience wrapper in case some people defined the1737 undocumented and private YY_LOCATION_PRINT macros. */Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1738why, one step back1738# define YY_LOCATION_PRINT YYLOCATION_PRINTSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1739–1740why, one step back17391740# endifFix memory leak on halt_error/1itchynybefore adoption24871fb
line 1741why, one step back1741# endif /* !defined YYLOCATION_PRINT */Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1742–1743why, one step back17421743Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1744–1752why, one step back1744# 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 back1753} while (0)17541755Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1756–1758why, one step back1756/*-----------------------------------.1757| Print this symbol's value on YYO. |1758`-----------------------------------*/Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1759–1760why, one step back17591760static voidFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1761–1762why, one step back1761yy_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 back1763{Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1764–1765why, one step back1764 FILE *yyoutput = yyo;1765 YY_USE (yyoutput);Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1766–1770why, one step back1766 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 back1771 if (!yyvaluep)1772 return;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1773why, one step back1773 YY_IGNORE_MAYBE_UNINITIALIZED_BEGINFix memory leak on halt_error/1itchynybefore adoption24871fb
line 1774why, one step back1774 YY_USE (yykind);Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1775–1778why, one step back1775 YY_IGNORE_MAYBE_UNINITIALIZED_END1776}17771778Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1779–1781why, one step back1779/*---------------------------.1780| Print this symbol on YYO. |1781`---------------------------*/Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1782–1783why, one step back17821783static voidFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1784–1785why, one step back1784yy_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 back1786{Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1787–1788why, one step back1787 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 back1789Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1790–1793why, one step back1790 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 back1794}1795Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1796–1799why, one step back1796/*------------------------------------------------------------------.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 back18001801static voidFix memory leak on halt_error/1itchynybefore adoption24871fb
line 1802why, one step back1802yy_stack_print (yy_state_t *yybottom, yy_state_t *yytop)Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1803why, one step back1803{Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1804–1805why, one step back1804 YYFPRINTF (stderr, "Stack now");1805 for (; yybottom <= yytop; yybottom++)Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1806why, one step back1806 {Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1807–1808why, one step back1807 int yybot = *yybottom;1808 YYFPRINTF (stderr, " %d", yybot);Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1809why, one step back1809 }Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1810why, one step back1810 YYFPRINTF (stderr, "\n");Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1811–1812why, one step back1811}1812Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1813–1816why, one step back1813# 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 back1817} while (0)18181819Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1820–1822why, one step back1820/*------------------------------------------------.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 back18231824static voidFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1825–1826why, one step back1825yy_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 back1827{Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1828–1834why, one step back1828 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 back1835 {Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1836–1841why, one step back1836 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 back1842 }1843}1844Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1845–1848why, one step back1845# 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 back1849} while (0)1850Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1851–1859why, one step back1851/* Nonzero means print parse trace. It is left uninitialized so that1852 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 back18601861Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1862–1864why, one step back1862/* YYINITDEPTH -- initial size of the parser's stacks. */1863#ifndef YYINITDEPTH1864# define YYINITDEPTH 200Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1865–1866why, one step back1865#endif1866Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1867–1868why, one step back1867/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only1868 if the built-in stack extension method is used).Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1869why, one step back1869Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1870–1872why, one step back1870 Do not make this value too large; the results are undefined if1871 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 back1873Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1874–1875why, one step back1874#ifndef YYMAXDEPTH1875# define YYMAXDEPTH 10000Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1876–1878why, one step back1876#endif18771878Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1879–1880why, one step back1879/* Context of a parse error. */1880typedef structSimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1881why, one step back1881{Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1882–1885why, one step back1882 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 back1886Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1887–1892why, one step back1887/* Put in YYARG at most YYARGN of the expected tokens given the1888 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 back1893static intFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1894–1895why, one step back1894yypcontext_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 back1896{1897 /* Actual size of YYARG. */1898 int yycount = 0;Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1899–1900why, one step back1899 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 back1901 {Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1902–1912why, one step back1902 /* Start YYX at -YYN if negative to avoid negative indexes in1903 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 back1913 {Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1914–1917why, one step back1914 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 back1918 elseFix memory leak on halt_error/1itchynybefore adoption24871fb
line 1919why, one step back1919 yyarg[yycount++] = YY_CAST (yysymbol_kind_t, yyx);Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1920–1921why, one step back1920 }1921 }Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1922–1923why, one step back1922 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 back1924 return yycount;1925}1926192719281929Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1930–1932why, one step back1930#ifndef yystrlen1931# 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 back1933# elseFix memory leak on halt_error/1itchynybefore adoption24871fb
line 1934why, one step back1934/* Return the length of YYSTR. */Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1935why, one step back1935static YYPTRDIFF_TFix memory leak on halt_error/1itchynybefore adoption24871fb
line 1936why, one step back1936yystrlen (const char *yystr)Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1937why, one step back1937{Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1938–1939why, one step back1938 YYPTRDIFF_T yylen;1939 for (yylen = 0; yystr[yylen]; yylen++)Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1940why, one step back1940 continue;Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1941why, one step back1941 return yylen;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1942–1945why, one step back1942}1943# endif1944#endif1945Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1946–1948why, one step back1946#ifndef yystpcpy1947# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE1948# define yystpcpy stpcpySimplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1949why, one step back1949# elseFix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1950–1953why, one step back1950/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in1951 YYDEST. */1952static char *1953yystpcpy (char *yydest, const char *yysrc)Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1954why, one step back1954{Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1955–1956why, one step back1955 char *yyd = yydest;1956 const char *yys = yysrc;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1957why, one step back1957Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1958why, one step back1958 while ((*yyd++ = *yys++) != '\0')Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1959–1960why, one step back1959 continue;1960Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1961why, one step back1961 return yyd - 1;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
lines 1962–1965why, one step back1962}1963# endif1964#endif1965Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1966–1973why, one step back1966#ifndef yytnamerr1967/* 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 back1974static YYPTRDIFF_TFix memory leak on halt_error/1itchynybefore adoption24871fb
line 1975why, one step back1975yytnamerr (char *yyres, const char *yystr)Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1976why, one step back1976{Fix memory leak on halt_error/1itchynybefore adoption24871fb
line 1977why, one step back1977 if (*yystr == '"')Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1978why, one step back1978 {Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1979–1982why, one step back1979 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 back1983 {Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1984–1986why, one step back1984 case '\'':1985 case ',':1986 goto do_not_strip_quotes;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1987why, one step back1987Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1988–1990why, one step back1988 case '\\':1989 if (*++yyp != '\\')1990 goto do_not_strip_quotes;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1991why, one step back1991 elseFix memory leak on halt_error/1itchynybefore adoption24871fb
line 1992why, one step back1992 goto append;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1993why, one step back1993Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1994–1995why, one step back1994 append:1995 default:Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 1996why, one step back1996 if (yyres)Fix memory leak on halt_error/1itchynybefore adoption24871fb
lines 1997–1999why, one step back1997 yyres[yyn] = *yyp;1998 yyn++;1999 break;Simplify String rule in parser (#2805)Emanuele Torrebefore adoptiondcaf701
line 2000why, one step back2000The first 2,000 of 4,356 lines.