diff --git a/CommandShell/Commands/Commands.cpp b/CommandShell/Commands/Commands.cpp index 352aeb6..5104a72 100644 --- a/CommandShell/Commands/Commands.cpp +++ b/CommandShell/Commands/Commands.cpp @@ -102,8 +102,8 @@ std::string UnaryCommand::execute(const std::vector& args) } else if (args[0] == "compl") { - FiniteStateAutomation* compl = new FiniteStateAutomation(Complement(*fsa)); - dispatcher.env.registerAutomation(args[1], compl); + FiniteStateAutomation* comple = new FiniteStateAutomation(Complement(*fsa)); + dispatcher.env.registerAutomation(args[1], comple); } else if (args[0] == "star") {