Fix nested structure/union name handling.

Local names must be assigned before processing the body.

Change-Id: I9c3e3d4b7575c612148aea89bbd424e59e3c0604
diff --git a/Scope.h b/Scope.h
index 4a77a7c..5a90abe 100644
--- a/Scope.h
+++ b/Scope.h
@@ -13,7 +13,7 @@
 struct Interface;
 
 struct Scope : public NamedType {
-    Scope();
+    Scope(const char *localName);
 
     bool addType(const char *localName, Type *type, std::string *errorMsg);