From 003d5e57f6f4c8996dcd9cdd03b61004307fd180 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Tue, 7 Apr 2015 23:30:33 +0200 Subject: fix typo in variable name --- src/core/parser/stack/TypesystemHandler.cpp | 4 ++-- 1 file 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 = scope().selectOrThrow(); - Rooted structType = typesystem->createStructType(structNmae); + Rooted structType = typesystem->createStructType(structName); structType->setLocation(location()); // Try to resolve the parent type and set it as parent structure -- cgit v1.2.3