X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Flexer%2FChangeLog;h=cfa344d2f84bfd0589479992c746368d77b997b9;hb=08e4a9535a7e1de9cc4b6e619e70805ab951b323;hp=fd98ea9c0a0dd51e8cd3b88f7319f2e96d8e4d79;hpb=3816248a008a4af75aac6319d0c9929cb7ff679e;p=pspp-builds.git diff --git a/src/language/lexer/ChangeLog b/src/language/lexer/ChangeLog index fd98ea9c..cfa344d2 100644 --- a/src/language/lexer/ChangeLog +++ b/src/language/lexer/ChangeLog @@ -1,3 +1,47 @@ +Sat Dec 9 18:46:11 2006 Ben Pfaff + + * variable-parser.h: New PV_SAME_WIDTH variable parsing option. + + * variable-parser.c (add_variable): Implement new PV_SAME_WIDTH + option. + (parse_var_set_vars) Ditto. + (array_var_set_lookup_var_idx) Use new var_create, var_destroy + functions. + +Sat Dec 2 21:19:50 2006 Ben Pfaff + + General clean-up. + + * lexer.c: (lex_token_name) Don't use a static buffer or, rather, + use a separate static buffer for each possible answer. + (lex_token_representation) Now use lex_token_name as building + block. Previously this broke lex_force_match because it uses + lex_token_name in a call to lex_error, which in turn uses + lex_token_representation. + (lex_force_match_id) Use lex_match_id as building block, to + simplify. + (parse_id) Rewrite to work with modified lex_id_to_token and + lex_id_get_length. The computation of rest_of_line is a bit of an + abomination but it will get fixed later. + +Sat Dec 2 20:16:50 2006 Ben Pfaff + + * lexer.c (struct lexer): Change function signature for + `read_line' to take an "enum getl_syntax *" instead of "bool *". + (lex_create) Ditto, for argument. + (lex_preprocess_line) New function. + (lex_get_line_raw) New arg, to allow caller to obtain getl_syntax + of the line read. + (lex_get_line) Use lex_get_line_raw and lex_preprocess_line to + simplify. + +Sun Nov 19 09:20:42 2006 Ben Pfaff + + * 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 * format-parser.c format-parser.h lexer.c lexer.h q2c.c range-parser.c