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/EnumType.h b/EnumType.h index 7aa55e5..fc2a9ea 100644 --- a/EnumType.h +++ b/EnumType.h
@@ -11,7 +11,8 @@ struct EnumValue; struct EnumType : public NamedType { - EnumType(std::vector<EnumValue *> *values, + EnumType(const char *localName, + std::vector<EnumValue *> *values, Type *storageType = NULL); const Type *storageType() const;