diff --git a/src/module.h b/src/module.h index 47219db24dc9..7699761e0c33 100644 --- a/src/module.h +++ b/src/module.h @@ -127,9 +127,9 @@ class Module : public Package bool read(Loc loc); // read file, returns 'true' if succeed, 'false' otherwise. Module *parse(); // syntactic parse void importAll(Scope *sc); - void semantic(); // semantic analysis - void semantic2(); // pass 2 semantic analysis - void semantic3(); // pass 3 semantic analysis + void semantic(Scope *); // semantic analysis + void semantic2(Scope *); // pass 2 semantic analysis + void semantic3(Scope *); // pass 3 semantic analysis int needModuleInfo(); Dsymbol *search(Loc loc, Identifier *ident, int flags = SearchLocalsOnly); Dsymbol *symtabInsert(Dsymbol *s);