diff options
Diffstat (limited to 'src/core/parser/stack')
-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 |