lexer: Use error helper functions in more situations.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 5 Nov 2011 23:23:05 +0000 (16:23 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 6 Nov 2011 16:19:23 +0000 (08:19 -0800)
commitda1bf03a84fa10f04e8c5438f22b523f0480dd7d
tree4c46fa6dea986179e4a296469010f9d25adb70f5
parentf7e9711f020ba507719f1f21cac04ae1199a4ac0
lexer: Use error helper functions in more situations.

The error helpers print error messages that are just as helpful
as handwritten error messages in most cases, especially now
that the error messages include column numbers.  They also
have advantages for i18n.

One important purpose of this commit is to remove several
strings from q2c.c that require translation but currently are
not translatable.
15 files changed:
src/language/data-io/inpt-pgm.c
src/language/data-io/trim.c
src/language/dictionary/formats.c
src/language/dictionary/modify-variables.c
src/language/dictionary/numeric.c
src/language/dictionary/rename-variables.c
src/language/expressions/parse.c
src/language/lexer/q2c.c
src/language/stats/frequencies.q
src/language/stats/npar.c
src/language/stats/sort-criteria.c
src/language/stats/t-test-parser.c
src/language/utilities/permissions.c
tests/language/lexer/q2c.at
tests/language/stats/t-test.at