Saner determination of a declared type's name (now short + full name)
at the time the type is introduced to a scope.
diff --git a/AST.h b/AST.h
index c775e76..7bb07c1 100644
--- a/AST.h
+++ b/AST.h
@@ -15,6 +15,7 @@
struct Coordinator;
struct Formatter;
struct Method;
+struct NamedType;
struct TypedVar;
struct Scope;
@@ -32,6 +33,7 @@
void enterScope(Scope *container);
void leaveScope();
Scope *scope();
+ void addScopedType(const char *localName, NamedType *type);
void *scanner();
void setScanner(void *scanner);