diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-08-25 11:38:32 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-25 14:36:46 +0200 |
commit | de48503aef098d855754ab6f85558402130188d7 (patch) | |
tree | c84c7527ee3a351c1c92183bb7a68e4adbaff303 /include/ast.h | |
parent | 4d8283e14b0365038b01df4fab5dee75035007ed (diff) |
Find tokenizer by code reference instead of using scope parser
Diffstat (limited to 'include/ast.h')
-rw-r--r-- | include/ast.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/ast.h b/include/ast.h index bdab6c3..edf225b 100644 --- a/include/ast.h +++ b/include/ast.h @@ -130,8 +130,6 @@ struct Scope { Buffer/*<Ast*>*/ ast_objects; HashMapType(BufferView, Ast*) named_objects; /* Value is always an Ast* with type LhsExpr */ Scope *parent; - /* Is null unless the scope is a file scope, in which case this is the parser that owns the scope */ - Parser *parser; FunctionSignature *function_signature; /* Borrowed from FunctionDecl. Only used if the scope belongs to FunctionDecl */ }; |