• Home
  • Raw
  • Download

Lines Matching refs:yacc

10 	compatibility with data/yacc.c.  Problem reported by John P. Hartmann in
32 * data/yacc.c (yy_reduce_print): Omit trailing white space in
47 * data/yacc.c (yyparse): Wrap the final return from yyparse inside YYID
109 * data/yacc.c (yysyntax_error): Likewise.
115 * data/yacc.c (yytnamerr): Fix typo: local var should be of type
191 * data/yacc.cc: Likewise.
244 * data/yacc.c, data/glr.c: Remove a useless `[]'.
383 * data/yacc.c [(! defined yyoverflow || YYERROR_VERBOSE) && !
555 * data/yacc.cc: Likewise.
561 * data/yacc.c (b4_int_type): Use yytype_uint8, etc., so that the
569 (YYTYPE_INT16): New macros, to test the new facility in yacc.c.
609 * data/yacc.c: Likewise.
615 * data/yacc.c (YYSTYPE): Don't generate trailing spaces in output.
704 * data/yacc.c (YYUSE): Likewise.
876 * data/yacc.c (YYMODERN_C): Remove. All uses replaced by
905 --yacc does.
920 * data/glr.c, data/glr.cc, data/lalr1.cc, data/yacc.c:
929 * data/yacc.c, src/getargs.c, src/output.c, tests/cxx-type.at:
958 * data/c++.m4, data/glr.c, data/yacc.c: Include c.m4.
1026 * data/lalr1.cc, data/yacc.c, data/glr.c, data/c.m4
1066 * data/yacc.c: Likewise.
1072 * data/yacc.c: Likewise.
1073 * data/yacc.c: Reformat comments slightly.
1101 * data/glr.c, data/yacc.c (YYLLOC_DEFAULT): Change `if (N)' to
1108 * data/yacc.c (yylen): Initialize to 0.
1211 * data/yacc.c: Likewise.
1217 * data/yacc.c (YYSTACK_FREE) [defined YYSTACK_ALLOC]:
1241 * data/yacc.c: Say "parser skeleton" rather than "file", since
1248 * data/yacc.c: Reword the "written by" statement to clarify that
1256 * data/yacc.c (yy_reduce_print, YY_REDUCE_PRINT):
1287 * data/yacc.c (yy_reduce_print): Likewise.
1417 * data/yacc.c (b4_Pure_if): Rename as...
1454 * data/yacc.c (YYMODERN_C): Likewise. Don't define if the user has
1474 * data/yacc.c (YYMODERN_C): New macro, which also looks at
1496 * data/yacc.c (YYUSE): New macro.
1513 * data/yacc.c: Likewise.
1550 * data/yacc.c: Likewise.
1713 * data/yacc.c [YYSTACK_USE_ALLOCA && !defined __GNUC__ && ! defined
1717 to match yacc.c, to test more hosts.
1721 * data/yacc.c (YYSIZE_T): Reindent to make it clearer. This
1743 * data/yacc.c (YYSIZE_MAXIMUM): New macro.
1817 * data/yacc.c, data/glr.c: Adjust.
1888 * data/yacc.c: b4_filename -> b4_file_name.
1957 * data/yacc.c (yyreturn): Likewise.
2039 * data/c.m4, data/lalr1.cc, data/yacc.c: Normalize white space.
2132 * data/yacc.c (YYTOKEN_TABLE, yytname): Likewise.
2148 * data/yacc.c (yytnamerr): New function.
2205 * data/yacc.c (yyreturn): Pop and destroy the start symbol, too.
2222 * data/yacc.c (yyparse): "parser stack overflow" -> "memory exhausted".
2253 * data/glr.c (YY_): New macro, from yacc.c.
2260 Use same method that yacc.c uses.
2264 * data/yacc.c (YY_): Renamed from YY18N. All uses changed.
2287 (YYCHK1): Use goto (a la yacc.c) rather than setting a flag.
2293 to mimic yacc.c. Do not discard lookahead if it's EOF (possible
2356 * data/yacc.c: Rewrite inclusion of <libintl.h> so that ENABLE_NLS
2383 * data/yacc.c: Include <libintl.h> when NLS is enabled.
2442 * data/yacc.c (yyparse): Undo previous patch. Instead,
2446 * data/yacc.c (yyparse): In the initial action, set
2500 (yystpcpy): New function, taken from yacc.c.
2522 This code is taken from yacc.c.
2559 * data/yacc.c (malloc, free) [defined __cplusplus]: Wrap inside
2571 * data/yacc.c (yyparse): strlen -> yystrlen.
2581 * data/yacc.c (YYSIZE_T): Define first, so that later decls can use it.
2654 yesterday's yacc.c fix.
2662 * data/yacc.c (yyabortlab): Don't call destructor, and
2693 data/README, data/c.m4, data/glr.c, data/lalr1.cc, data/yacc.c,
2735 * data/yacc.c (yyerrlab): Move the code that destroys the stack
2744 * data/yacc.c (YYSTACK_ALLOC_MAXIMUM): Add more-descriptive comment.
2778 * data/yacc.c (YYSTACK_ALLOC_MAXIMUM): New macro.
2789 * data/yacc.c (_) [!defined _]: New macro.
2838 * data/yacc.c (yyparse): Omit spaces before #line.
2918 * data/yacc.c (YYCOPY, yystpcpy, yyparse): Remove "register"
2928 * data/yacc.c (yyparse): Likewise.
2943 * data/yacc.c (yyparse): Pacify non-GCC compilers about yyerrorlab
3000 * data/yacc.c (YYMAXDEPTH): Likewise.
3063 * data/yacc.c (YYLLOC_DEFAULT): Likewise.
3119 * data/yacc.c (b4_lhs_value, b4_rhs_value, b4_lhs_location,
3125 yacc.c: be sure to stay within yycheck_.
3137 * data/glr.c, data/yacc.c: Comment changes.
3236 (YYLLOC_DEFAULT): Use the conventions of yacc.c, so we can
3241 * data/yacc.c (YYRHSLOC): New macro, taken from glr.c.
3412 yacc.c and lalr1.cc.
3475 In Bison 1.875's yacc.c, YYLLOC_DEFAULT was called regardless
3482 * data/glr.c, data/lalr1.cc, data/yacc.c (YYLLOC_DEFAULT): On an
3509 * data/yacc.c (YY_LOCATION_PRINT): Fix its default declaration.
3535 * data/yacc.c, data/glr.c (b4_at_dollar, b4_dollar_dollar): Remove
3553 * data/yacc.c: Let $$ and @$ in %initial-action designate the
3564 * data/yacc.c (YY_LOCATION_PRINT): Use YYLTYPE_IS_TRIVIAL as a
3575 * data/yacc.c (YY_LOCATION_PRINT): New.
3585 * data/yacc.c (yylerrsp): Replace with...
3605 from yacc.c.
3612 * data/yacc.c, data/lalr1.c, data/glr.c: Use YY_SYMBOL_PRINT
3642 For some tests, the C++ parser is correct, and not yacc.c.
3657 * data/yacc.cc, data/glr.cc (yydestruct): Accept an additional
3668 * data/glr.c, data/lalr1.cc, data/yacc.c: When YYABORT was
3681 * data/glr.c, yacc.c (YYDSYMPRINT): Remove, not used.
3687 (yybackup): Tweak the "Now at end of input" case to match yacc.c's
4124 * data/yacc.c (b4_int_type, yyss, YYSTACK_BYTES, yysigned_char,
4362 * data/yacc.c (yyparse): Use b4_initial_action.
4392 Also, augment the similarity between lalr1.cc and yacc.c.
4396 lalr1.cc and yacc.c.
4451 * data/yacc.c (YYFREE, YYMALLOC): Likewise.
4469 * data/yacc.c (YYLLOC_DEFAULT): Likewise.
4663 parser can loop. Provide a test case and a fix for yacc.c. I
4668 * data/yacc.c (YYERROR): Now just 'goto yyerrorlab', since the
4680 data/yacc.c. Use 'alarm' to abort any test taking longer than
4683 Also, the new yacc.c generates two fewer diagnostics for an
4693 * data/yacc.c (union yyalloc): Likewise.
4826 * tests/calc.at: Also test yacc.c and glr.c (but not lalr1.cc yet)
4832 * data/yacc.c: (b4_lex_param): Corrected for the case where
4839 * data/yacc.c (YYSTACK_ALLOC): Don't evaluate YYSTACK_USE_ALLOCA
4922 * src/.cvsignore: Add yacc.
5002 * data/yacc.c, data/glr.c, data/lal1.cc: Use similar code to
5071 * data/yacc.c (yy_reduce_print): Likewise.
5143 * data/yacc.c (yyerrlab) [YYERROR_VERBOSE]:
5147 Check for malloc failure, for consistency with yacc.c.
5148 (yytname_size): Remove, for consistency with yacc.c.
5311 * data/yacc.c (YYERROR): Move code from yyerrlab1 to here, so that
5335 explicitly, as is the case in yacc.c; it is not a problem, as
5371 * configure.ac (AC_ARG_ENABLE): Add --disable-yacc.
5375 * src/Makefile.am (bin_SCRIPTS): yacc -> @YACC_SCRIPT@.
5376 (EXTRA_SCRIPTS): New var, for yacc.
5378 * data/yacc.c (yyerrlab1): Omit attribute if __cplusplus is defined,
5410 * data/yacc.c (yyerrlab1): Append `;' after attribute, to
5473 * data/yacc.c (yyparse): New local var yylerrsp, to record the
5509 * data/glr.c, data/lalr1.cc, data/yacc.c: Don't include c.m4.
5521 * doc/bison.1: Remove references. Also, mention "yacc".
5567 * data/yacc.c: Likewise.
5569 * data/yacc.c (YYSTYPE): Declare as union YYSTYPE if the user
5571 Solaris 9 yacc.
5622 * data/yacc.c (YYTRANSLATE): Don't check for negative argument,
5633 POSIX requires a "yacc" command.
5634 * src/Makefile.am (bin_SCRIPTS): New macro, for yacc.
5635 (MOSTLYCLEANFILES): Add yacc.
5636 (yacc): New rule.
5637 * doc/bison.texinfo (Invocation, Bison Options): Mention yacc
5655 * data/yacc.c (YYLTYPE, struct yyltype): Do not define unless
5892 * data/yacc.c (YYSTACK_GAP_MAXIMUM): Renamed from YYSTACK_GAP_MAX.
5930 * data/glr.c, data/lalr1.cc, data/yacc.c: Do not use __file__,
6022 * data/yacc.c (yy_reduce_print): Likewise.
6117 * data/yacc.c (yyerrlab1): Move this label down, so that the
6214 * data/yacc.c (yy_stack_print, YY_STACK_PRINT, yy_reduce_print)
6233 * data/yacc.c: Quote larger chunks, a la glr.c.
6241 `yacc.c''s behavior as (possibly wrong) reference.
6250 * data/yacc.c: Avoid over-quoting of __line__ and __file__.
6256 * data/glr.c, data/lalr1.cc, data/yacc.cc, doc/bison.texinfo,
6359 * data/yacc.c: Leave bigger chunks of quoted text.
6439 * data/yacc.c (yysymprint): Remove, rather...
6443 yacc.c.
6452 * data/yacc.c: Rename yychar1 as yytoken, as in glr.c.
6458 * data/glr.c (YYTRANSLATE): As for yacc.c, if negative, it stands
6569 * data/yacc.c: Likewise.
6577 * data/yacc.c: Likewise.
6581 * data/yacc.c: Likewise.
6667 * data/yacc.c (b4_yyerror_args): New.
6696 * data/glr.c, data/yacc.c, data/lalr1.cc: Use it.
6751 returns true when location & yacc & pure & parse-param.
6775 * data/yacc.m4 (b4_pure_args, b4_Pure_args): New.
6928 * data/yacc.c, data/glr.c, data/lalr1.cc: Do it right before the
6933 * data/yacc.c (m4_int_type): New.
6935 char' as only yacc.c wants K&R portability.
6967 doing locations. This is more consistent with yacc.c, and it
7053 * data/yacc.c (yyparse): Prototype and define thanks to these.
7070 * data/yacc.c, data/lalr1.cc, data/glr.c: Normalize `>' into `<'.
7078 * data/yacc.c, data/yacc.c (b4_location_if, b4_pure_if): Move to...
7088 * data/glr.c, data/lalr1.cc, data/yacc.c (b4_location_type)
7132 * data/yacc.c (YYLEX): Pass a yylex return type to
7155 * data/yacc.c (YYLEX): Use b4_c_function_call to honor %lex-param.
7310 * data/yacc.c (yysigned_char): Likewise.
7315 * data/yacc.c (yyparse): Rewrite to avoid "comparison is always
7369 Tweak some trace messages to match yacc.c's.
7395 * data/yacc.c (yyparse) <yybackup>: Rewrite the decoding of the
7435 * data/glr.c, data/lalr1.cc, data/yacc.c:
7442 * data/yacc.c (yyreport_parse_error): Remove, putting its body into...
7773 exception applies only to yacc.c. This is a modification of a
7780 * data/yacc.c: here.
7788 * data/yacc.c: Guard the declaration of yytoknum also with
7828 * data/yacc.c: Fix comment about `$$ = $1': it can copy garbage.
8089 * data/yacc.c, data/glr.c, data/lalr1.c: When making the verbose
8166 * data/yacc.c (yyreport_parse_error): Rename yylocation as yylloc
8200 * data/yacc.c: Use it to define yysymprint, yydestruct, and
8205 * data/yacc.c (yyreport_parse_error): New, extracted from...
8215 * data/yacc.c, data/glr.c, data/lalr1.cc: Use b4_int_type_for.
8244 * data/yacc.c, data/glr.c, data/lalr1.cc (YYFLAG): Remove,
8291 recovery rule, and forbid extensions when --yacc.
8303 * data/yacc.c: Output the copyright notive in the header.
8313 * data/yacc.c, data/glr.c, data/lalr1.cc: Adjust.
8593 reorganize first lines parallel to yacc.c.
8599 * data/lalr1.cc, data/yacc.c, glr.c: here.
8603 * data/yacc.c (yydestruct, yysymprint): Pacify GCC warnings for
8742 * data/yacc.c, data/lalr1.cc: these.
9483 POSIX and yacc. Specifically, after syntax error is discovered,
10671 (section.yacc): Remove.
10876 Remove all references to fixed-output-files, yacc is enough.
11537 * src/reader.c (copy_action): When --yacc, don't append a `;'
14030 * src/lex.c (percent_table): Also accept `%yacc',
14687 `--debug', `--yacc', `--yacc --debug'.