]>
Commit | Line | Data |
---|---|---|
122bea3a JMG |
1 | 2007-03-07 Juan Manuel Guerrero <juan.guerrero@gmx.de> |
2 | ||
3 | DJGPP spefic issue. Inhibit the use of disallowed characters for | |
4 | file name genertion on Win98, WinXP, etc. These are |<>":?*\ | |
5 | and concern testsuite case 46. | |
6 | * Makefile.am: djgpp/testsuite.sed added to EXTRA_DIST | |
7 | * djgpp/testsuite.sed: Inhibit the use of disallowed characters. | |
8 | * djgpp/config.bat: Inhibit the use of disallowed characters. | |
9 | ||
9611cfa2 JD |
10 | 2007-03-02 Joel E. Denny <jdenny@ces.clemson.edu> |
11 | ||
12 | Miscellaneous %define and %code cleanup. | |
13 | * data/bison.m4 (b4_percent_define_flag_if): Correct comments on how | |
14 | values are interpreted. | |
15 | * doc/bison.texinfo (Decl Summary): Clean up and extend %define | |
16 | documentation a little more. | |
17 | * src/muscle_tab.c (MUSCLE_USER_NAME_CONVERT, | |
18 | muscle_percent_define_insert, muscle_percent_code_grow): New | |
19 | functions/macros. | |
20 | * src/muscle_tab.h (muscle_percent_define_insert, | |
21 | muscle_percent_code_grow): Prototype. | |
22 | * src/parse-gram.y (prologue_declaration): Use | |
23 | muscle_percent_define_insert and muscle_percent_code_grow when parsing | |
24 | %define and %code directives. | |
25 | ||
26 | Make it easy to share %define boolean variables between the front-end | |
27 | and back-end. Though not used yet, this will be useful in the future. | |
28 | * data/bison.m4 (b4_check_user_names): Rewrite comments to talk about | |
29 | Bison uses of names rather than just skeleton uses of names. | |
30 | (b4_percent_define_get, b4_percent_define_ifdef): Rename | |
31 | b4_percent_define_skeleton_variables(VARIABLE) to | |
32 | b4_percent_define_bison_variables(VARIABLE). | |
33 | (b4_percent_code_get, b4_percent_code_ifdef): Rename | |
34 | b4_percent_code_skeleton_qualifiers(QUALIFIER) to | |
35 | b4_percent_code_bison_qualifiers(QUALIFIER). | |
36 | (b4_check_user_names_wrap): Update for renames. | |
37 | * src/muscle_tab.c, src/muscle_tab.h (muscle_percent_define_flag_if, | |
38 | muscle_percent_define_default): New functions mimicking | |
39 | b4_percent_define_flag_if and b4_percent_define_default. | |
40 | ||
41 | For %define variables, report locations for invalid values and | |
42 | redefinitions. | |
43 | * data/bison.m4 (b4_percent_define_flag_if): Read | |
44 | b4_percent_define_loc(VARIABLE) to report the location of an invalid | |
45 | value for VARIABLE. | |
46 | (b4_percent_define_default): Save a special location in | |
47 | b4_percent_define_loc(VARIABLE) in case the default value for VARIABLE | |
48 | must later be reported as invalid. | |
49 | * src/muscle_tab.c (muscle_location_grow, muscle_location_decode): New | |
50 | functions. | |
51 | (muscle_percent_define_insert): Record the location of VARIABLE in | |
52 | muscle percent_define_loc(VARIABLE), and use it to report the previous | |
53 | location for a redefinition. | |
54 | (muscle_percent_define_flag_if): Update like b4_percent_define_flag_if. | |
55 | (muscle_percent_define_default): Update like b4_percent_define_default. | |
56 | (muscle_grow_user_name_list): Rename to... | |
57 | (muscle_user_name_list_grow): ... this for consistency and use | |
58 | muscle_location_grow. | |
59 | * src/muscle_tab.h (muscle_location_grow): Prototype. | |
60 | * tests/input.at (%define errors): Update expected output. | |
61 | * tests/skeletons.at (%define boolean variables: invalid skeleton | |
62 | defaults): New test case. | |
63 | ||
0bf92491 JD |
64 | 2007-02-28 Joel E. Denny <jdenny@ces.clemson.edu> |
65 | ||
66 | * src/print.c (lookahead_set, state_default_rule): Remove. | |
67 | (print_reductions): Replace state_default_rule invocation with | |
68 | equivalent use of yydefact, which was computed in token_actions in | |
69 | tables.c. | |
70 | (print_results): Don't allocate lookahead_set. | |
71 | ||
d3b12988 PB |
72 | 2007-02-27 Paolo Bonzini <bonzini@gnu.org> |
73 | ||
74 | * data/lalr1.java: Prefix all private members with yy. | |
75 | ||
f57a7536 JD |
76 | 2007-02-24 Joel E. Denny <jdenny@ces.clemson.edu> |
77 | ||
78 | Use YYFPRINTF instead of fprintf where appropriate. Reported by | |
79 |