More work on packages

This commit is contained in:
Krzosa Karol
2022-06-10 11:05:08 +02:00
parent b0077fe9df
commit d5d9911f3e
8 changed files with 158 additions and 185 deletions

View File

@@ -542,9 +542,6 @@ lex_restream(Lexer *lexer, String istream, String file){
lexer->stream.line_begin = istream.str;
lexer->stream.file = lexer->intern(file);
lexer->tokens.clear();
lexer->token_iter = 0;
Scratch scratch;
lexer->stream.indent_stack.allocator = scratch;
lexer->stream.indent_stack.add(&token_null);