SET LOCALE: Don't use lex_tokstr() after skipping to next token.
authorBen Pfaff <blp@gnu.org>
Wed, 8 Apr 2009 04:20:47 +0000 (21:20 -0700)
committerBen Pfaff <blp@gnu.org>
Wed, 8 Apr 2009 04:20:47 +0000 (21:20 -0700)
commitf1b01009a4d6468f4688a4786752edfcd7899d04
tree5dce4fce40a6e13c0b0156e3704d7be0cf868ba5
parentdd2e61b4a4e0f5605588a9d7249ea5d9bd70287a
SET LOCALE: Don't use lex_tokstr() after skipping to next token.

The return value from lex_tokstr() is only valid until the next call to
lex_get() (or another function that changes the current token), so don't
advance past the token until we're done with its string value.
src/language/utilities/set.q