Improve the way we handle the various parsing "states". Until now
authorBen Pfaff <blp@gnu.org>
Wed, 26 Apr 2006 20:54:07 +0000 (20:54 +0000)
committerBen Pfaff <blp@gnu.org>
Wed, 26 Apr 2006 20:54:07 +0000 (20:54 +0000)
commit30728b09540b323fef43b23dd5f1e4d1e8298c92
treed95a234144a5d837e8c5ee013312ab40c8e6d49b
parent3fc7b08b53d3a07385327d6f2aff11a2f9abce08
Improve the way we handle the various parsing "states".  Until now
we've hard-coded the state transitions in the command definition file,
but that's error-prone and, worse, it's redundant--we can figure out
what state we're in anyhow.  We can cleanly handle INPUT PROGRAM and
FILE TYPE with a nested command-processing loop.

Improve command name completion for readline.
36 files changed:
po/en_GB.po
po/pspp.pot
src/ChangeLog
src/language/ChangeLog
src/language/command.c
src/language/command.def
src/language/command.h
src/language/control/loop.c
src/language/data-io/ChangeLog
src/language/data-io/automake.mk
src/language/data-io/data-list.c
src/language/data-io/file-type.c
src/language/data-io/file-type.h [new file with mode: 0644]
src/language/data-io/get.c
src/language/data-io/inpt-pgm.c
src/language/data-io/inpt-pgm.h [new file with mode: 0644]
src/language/dictionary/formats.c
src/language/dictionary/missing-values.c
src/language/dictionary/numeric.c
src/language/dictionary/value-labels.c
src/language/dictionary/variable-display.c
src/language/dictionary/variable-label.c
src/language/dictionary/vector.c
src/language/lexer/ChangeLog
src/language/lexer/lexer.c
src/language/lexer/lexer.h
src/language/utilities/set.q
src/language/xforms/recode.c
src/procedure.c
src/procedure.h
src/ui/terminal/ChangeLog
src/ui/terminal/automake.mk
src/ui/terminal/main.c
src/ui/terminal/read-line.c
tests/ChangeLog
tests/command/missing-values.sh