Clean up the last token when receiving TOK_END

This commit is contained in:
ridiculousfish 2014-12-23 11:22:54 -08:00
parent 39fe9fcfcd
commit d458a8a03d

View file

@ -640,6 +640,7 @@ void tok_next(tokenizer_t *tok)
tok->buff++;
}
}
tok->last_token.clear();
break;
case L'&':
tok->last_type = TOK_BACKGROUND;