1 |
|
2001-10-04 Akim Demaille <akim@epita.fr> |
2 |
|
|
3 |
|
Merge in the branch 1.29. |
4 |
|
|
5 |
|
* src/reader.c (packsymbols): Use a temporary obstack for |
6 |
|
`%%tokendef', since output_stack is already used elsewhere. |
7 |
|
|
8 |
|
2001-10-02 Akim Demaille <akim@epita.fr> |
9 |
|
|
10 |
|
Bump 1.29d. |
11 |
|
|
12 |
|
2001-10-02 Akim Demaille <akim@epita.fr> |
13 |
|
|
14 |
|
Version 1.29c. |
15 |
|
|
16 |
|
2001-10-02 Akim Demaille <akim@epita.fr> |
17 |
|
|
18 |
|
* tests/regression.at (Invalid CPP headers): New. |
19 |
|
From Alexander Belopolsky. |
20 |
|
* src/files.c (compute_header_macro): Map non alnum chars to `_'. |
21 |
|
|
22 |
|
2001-10-02 Akim Demaille <akim@epita.fr> |
23 |
|
|
24 |
|
* tests/regression.at (Invalid input): New. |
25 |
|
* src/lex.c (lex): Be sure to set `token_buffer' in any case. |
26 |
|
Reported by Shura. |
27 |
|
|
28 |
|
2001-10-02 Akim Demaille <akim@epita.fr> |
29 |
|
|
30 |
|
* tests/calc.at: Now that --debug works, the tests must be adjusted. |
31 |
|
|
32 |
|
2001-10-02 Akim Demaille <akim@epita.fr> |
33 |
|
|
34 |
|
* src/output.c (output_parser): Assert `skeleton'. |
35 |
|
* src/files.c (skeleton_find): Look harder for skeletons on DOSish |
36 |
|
systems. |
37 |
|
From Shura. |
38 |
|
|
39 |
|
2001-10-01 Marc Autret <autret_m@epita.fr> |
40 |
|
|
41 |
|
* src/lex.h: Echo modifications. |
42 |
|
* src/lex.c (unlex): Parameter is now token_t. |
43 |
|
From Hans Aberg. |
44 |
|
|
45 |
|
2001-10-01 Marc Autret <autret_m@epita.fr> |
46 |
|
|
47 |
|
* src/main.c: Include lex.h. |
48 |
|
From Hans Aberg. |
49 |
|
|
50 |
|
2001-09-29 Akim Demaille <akim@epita.fr> |
51 |
|
|
52 |
|
* src/getargs.c (longopts): `--debug' is `-t', not `-d'. |
53 |
|
|
54 |
|
2001-09-28 Akim Demaille <akim@epita.fr> |
55 |
|
|
56 |
|
* tests/testsuite.at: Update to newer Autotest. |
57 |
|
* tests/Makefile.am (EXTRA_DIST): bison is not to be shipped. |
58 |
|
|
59 |
|
2001-09-27 Akim Demaille <akim@epita.fr> |
60 |
|
|
61 |
|
Position independent wrapper. |
62 |
|
|
63 |
|
* tests/bison: Remove. |
64 |
|
* tests/bison.in: New. |
65 |
|
* configure.in: Adjust. |
66 |
|
|
67 |
|
2001-09-27 Paul Eggert <eggert@twinsun.com> |
68 |
|
|
69 |
|
Port quotearg fixes from tar 1.13.24. |
70 |
|
|
71 |
|
* lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct |
72 |
|
tm to be declared. |
73 |
|
(HAVE_MBSINIT): Undef if !HAVE_MBRTOWC. |
74 |
|
(mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT. |
75 |
|
|
76 |
|
* m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4. |
77 |
|
* m4/mbrtowc.m4: New file. |
78 |
|
* m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h. |
79 |
|
Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc). |
80 |
|
|
81 |
|
2001-09-27 Akim Demaille <akim@epita.fr> |
82 |
|
|
83 |
|
Bump to 1.29c. |
84 |
|
|
85 |
|
2001-09-27 Akim Demaille <akim@epita.fr> |
86 |
|
|
87 |
|
Version 1.29b. |
88 |
|
|
89 |
|
2001-09-25 Akim Demaille <akim@epita.fr> |
90 |
|
|
91 |
|
* src/system.h: Include `xalloc.h'. |
92 |
|
Remove it from the C files. |
93 |
|
* src/files.c (output_files): Free the obstacks. |
94 |
|
* src/lex.c (init_lex): Rename as... |
95 |
|
(lex_init): this. |
96 |
|
(lex_free): New. |
97 |
|
* src/main.c (main): Use it. |
98 |
|
|
99 |
|
2001-09-24 Marc Autret <autret_m@epita.fr> |
100 |
|
|
101 |
|
* src/vcg.c (open_edge, close_edge, open_node, close_node): Change |
102 |
|
to output informations in fout (FILE*). |
103 |
|
(open_graph, close_graph): Likewise. |
104 |
|
(output_graph, output_edge, output_node): Likewise. |
105 |
|
* src/vcg.h: Update function prototypes. |
106 |
|
* src/print_graph.c (print_graph): Open output graph file. |
107 |
|
(print_actions): Adjust. |
108 |
|
* src/files.h: Remove extern declaration. |
109 |
|
* src/files.c: Remove graph_obstack declaration. |
110 |
|
(open_files): Remove graph_obstack initialization. |
111 |
|
(output_files): Remove graph_obstack saving. |
112 |
|
|
113 |
|
2001-09-24 Marc Autret <autret_m@epita.fr> |
114 |
|
|
115 |
|
* src/files.c (compute_output_file_names): Fix. |
116 |
|
|
117 |
|
2001-09-24 Marc Autret <autret_m@epita.fr>, |
118 |
|
Akim Demaille <akim@epita.fr> |
119 |
|
|
120 |
|
* src/reader.c (reader): Remove call to free_symtab (). |
121 |
|
* src/main.c (main): Call it here. |
122 |
|
Include symtab.h. |
123 |
|
* src/conflicts.c (initialize_conflicts): Rename as... |
124 |
|
(solve_conflicts): this. |
125 |
|
* src/print.c (print_core, print_actions, print_state) |
126 |
|
(print_grammar): Dump to a file instead a `output_obstack'. |
127 |
|
(print_results): Dump `output_obstack', and then proceed with the |
128 |
|
FILE *. |
129 |
|
* src/files.c (compute_output_file_names, close_files): New. |
130 |
|
(output_files): Adjust. |
131 |
|
* src/main.c (main): Adjust. |
132 |
|
|
133 |
|
2001-09-23 Marc Autret <autret_m@epita.fr> |
134 |
|
|
135 |
|
* src/files.c (compute_header_macro): Computes header macro name |
136 |
|
from spec_defines_file when given. |
137 |
|
|
138 |
|
2001-09-23 Marc Autret <autret_m@epita.fr> |
139 |
|
|
140 |
|
* src/files.c (output_files): Add default extensions. |
141 |
|
|
142 |
|
2001-09-22 Akim Demaille <akim@epita.fr> |
143 |
|
|
144 |
|
* src/conflicts.c (finalize_conflicts): Rename as... |
145 |
|
(free_conflicts): this. |
146 |
|
|
147 |
|
2001-09-22 Akim Demaille <akim@epita.fr> |
148 |
|
|
149 |
|
* src/gram.c (gram_free): Rename back as... |
150 |
|
(dummy): this. |
151 |
|
(output_token_translations): Free `token_translations'. |
152 |
|
* src/symtab.c (free_symtab): Free the tag field. |
153 |
|
|
154 |
|
2001-09-22 Akim Demaille <akim@epita.fr> |
155 |
|
|
156 |
|
Remove `translations' as it is always set to true. |
157 |
|
|
158 |
|
* src/gram.h: Adjust. |
159 |
|
* src/reader.c (packsymbols, parse_token_decl): Adjust |
160 |
|
* src/print.c (print_grammar): Adjust. |
161 |
|
* src/output.c (output_token_translations): Adjust. |
162 |
|
* src/lex.c (lex): Adjust. |
163 |
|
* src/gram.c: Be sure the set pointers to NULL. |
164 |
|
(dummy): Rename as... |
165 |
|
(gram_free): this. |
166 |
|
|
167 |
|
2001-09-22 Akim Demaille <akim@epita.fr> |
168 |
|
|
169 |
|
* configure.in: Invoke AM_LIB_DMALLOC. |
170 |
|
* src/system.h: Use dmalloc. |
171 |
|
* src/LR0.c: Be sure to have pointers initialized to NULL. |
172 |
|
(allocate_itemsets): Allocate kernel_items only if needed. |
173 |
|
|
174 |
|
2001-09-22 Akim Demaille <akim@epita.fr> |
175 |
|
|
176 |
|
* configure.in: Bump to 1.29b. |
177 |
|
* tests/Makefile.am (DISTCLEANFILES): Add package.m4. |
178 |
|
* tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't |
179 |
|
need xmalloc.c in calc.y. |
180 |
|
From Pascal Bart. |
181 |
|
|
182 |
|
2001-09-21 Akim Demaille <akim@epita.fr> |
183 |
|
|
184 |
|
Version 1.29a. |
185 |
|
* Makefile.maint, config/config.guess, config/config.sub, |
186 |
|
* config/missing: Update from masters. |
187 |
|
* tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend |
188 |
|
upon package.m4. |
189 |
|
* configure.in (ALL_LINGUAS): Add `tr'. |
190 |
|
|
191 |
|
2001-09-21 Akim Demaille <akim@epita.fr> |
192 |
|
|
193 |
|
* tests/Makefile.am (package.m4): Move to... |
194 |
|
($(srcdir)/$(TESTSUITE)): here. |
195 |
|
|
196 |
|
2001-09-20 Akim Demaille <akim@epita.fr> |
197 |
|
|
198 |
|
* src/complain.c: No longer try to be standalone: use system.h. |
199 |
|
Don't assume __STDC__ is defined to 1. Just test if it is defined. |
200 |
|
* src/complain.h: Likewise. |
201 |
|
* src/reduce.c (useless_nonterminals, inaccessable_symbols): |
202 |
|
Remove the unused variable `n'. |
203 |
|
From Albert Chin-A-Young. |
204 |
|
|
205 |
|
2001-09-18 Marc Autret <autret_m@epita.fr> |
206 |
|
|
207 |
|
* doc/bison.1: Update. |
208 |
|
* doc/bison.texinfo (Bison Options): Update --defines and --graph |
209 |
|
descriptions. |
210 |
|
(Option Cross Key): Update. |
211 |
|
Add --graph. |
212 |
|
|
213 |
|
2001-09-18 Marc Autret <autret_m@epita.fr> |
214 |
|
|
215 |
|
* tests/regression.at: New test (comment in %union). |
216 |
|
|
217 |
|
2001-09-18 Marc Autret <autret_m@epita.fr> |
218 |
|
|
219 |
|
* src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment |
220 |
|
do that. |
221 |
|
Reported by Keith Browne. |
222 |
|
|
223 |
|
2001-09-18 Marc Autret <autret_m@epita.fr> |
224 |
|
|
225 |
|
* tests/output.at: Add tests for --defines and --graph. |
226 |
|
|
227 |
|
2001-09-18 Marc Autret <autret_m@epita.fr> |
228 |
|
|
229 |
|
* tests/output.at: Removes tests of %{header,src}_extension features. |
230 |
|
|
231 |
|
2001-09-18 Akim Demaille <akim@epita.fr> |
232 |
|
|
233 |
|
* tests/Makefile.am (package.m4): New. |
234 |
|
* tests/calc.at (_AT_CHECK_CALC): Just run `calc input'. |
235 |
|
(_AT_CHECK_CALC_ERROR): Likewise. |
236 |
|
Factor the `, ' part of verbose error messages. |
237 |
|
|
238 |
|
2001-09-18 Marc Autret <autret_m@epita.fr> |
239 |
|
|
240 |
|
* src/getargs.c (longopts): Declare --defines and --graph as options |
241 |
|
with optional arguments. |
242 |
|
* src/files.h: Add extern declarations. |
243 |
|
* src/files.c (spec_graph_file, spec_defines_file): New. |
244 |
|
(output_files): Update. |
245 |
|
Remove CPP-outed code. |
246 |
|
|
247 |
|
2001-09-18 Marc Autret <autret_m@epita.fr> |
248 |
|
|
249 |
|
Turn off %{source,header}_extension feature. |
250 |
|
|
251 |
|
* src/files.c (compute_exts_from_gf): Update. |
252 |
|
(compute_exts_from_src): Update. |
253 |
|
(output_files): CPP-out useless code. |
254 |
|
* src/files.h: Remove {header,source}_extension extern declarations. |
255 |
|
* src/reader.c (parse_dquoted_param): CPP-out. |
256 |
|
(parse_header_extension_decl): Remove. |
257 |
|
(parse_source_extension_decl): Remove. |
258 |
|
(read_declarations): Remove cases tok_{hdrext,srcext}. |
259 |
|
* src/lex.c (percent_table): Remove {header,source}_extension entries. |
260 |
|
* src/lex.h (token_t): Remove tok_hdrext and tok_srcext. |
261 |
|
|
262 |
|
2001-09-10 Akim Demaille <akim@epita.fr> |
263 |
|
|
264 |
|
* tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT): |
265 |
|
(AT_CHECK_BISON_PERCENT_FLAGS): Merge into... |
266 |
|
(AT_CHECK_OUTPUT): this. |
267 |
|
Merely check ls' exit status, its output is useless. |
268 |
|
|
269 |
|
2001-09-10 Akim Demaille <akim@epita.fr> |
270 |
|
|
271 |
|
* tests/calc.at: Use m4_match. |
272 |
|
(_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'. |
273 |
|
|
274 |
|
2001-09-10 Marc Autret <autret_m@epita.fr>, |
275 |
|
Akim Demaille <akim@epita.fr> |
276 |
|
|
277 |
|
* src/vcg.h (graph_s): color, textcolor, bordercolor are now |
278 |
|
enum color_e. |
279 |
|
* src/print_graph.c (print_graph): Initalize graph.layoutalgorithm |
280 |
|
to `normal'. |
281 |
|
* src/reader.c (parse_token_decl): Initialize token with tok_eof. |
282 |
|
* src/lex.h: Adjust prototype. |
283 |
|
(token_t): Add `tok_undef'. |
284 |
|
* src/lex.c (struct percent_table_struct): Retval is now a token_t. |
285 |
|
(parse_percent_token): Now returns token_t. |
286 |
|
Add default statement in switch. |
287 |
|
(lex): Separate `c' as an input variable, from the token_t result |
288 |
|
part. |
289 |
|
(unlexed): Is a token_t. |
290 |
|
|
291 |
|
2001-09-10 Akim Demaille <akim@epita.fr> |
292 |
|
|
293 |
|
* configure.in: Bump to 1.29a. |
294 |
|
|
295 |
|
2001-09-07 Akim Demaille <akim@epita.fr> |
296 |
|
|
297 |
|
Version 1.29. |
298 |
|
|
299 |
|
2001-08-30 Akim Demaille <akim@epita.fr> |
300 |
|
|
301 |
|
* tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove. |
302 |
|
* m4/atconfig.m4: Remove. |
303 |
|
* tests/testsuite.at, tests/atlocal.in, tests/output.at, |
304 |
|
* tests/bison: New. |
305 |
|
* tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER, |
306 |
|
m4_if, m4_patsubst, and m4_regexp. |
307 |
|
* tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an |
308 |
|
`input' file instead of echo. |
309 |
|
|
310 |
|
2001-08-29 Akim Demaille <akim@epita.fr> |
311 |
|
|
312 |
|
Bump to 1.28e. |
313 |
|
|
314 |
|
2001-08-29 Akim Demaille <akim@epita.fr> |
315 |
|
|
316 |
|
Version 1.28d. |
317 |
|
|
318 |
|
2001-08-29 Paul Eggert <eggert@twinsun.com> |
319 |
|
|
320 |
|
* src/bison.simple (yyparse): Don't take the address of an |
321 |
|
item before the start of an array, as that doesn't conform to |
322 |
|
the C Standard. |
323 |
|
|
324 |
|
2001-08-29 Robert Anisko <anisko_r@epita.fr> |
325 |
|
|
326 |
|
* doc/bison.texinfo (Location Tracking Calc): New node. |
327 |
|
|
328 |
|
2001-08-29 Paul Eggert <eggert@twinsun.com> |
329 |
|
|
330 |
|
* src/output.c (output): Do not define const, as this now |
331 |
|
causes more problems than it cures. |
332 |
|
|
333 |
|
2001-08-29 Akim Demaille <akim@epita.fr> |
334 |
|
|
335 |
|
* doc/bison.texinfo: Modernize `@node' and `@top' use: just name |
336 |
|
the nodes. |
337 |
|
Be sure to tag the `detailmenu'. |
338 |
|
|
339 |
|
2001-08-29 Akim Demaille <akim@epita.fr> |
340 |
|
|
341 |
|
* Makefile.maint (do-po-update): Wget refuses to overwrite files: |
342 |
|
download in a tmp dir. |
343 |
|
|
344 |
|
2001-08-28 Marc Autret <autret_m@epita.fr> |
345 |
|
|
346 |
|
* config/depcomp: New file. |
347 |
|
|
348 |
|
2001-08-28 Marc Autret <autret_m@epita.fr> |
349 |
|
|
350 |
|
* doc/bison.1 (mandoc): Adjust. |
351 |
|
From Juan Manuel Guerrero. |
352 |
|
|
353 |
|
2001-08-28 Marc Autret <autret_m@epita.fr> |
354 |
|
|
355 |
|
* src/print_graph.c (print_state): Fix. |
356 |
|
|
357 |
|
2001-08-27 Marc Autret <autret_m@epita.fr> |
358 |
|
|
359 |
|
* src/vcg.h (classname_s, infoname_s, node_s): Constify the |
360 |
|
char * members. |
361 |
|
Echo modifications to the functions prototypes. |
362 |
|
* src/vcg.c (add_classname, add_infoname): Adjust arguments. |
363 |
|
|
364 |
|
2001-08-27 Marc Autret <autret_m@epita.fr> |
365 |
|
|
366 |
|
* src/vcg.c: Include `xalloc.h'. |
367 |
|
(add_colorentry): New. |
368 |
|
(add_classname): New. |
369 |
|
(add_infoname): New. |
370 |
|
* src/vcg.h: Add new prototypes. |
371 |
|
|
372 |
|
2001-08-27 Akim Demaille <akim@epita.fr> |
373 |
|
|
374 |
|
* Makefile.maint: Sync. again with CVS Autoconf. |
375 |
|
|
376 |
|
2001-08-27 Akim Demaille <akim@epita.fr> |
377 |
|
|
378 |
|
* Makefile.maint: Formatting changes. |
379 |
|
(po-update, cvs-update, update): New targets. |
380 |
|
(AMTAR): Remove. |
381 |
|
|
382 |
|
2001-08-27 Akim Demaille <akim@epita.fr> |
383 |
|
|
384 |
|
* Makefile.am (AUTOMAKE_OPTIONS): 1.5. |
385 |
|
* Makefile.maint: Sync. with CVS Autoconf. |
386 |
|
|
387 |
|
2001-08-27 Marc Autret <autret_m@epita.fr> |
388 |
|
|
389 |
|
* src/vcg.h (struct infoname_s): New. |
390 |
|
(struct colorentry_s): New. |
391 |
|
(graph_s): New fields {vertical,horizontal}_order in structure. |
392 |
|
Add `infoname' field. |
393 |
|
Add `colorentry' field; |
394 |
|
* src/vcg_defaults.h (G_VERTICAL_ORDER): New. |
395 |
|
(G_HORIZONTAL_ORDER): New. |
396 |
|
(G_INFONAME): New. |
397 |
|
(G_COLORENTRY): New. |
398 |
|
* src/vcg.c (output_graph): Add output of {vertical,horizontal}_order. |
399 |
|
Add output of `infoname'. |
400 |
|
Add output of `colorentry'. |
401 |
|
|
402 |
|
2001-08-27 Marc Autret <autret_m@epita.fr> |
403 |
|
|
404 |
|
* src/reader.c (parse_dquoted_param): Rename variable `index' to `i'. |
405 |
|
This one shadowed a global parameter. |
406 |
|
|
407 |
|
2001-08-24 Marc Autret <autret_m@epita.fr> |
408 |
|
|
409 |
|
* src/print_graph.c (node_output_size): Declared POSIX `size_t' type, |
410 |
|
instead of `unsigned'. |
411 |
|
(print_state): Do not call obstack_object_size () in obstack_grow () |
412 |
|
to avoid macro variables shadowing. |
413 |
|
|
414 |
|
2001-08-23 Marc Autret <autret_m@epita.fr> |
415 |
|
|
416 |
|
* src/lex.c (percent_table): Typo: s/naem/name/. |
417 |
|
Add graph option. |
418 |
|
Normalize new options declarations. |
419 |
|
|
420 |
|
2001-08-20 Pascal Bart <pascal.bart@epita.fr> |
421 |
|
|
422 |
|
* tests/suite.at: Exercise %header_extension and %source_extension. |
423 |
|
|
424 |
|
2001-08-16 Marc Autret <autret_m@epita.fr> |
425 |
|
|
426 |
|
* src/reader.c (parse_dquoted_param): New. |
427 |
|
(parse_header_extension_decl): Use it. |
428 |
|
(parse_source_extension_decl): Likewise. |
429 |
|
|
430 |
|
2001-08-16 Marc Autret <autret_m@epita.fr> |
431 |
|
|
432 |
|
* src/vcg.c: Remove includes of `complain.h' and `xalloc.h'. |
433 |
|
(get_xxxx_str): Use assert () instead of complain (). |
434 |
|
Remove return invokations in default cases. |
435 |
|
(get_decision_str): Modify default behaviour. Remove second argument. |
436 |
|
Echo modifications on calls. |
437 |
|
(output_graph): Fix. |
438 |
|
|
439 |
|
2001-08-16 Marc Autret <autret_m@epita.fr> |
440 |
|
|
441 |
|
* src/getargs.c (usage): Update with ``-g, --graph''. |
442 |
|
|
443 |
|
2001-08-16 Marc Autret <autret_m@epita.fr> |
444 |
|
|
445 |
|
* doc/bison.texinfo (Bison Options): Add items `-g', `--graph'. |
446 |
|
(Option Cross Key): Likewise. |
447 |
|
* doc/bison.1: Update. |
448 |
|
|
449 |
2001-09-25 Pascal Bart <pascal.bart@epita.fr> |
2001-09-25 Pascal Bart <pascal.bart@epita.fr> |
450 |
|
|
451 |
* src/output.c (output_master_parser): Don't finish action_obstack. |
* src/output.c (output_master_parser): Don't finish action_obstack. |
494 |
2001-09-20 Pascal Bart <pascal.bart@epita.fr> |
2001-09-20 Pascal Bart <pascal.bart@epita.fr> |
495 |
|
|
496 |
* src/options.c (symtab.h): Include it, need by lex.h. |
* src/options.c (symtab.h): Include it, need by lex.h. |
497 |
|
|
498 |
2001-09-20 Pascal Bart <pascal.bart@epita.fr> |
2001-09-20 Pascal Bart <pascal.bart@epita.fr> |
499 |
|
|
500 |
* src/lex.c (parse_percent_token): Change type of variable `tx', which |
* src/lex.c (parse_percent_token): Change type of variable `tx', which |
540 |
* src/output.c (output): Delete call to reader_output_yylsp. |
* src/output.c (output): Delete call to reader_output_yylsp. |
541 |
* src/reader.c (reader): Likewise. |
* src/reader.c (reader): Likewise. |
542 |
* src/reader.h: Delete declaration of reader_output_yylsp. |
* src/reader.h: Delete declaration of reader_output_yylsp. |
543 |
|
|
544 |
2001-09-02 Marc Autret <autret_m@epita.fr> |
2001-09-02 Marc Autret <autret_m@epita.fr> |
545 |
|
|
546 |
* src/reader.c: Include muscle_tab.h. |
* src/reader.c: Include muscle_tab.h. |
550 |
(read_declarations, copy_action, read_additionnal_code, : Updated |
(read_declarations, copy_action, read_additionnal_code, : Updated |
551 |
with correct variables and functions names. |
with correct variables and functions names. |
552 |
(packsymbols, reader): Likewise. |
(packsymbols, reader): Likewise. |
553 |
|
|
554 |
* src/reader.h (muscle_obstack): Extern declaration update. |
* src/reader.h (muscle_obstack): Extern declaration update. |
555 |
|
|
556 |
* src/output.c: Include muscle_tab.h |
* src/output.c: Include muscle_tab.h |
557 |
In all functions using macro_insert, change by using muscle_insert (). |
In all functions using macro_insert, change by using muscle_insert (). |
558 |
(macro_obstack): Rename muscle_obstack. |
(macro_obstack): Rename muscle_obstack. |
564 |
* src/muscle_tab.h: Update double inclusion macros. |
* src/muscle_tab.h: Update double inclusion macros. |
565 |
(macro_entry_s): Rename muscle_entry_s. |
(macro_entry_s): Rename muscle_entry_s. |
566 |
Update prototypes. |
Update prototypes. |
567 |
|
|
568 |
* src/muscle_tab.c: Include muscle_tab.h. |
* src/muscle_tab.c: Include muscle_tab.h. |
569 |
Rename macro_tabble to muscle_table. |
Rename macro_tabble to muscle_table. |
570 |
(mhash1, mhash2, mcmp): Use muscle_entry. |
(mhash1, mhash2, mcmp): Use muscle_entry. |
579 |
2001-09-02 Marc Autret <autret_m@epita.fr> |
2001-09-02 Marc Autret <autret_m@epita.fr> |
580 |
|
|
581 |
Now the files macro_tab.[ch] are named muscle_tab.[ch]. |
Now the files macro_tab.[ch] are named muscle_tab.[ch]. |
582 |
|
|
583 |
* src/muscle_tab.c, src/muscle_tab.h: Add files. |
* src/muscle_tab.c, src/muscle_tab.h: Add files. |
584 |
|
|
585 |
2001-09-02 Marc Autret <autret_m@epita.fr> |
2001-09-02 Marc Autret <autret_m@epita.fr> |
588 |
|
|
589 |
2001-09-01 Pascal Bart <pascal.bart@epita.fr> |
2001-09-01 Pascal Bart <pascal.bart@epita.fr> |
590 |
|
|
591 |
* src/reader.c (copy_guard): Use muscle to specify the `#line' |
* src/reader.c (copy_guard): Use muscle to specify the `#line' |
592 |
filename. |
filename. |
593 |
|
|
594 |
2001-09-01 Marc Autret <autret_m@epita.fr> |
2001-09-01 Marc Autret <autret_m@epita.fr> |
614 |
and insert the `prefix' muscles. |
and insert the `prefix' muscles. |
615 |
* src/macrotab.c (macro_init): Likewise. |
* src/macrotab.c (macro_init): Likewise. |
616 |
(macro_init): Initialization prefix directive by `yy'. |
(macro_init): Initialization prefix directive by `yy'. |
617 |
* src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval, |
* src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval, |
618 |
%%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar, |
%%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar, |
619 |
yylval, yydebug, yyerror, yynerrs and yyparse. |
yylval, yydebug, yyerror, yynerrs and yyparse. |
620 |
New directive `#define' to substitute yydebug, ... with option |
New directive `#define' to substitute yydebug, ... with option |
621 |
name_prefix. |
name_prefix. |
622 |
|
|
623 |
2001-08-31 Pascal Bart <pascal.bart@epita.fr> |
2001-08-31 Pascal Bart <pascal.bart@epita.fr> |
628 |
|
|
629 |
2001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr> |
2001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr> |
630 |
|
|
631 |
* src/reader.c (read_additionnal_code): Rename %%user_code to |
* src/reader.c (read_additionnal_code): Rename %%user_code to |
632 |
%%epilogue. |
%%epilogue. |
633 |
* src/output.c (output): Rename %%declarations to %%prologue. |
* src/output.c (output): Rename %%declarations to %%prologue. |
634 |
* src/bison.simple: Echo modifications. |
* src/bison.simple: Echo modifications. |
635 |
|
|
636 |
2001-08-31 Marc Autret <autret_m@epita.fr> |
2001-08-31 Marc Autret <autret_m@epita.fr> |
637 |
|
|
638 |
* src/reader.c (readgram): CleanUp. |
* src/reader.c (readgram): CleanUp. |
643 |
|
|
644 |
2001-08-31 Pascal Bart <pascal.bart@epita.fr> |
2001-08-31 Pascal Bart <pascal.bart@epita.fr> |
645 |
|
|
646 |
* src/reader.c (reader): Delete obsolete call to function |
* src/reader.c (reader): Delete obsolete call to function |
647 |
output_trailers and output_headers. |
output_trailers and output_headers. |
648 |
* src/output.h: Remove obsolete functions prototypes of output_headers |
* src/output.h: Remove obsolete functions prototypes of output_headers |
649 |
and output_trailers. |
and output_trailers. |
651 |
2001-08-30 Pascal Bart <pascal.bart@epita.fr> |
2001-08-30 Pascal Bart <pascal.bart@epita.fr> |
652 |
|
|
653 |
* src/main.c: Include macrotab.h. |
* src/main.c: Include macrotab.h. |
654 |
* src/macrotab.h (macro_entry_s): Constify fields. |
* src/macrotab.h (macro_entry_s): Constify fields. |
655 |
Adjust functions prototypes. |
Adjust functions prototypes. |
656 |
* src/macrotab.c (macro_insert): Constify key and value. |
* src/macrotab.c (macro_insert): Constify key and value. |
657 |
(macro_find): Constify key. |
(macro_find): Constify key. |
664 |
2001-08-30 Marc Autret <autret_m@epita.fr> |
2001-08-30 Marc Autret <autret_m@epita.fr> |
665 |
|
|
666 |
* src/reader.c (parse_skel_decl): New. |
* src/reader.c (parse_skel_decl): New. |
667 |
(read_declarations): Add case `tok_skel', call parse_skel_decl (). |
(read_declarations): Add case `tok_skel', call parse_skel_decl (). |
668 |
* src/lex.h (token_t): New token `tok_skel'. |
* src/lex.h (token_t): New token `tok_skel'. |
669 |
* src/lex.c (percent_table): Add skeleton option entry. |
* src/lex.c (percent_table): Add skeleton option entry. |
670 |
Standardize. |
Standardize. |
685 |
|
|
686 |
2001-08-28 Pascal Bart <pascal.bart@epita.fr> |
2001-08-28 Pascal Bart <pascal.bart@epita.fr> |
687 |
|
|
688 |
* src/output.c (output): Copy attrs_obstack in the '%%definitions' |
* src/output.c (output): Copy attrs_obstack in the '%%definitions' |
689 |
directive. |
directive. |
690 |
* src/bison.simple: Add `%%definitions'. |
* src/bison.simple: Add `%%definitions'. |
691 |
|
|