NPAR TESTS: Prefer lex_match_id() over lex_match_hyphenated_word()
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 6 Dec 2010 06:21:14 +0000 (22:21 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 12 Dec 2010 06:17:24 +0000 (22:17 -0800)
commit848c950e47bf9912c91edf9aae9b3b6be21a2c01
tree3c5868ef3dc37c6ef001077157385f66105b2084
parent99f4295b50bc02b7024deeb59324a3332b560fbd
NPAR TESTS: Prefer lex_match_id() over lex_match_hyphenated_word()

This code used lex_match_hyphenated_word() in many places where it was
necessary to match a plain identifier.  But it is better to use
lex_match_id() when it can be, because it is simpler and faster, so this
commit does that.
src/language/stats/npar.c