commit | 9ed827c8cd6e8eddb1ad9987ab9413c1de8a27df | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Mon Aug 22 12:31:13 2016 -0700 |
committer | Andreas Huber <andih@google.com> | Mon Aug 22 12:31:13 2016 -0700 |
tree | 05074d24156160708ec8e8f2ea918971ef504498 | |
parent | 581dec203fa827acbaf5ddee61af63e9ec007e27 [diff] [blame] |
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);