Commit Graph

  • 2e1f5829ee * data/lalr1.cc (lex_): Rename as... (yylex_): this. Move the trace here. Take the %name-prefix into account. Reported by Alexandre Duret-Lutz. Akim Demaille 2004-12-15 16:30:15 +00:00
  • a3cb624893 Simplify the C++ parser constructor. * data/lalr1.cc (debug_): Rename as... (yydebug_): so that the parser's internals are always in the yy* pseudo namespace. Adjust uses. (b4_parse_param_decl): Remove the leading comma as it is now only called as unique argument list. (Parser::Parser): Remove the constructor accepting a location and an initial debugging level. Remove from the other ctor the argument for the debugging level. (debug_level_type, debug_level, set_debug_level): New. * tests/actions.at, tests/calc.at, tests/regression.at: Adjust constructor calls. Akim Demaille 2004-12-15 16:18:12 +00:00
  • 07fed89197 Remove b4_root related material: failure experiment (which goal was to allow to derive from an class). * data/lalr1.cc (b4_root, b4_param, b4_constructor): Remove definitions and uses. Akim Demaille 2004-12-15 15:35:17 +00:00
  • e603eaa5d4 * data/glr.c: Fix yyerror_range usage. Paul Eggert 2004-12-14 18:49:09 +00:00
  • 63d72da75b (struct yyGLRStack): yyerror_range now has 3 items, not 2, since it's not portable to subtract 1 from the start of an array. The new item 0 is never set or used. All uses changed. Paul Eggert 2004-12-14 18:48:42 +00:00
  • bbd3fa0c61 Regenerate. Paul Eggert 2004-12-12 09:29:18 +00:00
  • fafb007d45 Fix YYRHSLOC problem reported by Frank Heckenbach. Paul Eggert 2004-12-12 09:26:07 +00:00
  • 9fafc4ddfd (YYRHSLOC): Don't have two definitions, one for the normal case and one for the error case. Just use the first one uniformly. Problem reported by Frank Heckenbach. (YYLLOC_DEFAULT): Use the conventions of yacc.c, so we can use exactly the same macro in both places. (yyerror_range): Now of type yyGLRStackItem, not YYLTYPE, so that the normal-case YYRHSLOC works for the error case too. All uses changed. Paul Eggert 2004-12-12 09:25:45 +00:00
  • 24e0cbd0e1 (YYRHSLOC): New macro, taken from glr.c. (YYLLOC_DEFAULT): Use the same macro as glr.c. Paul Eggert 2004-12-12 09:25:24 +00:00
  • 766de5eb7c (Location Default Action): Don't claim that we have an array of locations. Use the same macro for both glr and lalr parsers. Mention YYRHSLOC. Mention what happens when the index is 0. Paul Eggert 2004-12-12 09:24:56 +00:00
  • a4e1a53bf9 * HACKING: Update email addresses to send announcements to. Paul Eggert 2004-12-11 08:06:29 +00:00
  • bf46a7c193 Update email addresses to send announcements to. Paul Eggert 2004-12-11 08:06:10 +00:00
  • 48814dcd46 * configure.ac (AC_INIT): Bump version to 1.875f. Paul Eggert 2004-12-11 07:23:35 +00:00
  • 1c1609b7d0 (AC_INIT): Bump version to 1.875f. Paul Eggert 2004-12-11 07:23:21 +00:00
  • 68b082af0c Update log file entry for latest checkin to tests/actions.at. Paul Eggert 2004-12-11 07:08:34 +00:00
  • a14a26fa44 (_AT_CHECK_PRINTER_AND_DESTRUCTOR): New arg specifying whether the test should be skipped. Use it tp specify that the [%defines %skeleton "lalr1.cc"] tests currently fail on some hosts, and should be skipped. Paul Eggert 2004-12-11 07:07:48 +00:00
  • 5bdca67817 Update GNU m4 URL. Paul Eggert 2004-12-11 06:28:24 +00:00
  • 337116ba3d Version 1.875e. Paul Eggert 2004-12-11 06:26:25 +00:00
  • db5c43f791 Include "complain.h", for "fatal". Paul Eggert 2004-12-11 06:16:44 +00:00
  • 7b21ee09da (relation_print, relation_digraph): Relation sizes are of type relation_node, not size_t (this is merely a doc fix, since the two types are equivalent). (relation_transpose): Relation sizes are of type relation_node, not int. (top, infinity): Now of type relation_node, not int. (traverse, relation_transpose): Use relation_node, not int. Paul Eggert 2004-12-11 06:13:07 +00:00
  • 88636fbd49 (relation_print, relation_digraph): Relation sizes are of type relation_node, not size_t (this is merely a doc fix, since the two types are equivalent). (relation_transpose): Relation sizes are of type relation_node, not int. Paul Eggert 2004-12-11 06:12:41 +00:00
  • 80a183578b (yyuserAction, yyrecoverSyntaxError): Mark args with ATTRIBUTE_UNUSED if they're not used, to avoid GCC warning. (yyparse): Remove unused local introduced in 2004-10-25 patch. Paul Eggert 2004-12-11 06:07:11 +00:00
  • 046ac74eef (_AT_CHECK_PRINTER_AND_DESTRUCTOR): New arg specifying whether the test is expected to fail. Use it tp specify that the [%defines %skeleton "lalr1.cc"] tests currently fail. Paul Eggert 2004-12-11 05:38:19 +00:00
  • 161a71f34c Correct URLs to email messages, so that they work with new GNU organization. Paul Eggert 2004-12-11 04:40:53 +00:00
  • 267757362f Add Alexandre Duret-Lutz, Baron Schwartz, Frank Heckenbach, Guido Trentalancia, Peter Fales, Troy A. Johnson, Vin Shelton. Change Paul Eggert's email address. Paul Eggert 2004-12-11 04:40:20 +00:00
  • da2a7671e1 * src/system.h (CALLOC, MALLOC, REALLOC): Remove. All callers changed to use xcalloc, xnmalloc, xnrealloc, respectively, unless otherwise specified below. Paul Eggert 2004-12-10 07:50:44 +00:00
  • 86a54ab102 (allocate_itemsets): Use xnmalloc, not xcalloc, to allocate kernel_base, kernel_items, kernel_size, since they needn't be initialized to 0. (set_states): Don't reuse kernel_size and kernel_base for initial core. Just have a separate core, so we needn't worry about whether kernel_size and kernel_base are initialized. (shift_symbol, redset, shiftset, kernel_base, kernel_size, kernel_items): Remove unnecessary initialization. Paul Eggert 2004-12-10 07:48:43 +00:00
  • 8175837596 (CALLOC, MALLOC, REALLOC): Remove. Paul Eggert 2004-12-10 07:47:58 +00:00
  • 67961b9ea0 Add strdup.m4. Paul Eggert 2004-12-09 07:55:04 +00:00
  • 44aabce335 Add strdup.c, strdup.h. Paul Eggert 2004-12-09 07:54:47 +00:00
  • 00baeeac7e goto-number minor cleanup. Paul Eggert 2004-12-08 07:30:21 +00:00
  • 78143b92af (save_column, default_goto): Use goto_number, not int, for goto numbers. Paul Eggert 2004-12-08 05:54:51 +00:00
  • 60e3ecc734 (set_goto_map): Don't allow ngotos to equal GOTO_NUMBER_MAXIMUM, since we occasionally compute ngotos + 1 without checking for overflow. (build_relations): Use END_NODE, not -1, to denote end of edges. (set_goto_map, map_goto, initialize_F, add_loopback_edge, build_relations): Use goto_number, not int, for goto numbers. Paul Eggert 2004-12-08 05:54:20 +00:00
  • b03595a5c2 (GOTO_NUMBER_MAXIMUM): New macro. Paul Eggert 2004-12-08 05:53:55 +00:00
  • be3d9d4219 2004-11-23 Akim Demaille <akim@epita.fr> Akim Demaille 2004-11-23 19:56:12 +00:00
  • 78e526d5fa * bootstrap (gnulib_modules): Add extensions. Paul Eggert 2004-11-23 08:50:37 +00:00
  • 42e826a47d (gnulib_modules): Add extensions. Paul Eggert 2004-11-23 08:50:17 +00:00
  • afbb696d19 XFREE -> free Paul Eggert 2004-11-22 21:05:25 +00:00
  • c1f8f16a9b * data/lalr1.cc (symprint_): Use cdebug_ to avoid warnings. Akim Demaille 2004-11-17 16:48:45 +00:00
  • 9a1e998918 Alexandre Duret-Lutz <adl@gnu.org> * data/lalr1.cc (Parser::yycdebug_): New, a pointer, to allow changes. (YYCDEBUG): Adjust. Use it instead of cdebug_. (Parser::debug_stream, Parser::set_debug_stream): New. (Parser::symprint_): Define cdebug_ for temporary backward compatibility. * tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Use debug_stream (). Akim Demaille 2004-11-17 16:17:50 +00:00
  • 85c19f8819 Remove an entry that was not actually committed, yet. Akim Demaille 2004-11-17 16:12:46 +00:00
  • 68e11668e4 * data/lalr1.cc (Parser:print_): Remove, use %printer instead. * tests/regression.at (_AT_DATA_DANCER_Y): Adjust. * tests/calc.at (_AT_DATA_CALC_Y): Ditto. * tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Likewise. Akim Demaille 2004-11-17 14:19:37 +00:00
  • e268877e7e This ChangeLog entry belongs to the previous patch. Akim Demaille 2004-11-17 14:13:38 +00:00
  • b9b51bf05a Fix wording problem in comment. Paul Eggert 2004-10-27 22:22:51 +00:00
  • 97cbc73e2a * data/glr.c (yyloc_default): Remove; not used. Paul Eggert 2004-10-27 22:20:01 +00:00
  • 288006a259 (yyloc_default): Remove; not used. Paul Eggert 2004-10-27 22:19:44 +00:00
  • f74b6f91f6 Goto numbers are no longer arbitrarily limited to 16-bit counts. Paul Eggert 2004-10-25 16:26:20 +00:00
  • e342c3beaf * data/glr.c (YYRHSLOC): Move its definition next to its uses. Introduce another definition to address simple location arrays. (yyGLRStack): New member: yyerror_range. (yyrecoverSyntaxError, yyparse): Update it. (yyrecoverSyntaxError): Use it when shifting the error token to have an accurate range, equivalent to the one computed by both yacc.c and lalr1.cc. * tests/cxx-type.at (_AT_TEST_GLR_CXXTYPES): Change its yylex so that column numbers start at column 0, as per GNU Coding Standards, the others tests, and the doc. (_AT_RESOLVED_GLR_OUTPUT_WITH_LOC, _AT_AMBIG_GLR_OUTPUT_WITH_LOC): Adjust to the above change (first column is 0). And adjust the location of the "<error>", now covering the whole line. Akim Demaille 2004-10-25 10:37:35 +00:00
  • 93602febc0 Remove some arbitrary limits on goto numbers and relations. Paul Eggert 2004-10-22 23:35:17 +00:00
  • 7886c2d419 Use size_t rather than unsigned int in previous patch. Paul Eggert 2004-10-22 23:14:00 +00:00
  • ed4cdb7afc (END_NODE): New macro. (relation_node): Now unsigned int, not short int. Paul Eggert 2004-10-22 23:10:39 +00:00
  • 0859e438eb (relation_print, traverse, relation_transpose): Check for END_NODE rather than looking at sign. Paul Eggert 2004-10-22 23:10:07 +00:00
  • f55ec70868 (goto_number): Now unsigned int, not short int. (GOTO_NUMBER_MAXIMUM): Remove. Paul Eggert 2004-10-22 23:09:27 +00:00
  • 4cf44c0045 (goto_map, ngotos, from_state, to_state): Omit initial values, since they're never used. (set_goto_map): ngotos is now unsigned, so test for overflow Paul Eggert 2004-10-22 23:08:33 +00:00
  • dba08b0461 doc/bison.texinfo (Language and Grammar): In example, "int" is a keyword, not an identifier. Paul Eggert 2004-10-22 18:12:50 +00:00
  • 14d4662b83 (Language and Grammar): In example, "int" is a keyword, not an identifier. Paul Eggert 2004-10-22 18:10:59 +00:00
  • df09ef2e8f * src/symtab.c (symbol_check_alias_consistency): Also check type names, destructors, and printers. Reported by Alexandre Duret-Lutz. Recode the handling of associativity and precedence in terms of symbol_precedence_set. Accept no redeclaration at all, not even equal to the previous value. (redeclaration): New. Use it to factor redeclaration complaints. (symbol_make_alias): Don't set the type of the alias, let symbol_check_alias_consistency do it as for other features. * src/symtab.h (symbol): Add new member prec_location, and type_location. * src/symtab.c (symbol_precedence_set, symbol_type_set): Set them. * tests/input.at (Incompatible Aliases): New. Akim Demaille 2004-10-11 09:03:55 +00:00
  • 2ed24dd8c7 Regenerate. Paul Eggert 2004-10-09 18:08:21 +00:00
  • 146bc99dcf .cvsignore fixes to accommodate gnulib changes, and the practice of naming build directories "_build". Paul Eggert 2004-10-09 17:59:04 +00:00
  • 7d1be3bdff Add "*_gl.m4". Paul Eggert 2004-10-09 17:57:39 +00:00
  • bd22e8363a Add getopt_.h, xalloc-die.c. Paul Eggert 2004-10-09 17:57:21 +00:00
  • 13c29075c5 Add "_*". Sort. Paul Eggert 2004-10-09 17:57:06 +00:00
  • e503aa60d5 * src/parse-gram.y (add_param): Fix the truncation of trailing spaces. Akim Demaille 2004-10-06 15:52:24 +00:00
  • 2c0ddf03ab Word changes. Akim Demaille 2004-10-05 09:58:58 +00:00
  • 8a8dc872fa Regen. Akim Demaille 2004-10-05 08:41:44 +00:00
  • b4a2033855 In Bison 1.875's yacc.c, YYLLOC_DEFAULT was called regardless whether the reducion was empty or not. This leaves room to improve the use of YYLLOC_DEFAULT in such a case. lalr1.cc is still experimental, so changing this is acceptable. And finally, there are probably not many users who changed the handling of locations in GLR, so changing is admissible too. * data/glr.c, data/lalr1.cc, data/yacc.c (YYLLOC_DEFAULT): On an empty reduction, set @$ to an empty location ending the previously stacked symbol. Adjust uses to make sure the code is triggered on empty reductions. * tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Adjust the expected output: empty reductions have empty locations. Akim Demaille 2004-10-05 08:39:17 +00:00
  • f85a5e6f4b * data/lalr1.cc: Move towards a more standard C++ coding style for templates: Class < T > -> Class<T>. Akim Demaille 2004-09-29 12:49:50 +00:00
  • b203fc2c07 * data/lalr1.cc: Reinstall the former ctor, for sake of compatibility, but warn it will be removed. Move towards a more standard C++ coding style (i.e., type *var -> type* var). Akim Demaille 2004-09-29 12:41:58 +00:00
  • 3fee967f83 Fix comment in latest checkin; there wasn't a bug. Paul Eggert 2004-09-27 22:06:45 +00:00
  • 5b7e1e73e6 * src/parse-gram.y (add_param): Fix bug where NUL was mishandled. Paul Eggert 2004-09-27 22:04:13 +00:00
  • ead9e56eb2 (add_param): Fix bug where NUL was mishandled. Avoid the use of strchr to avoid future recurrences. Paul Eggert 2004-09-27 22:03:42 +00:00
  • 0dcca5c22f * data/yacc.c (YY_LOCATION_PRINT): Fix its default declaration. Akim Demaille 2004-09-27 07:47:47 +00:00
  • 6dde1c82cd * data/lalr1.cc (b4_parse_param_decl_1): New. (b4_parse_param_decl): Use it to have different names bw attribute and argument names. (b4_cc_constructor_call): Likewise. Akim Demaille 2004-09-27 07:45:09 +00:00
  • b233d5558f * src/parse-gram.y (add_param): Strip the leading and trailing blanks from a formal argument declaration. (YY_LOCATION_PRINT): New. Akim Demaille 2004-09-27 07:42:04 +00:00
  • 619404e3fd * data/c.m4 (b4_yysymprint_generate): Move the YYINPUT invocation after the location. Akim Demaille 2004-09-24 14:14:58 +00:00
  • dd8d90221a * doc/bison.texinfo (Table of Symbols): Sort. Akim Demaille 2004-09-24 11:55:40 +00:00
  • 0092f063af * data/yacc.c, data/glr.c (b4_at_dollar, b4_dollar_dollar): Remove the useless parentheses. Suggested by Paul Eggert. Akim Demaille 2004-09-21 06:59:19 +00:00
  • 451364edb1 Let the initial-action act on the look-ahead, and use it for the "initial push" (corresponding to an hypothetical beginning-of-file). And let lalr1.cc honor %initial-action. * doc/bison.texinfo (Initial Action Decl): Clarify, and add an example. * data/lalr1.cc (Parser::initlocation_): Remove, bad experiment. (Parser::Parser): Remove the ctor that used to initialize it. (Parser::parse): Like in the other skeletons, issue the "starting parse" message before any action. Honor %initial-action. Initialize the stacks with the lookahead. * data/yacc.c: Let $$ and @$ in %initial-action designate the look-ahead. Push them in the stacks. * tests/actions.at, tests/calc.at: Adjust the C++ ctor invocations. Akim Demaille 2004-09-20 15:25:25 +00:00
  • 18d192f0ea * doc/bison.texinfo (Initial Action Decl): New. Akim Demaille 2004-09-20 14:29:31 +00:00
  • b8458aa5cc * data/yacc.c (YY_LOCATION_PRINT): Use YYLTYPE_IS_TRIVIAL as a clearer criterion to define it. (parse): Initialize the initial location when YYLTYPE_IS_TRIVIAL. When reducing on an empty RHS, use the latest stacked location as location. yylloc is not always available. * data/glr.c: Likewise. Also, honor initial-actions. Akim Demaille 2004-09-20 12:24:45 +00:00
  • 3fc16193d9 * data/yacc.c (YY_LOCATION_PRINT): New. Define when we know YYLTYPE's structure, i.e., when the default YYLLOC_DEFAULT is used. * data/c.m4 (b4_yysymprint_generate): Use it. * data/lalr1.cc (YYLLOC_DEFAULT): Stop relying on the initial value of the result. (error_start_): Replace with... (error_range_): this location array. This allows to replace code relying on the implementation of locations by portable code. * data/yacc.c (yylerrsp): Replace with... (yyerror_range): this. Every time a token is popped, update yyerror_range[0], to have an accurate location for the error token. * data/glr.c (YY_LOCATION_PRINT): New. (yyprocessOneStack): Fix an invocation of YY_SYMBOL_PRINT: deference a pointer. * tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): No longer report the location in %printers. * src/scan-skel.l: Instead of abort, report error messages to ease understanding skeleton scanning failures. Akim Demaille 2004-09-20 09:32:55 +00:00
  • ecfe33e799 * data/lalr1.cc (Stack::Iterator, Stack::ConstIterator): Rename as... (iterator, const_iterator): these, to be more in the C++ spirit. Also, return reverse iterators so that when displaying the stack we display its bottom first. (Parser::stack_print_, Parser::reduce_print_): Match the messages from yacc.c. We should probably use vector here though. Akim Demaille 2004-09-16 14:41:18 +00:00
  • 1576d44dce Have more complete shift traces. * data/yacc.c, data/lalr1.c, data/glr.c: Use YY_SYMBOL_PRINT to report Shifts instead of ad hoc YYDPRINTF invocations, including for the error token. * data/lalr1.cc (symprint_): Output the location. * tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): In C++, don't output the location within the %printer. Activate GLR tests, at least to make sure they compile properly. They still don't pass though. * tests/calc.at: Adjust expect verbose output, since now "Entering state..." is on a different line than the "Shifting" message. Akim Demaille 2004-09-16 14:14:27 +00:00
  • 9c66f418c4 * tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Move the Bison directive from the Bison file to the invocation of this macro, so that these directives are passed to AT_BISON_OPTION_PUSHDEFS to get correct help macros. Use these helping macros (e.g., AT_LOC, AT_VAL and so forth). Move the AT_SETUP/AT_CLEANUP outside, to report as test title the extra Bison directives instead of the whole series. Change the grammar so that there are recoverable errors, and unrecoverable errors. Now we can have the parser give up before consuming the whole input. As a result we now can observe that the lookahead is freed when needed. Change the parser source to parse argv[1] instead of a hard coded string. Simplify yylex, and give a value and location to EOF. Simplify some invocations of AT_CHECK_PRINTER_AND_DESTRUCTOR that passed directives already coded in the file. Add some tests to check the location of "error". For some tests, the C++ parser is correct, and not yacc.c. For other tests, they provide different, but unsatisfying, values, so keep the C++ value so that at least one parser is "correct" according to the test suite. (Actions after errors): Remove, this is subsumed by the AT_CHECK_PRINTER_AND_DESTRUCTOR series. Akim Demaille 2004-09-08 14:36:25 +00:00
  • 52d5733ff0 * data/lalr1.cc: Adjust the indentation of the labels. Use it. Akim Demaille 2004-09-06 14:32:05 +00:00
  • a0e68930d8 * data/yacc.cc, data/glr.cc (yydestruct): Accept an additional argument, an informative message. Call YY_SYMBOL_PRINT. Adjust all callers: integrate the associated YY_SYMBOL_PRINT. * data/lalr1.cc (destruct_): Likewise. In addition, no longer depend on b4_yysymprint_generate and b4_yydestruct_generate to generate these functions, do it "by hand". Akim Demaille 2004-09-06 10:29:52 +00:00
  • e757bb10bc * data/glr.c, data/lalr1.cc, data/yacc.c: When YYABORT was invoked, yydestruct the lookahead. * tests/calc.at (Calculator $1): Update the expected lengths of traces: there is an added line for the discarded lookahead. * doc/bison.texinfo (Destructor Decl): Some rewording. Define "discarded" symbols. Akim Demaille 2004-09-06 07:48:20 +00:00
  • 0fe1f06d36 * data/lalr1.cc (translate_, destruct_): No reason to be static. Akim Demaille 2004-09-02 14:30:55 +00:00
  • 284acc8ba7 * data/glr.c, yacc.c (YYDSYMPRINT): Remove, not used. (YYDSYMPRINTF): Rename as... (YY_SYMBOL_PRINT): this. * data/lalr1.cc (YY_SYMBOL_PRINT): New, modeled after the previous two. Use it instead of direct symprint_ calls. (yybackup): Tweak the "Now at end of input" case to match yacc.c's one. Akim Demaille 2004-09-02 14:27:02 +00:00
  • b7c72fe1c4 Fix ChangeLog. Akim Demaille 2004-09-02 13:25:23 +00:00
  • a5eb1ed262 * tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Adjust %printer calls to use cdebug_ when using lalr1.cc. * data/lalr1.cc (b4_yysymprint_generate): New. Akim Demaille 2004-09-02 13:04:11 +00:00
  • 417141dd61 * data/glr.c: Guard the declarations of yypstack and yypdumpstack with #ifdef YYDEBUG. Akim Demaille 2004-08-30 07:50:08 +00:00
  • 2fa09258b1 * doc/bison.texinfo (Implementing Loops): Rename as... (Implementing Gotos/Loops): this. Akim Demaille 2004-08-26 13:05:41 +00:00
  • 2ed973bf1d Regenerate. Paul Eggert 2004-08-18 20:35:31 +00:00
  • 9378b5082b Adjust to latest gnulib. Paul Eggert 2004-08-13 14:29:05 +00:00
  • a9f027b9c4 Adjust to latest gnulib. (gnulib_modules): Add xalloc-die. Set LC_ALL=C so that file names sort consistently. Prefer the gnulib copies of gettext.m4, glibc21.m4, inttypes_h.m4, lib-ld.m4, lib-prefix.m4, po.m4, stdint_h.m4, uintmax_t.m4, ulonglong.m4. (intl_files_to_remove): Add gettext.m4, lib-ld.m4, lib-prefix.m4, po.m4 since we are now using _gl.m4 instead. Paul Eggert 2004-08-13 14:28:43 +00:00
  • 87a8ad5cd3 Remove src/scan-action.l. Paul Eggert 2004-08-11 04:19:14 +00:00
  • dca81a78f8 uniqstr wasn't being used for handle_syncline like it should. Paul Eggert 2004-08-08 04:57:06 +00:00
  • c9cbf7c58e Fix bug with non-%union parsers that have printers or destructors, which led to a Bison core dump. Paul Eggert 2004-07-22 14:42:11 +00:00
  • ac700aa646 (_AT_CHECK_PRINTER_AND_DESTRUCTOR, AT_CHECK_PRINTER_AND_DESTRUCTOR): New argument UNION-FLAG. All callers changed. (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Don't assume %union. Use type char, not unsigned int, when declaring an array of char; this lets us remove a cast. (Printers and Destructors): Add non-%union test cases. Paul Eggert 2004-07-22 14:40:21 +00:00