variable-parser: Rewrite parse_DATA_LIST_vars().
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 1 Jan 2011 21:00:49 +0000 (13:00 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 5 Feb 2011 21:18:13 +0000 (13:18 -0800)
commit791f28f623b5ccb8602819a1594d601f6c71fd66
tree7c084be9bd1d9079d284f63667fbdd41a7b173de
parent97cb2acd10045679031d3abe971f7896de575790
variable-parser: Rewrite parse_DATA_LIST_vars().

This rewrite was prompted by getting rid of the VAR_NAME_LEN limit inside
parse_DATA_LIST_vars(), but then I noticed that the variable naming and
coding style was dated, and that duplicate variable names were only
detected for variables named using TO, not for individual names, so I
rewrote much of the code instead.
src/language/lexer/variable-parser.c