q2c: Prefer lex_match_id() over lex_match_hyphenated_word() in emitted code.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 6 Dec 2010 06:19:34 +0000 (22:19 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 12 Dec 2010 06:17:24 +0000 (22:17 -0800)
commit99f4295b50bc02b7024deeb59324a3332b560fbd
tree758ddf429123bc77aeff4d9f9d0a2170db4e8b4b
parent4fc76abeb861faaa36c854dfc86e76d00d8089f4
q2c: Prefer lex_match_id() over lex_match_hyphenated_word() in emitted code.

Until now, q2c has used lex_match_hyphenated_word() wherever 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/lexer/q2c.c