Patch #5244.
[pspp-builds.git] / src / language / lexer / ChangeLog
1 Sun Jul 16 21:03:34 2006  Ben Pfaff  <blp@gnu.org>
2
3         * format-parser.h: New file.  Moved prototypes of format-parser.c
4         functions here, from lexer.h.
5
6         * format-parser.c: (parse_format_specifier_name) Rewrote and
7         changed semantics.
8         (parse_abstract_format_specifier) New function.
9         (parse_format_specifier) Rewrote in terms of
10         parse_abstract_format_specifier.  Removed "options" parameter, so
11         callers had to be updated.  Callers that didn't want messages
12         emitted were changed to use the new msg_disable/msg_enable
13         functions.
14
15         * variables-parser.c: (parse_variables_pool) New function.
16         (register_vars_pool) New function.
17         (parse_DATA_LIST_vars_pool) New function.
18         (parse_mixed_vars_pool) Use register_vars_pool.  Assert that
19         PV_APPEND is not in the options.
20         
21 Sat Jul  1 17:40:38 2006  Ben Pfaff  <blp@gnu.org>
22
23         Fix bug #11612, "q2c documentation does not agree with code".
24         
25         * q2c.c (parse_subcommand): Make "+" mean ARITY_MANY, absence
26         mean ARITY_ONCE_ONLY.
27
28 Tue Jul  4 09:45:12 2006  Ben Pfaff  <blp@gnu.org>
29
30         Fix bug #15766 (/KEEP subcommand on SAVE doesn't fully support
31         ALL) and additional underlying system file issues.
32         
33         * variable-parser.c (add_variable): Move test earlier for clarity
34         and efficiency.
35         (parse_var_set_vars) Accept ALL within a variable list, not just
36         at the beginning of one.
37
38 Tue Jun 27 22:54:30 2006  Ben Pfaff  <blp@gnu.org>
39
40         * automake.mk (src_language_lexer_liblexer_a_SOURCES): Add
41         variable-parser.h.
42
43 Tue Jun 27 19:15:33 2006  Ben Pfaff  <blp@gnu.org>
44
45         Add auxiliary data pointer to q2c parse_<command> function, and
46         pass it along to the custom parser functions.
47
48         Updated all uses of custom functions in all the existing .q files.
49         
50         * q2c.c (dump_declarations): Include auxiliary parameter in
51         function prototypes.
52         (dump_subcommand) Include aux arg in calls to custom functions.
53         (dump_parser) Include aux param in parse_<command> function
54         definition.  Include aux arg in calls to custom functions.
55
56 Tue Jun 27 12:07:34 2006  Ben Pfaff  <blp@gnu.org>
57
58         * variable-parser.h: New header.  Moved the var_set and variable
59         parsing declarations here.
60
61         * q2c.c (main): Emit include for new variable-parser.h header.
62
63 Sun Jun 25 22:41:00 2006  Ben Pfaff  <blp@gnu.org>
64
65         * q2c.c (dump_free): For SBC_DBL_LIST, enclose the output code in
66         curly braces, because it contains a variable declaration and might
67         not be at the beginning of a block.
68
69 Fri Jun  9 14:02:19 2006  Ben Pfaff  <blp@gnu.org>
70
71         Reform string library.
72         
73         * q2c.c (dump_subcommand): ds_c_str() became ds_cstr(), in
74         generated code.
75
76 Wed Apr 26 13:30:41 2006  Ben Pfaff  <blp@gnu.org>
77
78         * lexer.c: (lex_discard_rest_of_command) New function.
79
80 Mon Apr 24 14:12:08 2006  Ben Pfaff  <blp@gnu.org>
81
82         * q2c.c: Use exit.h from gnulib instead of checking for and
83         defining EXIT_SUCCESS and EXIT_FAILURE by hand.
84
85 Sat Apr 15 14:30:35 2006  Ben Pfaff  <blp@gnu.org>
86
87         * q2c.c: Change DEBUGGING macro to DUMP_TOKENS for clarity and to
88         avoid dumping all the tokens to stdout when --enable-debug is
89         passed to configure.
90
91 Fri Mar 10 08:29:25 2006  Ben Pfaff  <blp@gnu.org>
92
93         * q2c.c: (dump_free) Free proper member for var list, instead of
94         hard-coding to v_variables.  Thanks to Jason Stover for reporting
95         this bug.
96
97 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
98         
99         * Moved files from src directory