lexer: Fix implementation of lex_force_string_or_id().
authorBen Pfaff <blp@cs.stanford.edu>
Wed, 21 Feb 2018 19:33:23 +0000 (11:33 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 21 Feb 2018 19:37:30 +0000 (11:37 -0800)
commitb6d66ec3f328d0e8bf35b71f29332695121f7173
tree7f7d1e8900f27e95922110a81c7a44e952891472
parent3db83b515247dca69abbf7ad05d3dbdfec4b524c
lexer: Fix implementation of lex_force_string_or_id().

Change a test to make sure that it works.

Found by inspection.
src/language/lexer/lexer.c
tests/language/control/do-repeat.at