Rewrite formatted data input routines to conform to SPSS data formats
[pspp-builds.git] / src / language / lexer / ChangeLog
index 2bc5b87ef0f32ed9bce3573234cc77a35cec62f5..ebbf25441ca2b99b9bd2e26836f7eb66a66e87a5 100644 (file)
@@ -1,3 +1,54 @@
+Sun Nov 19 09:20:42 2006  Ben Pfaff  <blp@gnu.org>
+
+       * range-parser.c (parse_num_range): Because data_in takes an enum
+       fmt_type now, not a struct fmt_spec, change the type of the
+       corresponding argument.  Updated all callers.
+       (parse_number) Ditto.
+
+Sun Nov 12 06:34:06 WST 2006 John Darrrington <john@darrington.wattle.id.au>
+
+       * format-parser.c format-parser.h lexer.c lexer.h q2c.c range-parser.c
+         range-parser.h subcommand-list.c variable-parser.c
+         variable-parser.h:
+
+       Encapsulated the lexer into an object, and updated everything
+       accordingly.
+
+Tue Oct 31 18:09:32 2006  Ben Pfaff  <blp@gnu.org>
+
+       * range-parser.c (parse_number): Fix error message.
+
+Sat Oct 28 16:17:18 WST 2006 John Darrington <john@darrington.wattle.id.au>
+
+       * lexer.c lexer.h: Added a line_buffer (previously an external
+       reference called getl_buf). 
+
+Thu Oct 26 20:18:03 2006  Ben Pfaff  <blp@gnu.org>
+
+       * lexer.c (parse_string): Make lexing of binary, hex, and octal
+       strings work (fixes bug #17948).  Allow null bytes in strings, now
+       that there's a use for them (see tests/formats/float-format.sh).
+
+Sun Jul 16 21:03:34 2006  Ben Pfaff  <blp@gnu.org>
+
+       * format-parser.h: New file.  Moved prototypes of format-parser.c
+       functions here, from lexer.h.
+
+       * format-parser.c: (parse_format_specifier_name) Rewrote and
+       changed semantics.
+       (parse_abstract_format_specifier) New function.
+       (parse_format_specifier) Rewrote in terms of
+       parse_abstract_format_specifier.  Removed "options" parameter, so
+       callers had to be updated.  Callers that didn't want messages
+       emitted were changed to use the new msg_disable/msg_enable
+       functions.
+
+       * variables-parser.c: (parse_variables_pool) New function.
+       (register_vars_pool) New function.
+       (parse_DATA_LIST_vars_pool) New function.
+       (parse_mixed_vars_pool) Use register_vars_pool.  Assert that
+       PV_APPEND is not in the options.
+       
 Sat Jul  1 17:40:38 2006  Ben Pfaff  <blp@gnu.org>
 
        Fix bug #11612, "q2c documentation does not agree with code".