New function parse_value() for parsing a value of specified width.
authorBen Pfaff <blp@gnu.org>
Sun, 24 May 2009 18:26:41 +0000 (11:26 -0700)
committerBen Pfaff <blp@gnu.org>
Sun, 7 Jun 2009 04:11:12 +0000 (21:11 -0700)
commite588208caf725f595d63a07ddd2116331173e81d
treecb6b7ca704db5aaf386dbb1e7508e1718e61a0ff
parent90a74c873f5dc594ac9bb6b1b347bf12b1c00319
New function parse_value() for parsing a value of specified width.

Occasionally a value of a given width needs to be parsed from syntax.
This commit adds a helper function for doing so and modifies a few pieces
of code to use it.  Probably there are other places where it would be
useful that could not easily be found with "grep".

This commit also renames the range-parser code to value-parser and puts
the new function in there, as a natural generalization.

Suggested by John Darrington.
src/language/dictionary/missing-values.c
src/language/expressions/evaluate.c
src/language/lexer/automake.mk
src/language/lexer/range-parser.c [deleted file]
src/language/lexer/range-parser.h [deleted file]
src/language/lexer/value-parser.c [new file with mode: 0644]
src/language/lexer/value-parser.h [new file with mode: 0644]
src/language/stats/t-test.q
src/language/xforms/count.c
src/language/xforms/recode.c