-
Committer:
Scott James Remnant
-
Date:
2007-06-20 21:17:09 UTC
-
Revision ID:
scott@netsplit.com-20070620211709-79c3wjqehcyz7ybg
* init/parse_job.c: Where the stanza function parses an argument and
can possibly reject it, save the position and line number and do not
return that unless we're happy with the argument. This ensures errors
are raised pointing *at* the argument, rather than past it.
* init/tests/test_parse_job.c: Fix several test case errors where
the buffer was built incorrectly. Pedantically check pos and lineno
after successful parsing, and after errors, to make sure they are
where they should be.