replaced boolean trap parameter in the base lexer

This commit is contained in:
jp9000
2013-12-16 00:05:27 -07:00
parent af5db87ea1
commit ed388fc82e
5 changed files with 18 additions and 11 deletions

View File

@@ -335,7 +335,7 @@ static bool cf_lexer_nexttoken(struct cf_lexer *lex, struct cf_token *out_token)
base_token_clear(&start_token);
cf_token_clear(out_token);
while (lexer_getbasetoken(&lex->base_lexer, &token, false)) {
while (lexer_getbasetoken(&lex->base_lexer, &token, PARSE_WHITESPACE)) {
/* reclassify underscore as alpha for alnum tokens */
if (*token.text.array == '_')
token.type = BASETOKEN_ALPHA;