diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-04-07 23:30:33 +0200 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2016-04-25 22:19:33 +0200 |
commit | 003d5e57f6f4c8996dcd9cdd03b61004307fd180 (patch) | |
tree | b96b5c43204dabb0e97f2f9bde0748de1f107513 /src/core | |
parent | 65bf6a7d94ae8cb95439cd3d2a232c3a23085488 (diff) |
fix typo in variable name
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/parser/stack/TypesystemHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/parser/stack/TypesystemHandler.cpp b/src/core/parser/stack/TypesystemHandler.cpp index 73bcf62..c4dd794 100644 --- a/src/core/parser/stack/TypesystemHandler.cpp +++ b/src/core/parser/stack/TypesystemHandler.cpp @@ -96,12 +96,12 @@ bool TypesystemStructHandler::startCommand(Variant::mapType &args) scope().setFlag(ParserFlag::POST_HEAD, true); // Fetch the arguments used for creating this type - const std::string &structNmae = args["name"].asString(); + const std::string &structName = args["name"].asString(); const std::string &parent = args["parent"].asString(); // Fetch the current typesystem and create the struct node Rooted<Typesystem> typesystem = scope().selectOrThrow<Typesystem>(); - Rooted<StructType> structType = typesystem->createStructType(structNmae); + Rooted<StructType> structType = typesystem->createStructType(structName); structType->setLocation(location()); // Try to resolve the parent type and set it as parent structure |