summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-04-07 23:30:33 +0200
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2016-04-25 22:19:33 +0200
commit003d5e57f6f4c8996dcd9cdd03b61004307fd180 (patch)
treeb96b5c43204dabb0e97f2f9bde0748de1f107513 /src/core
parent65bf6a7d94ae8cb95439cd3d2a232c3a23085488 (diff)
fix typo in variable name
Diffstat (limited to 'src/core')
-rw-r--r--src/core/parser/stack/TypesystemHandler.cpp4
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