lexer: Get rid of lex_negative_to_dash().
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 20 Jul 2010 05:52:18 +0000 (22:52 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 19 Nov 2010 17:37:03 +0000 (09:37 -0800)
commit740218f508466f16a79939cd97027b99f589d682
treef7937828a3a91f9d2efdefc1e1a2f637c1a4f765
parent691c25e36fd1ee722dd35419d6110e3876b99f9c
lexer: Get rid of lex_negative_to_dash().

This function stands in the way of replacing the lexer in a
straightforward way, because it disrupts the stream of tokens: the
lexer can't tell in advance whether, e.g., "-4" is one token or
two.  Fortunately, it is not used in very many places and is
relatively easy to remove.
src/language/data-io/placement-parser.c
src/language/expressions/parse.c
src/language/lexer/lexer.c
src/language/lexer/lexer.h