From fe9971d379766a4f7d4576495caff9ffaa80cfef Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 26 Mar 2019 20:54:54 +0100 Subject: Synchronize funccall generate. Uses correct func index now --- include/ast.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/ast.h') diff --git a/include/ast.h b/include/ast.h index eaf2352..580ca24 100644 --- a/include/ast.h +++ b/include/ast.h @@ -76,6 +76,8 @@ struct Scope { Buffer/**/ ast_objects; HashMap/*(key=BufferView, value=Ast*)*/ named_objects; Scope *parent; + /* Is null unless the scope is a file scope, in which case this is the parser that owns the scope */ + Parser *parser; }; struct FileScopeReference { -- cgit v1.2.3