diff --git a/src/parser/AutoTransitionParser.cpp b/src/parser/AutoTransitionParser.cpp index c8d5a8604..93e5fc383 100644 --- a/src/parser/AutoTransitionParser.cpp +++ b/src/parser/AutoTransitionParser.cpp @@ -9,9 +9,8 @@ namespace mrmc { namespace parser { AutoTransitionParser::AutoTransitionParser(const std::string& filename) - : type(Unknown) -{ - + : type(Unknown) { + TransitionType name = this->analyzeFilename(filename); std::pair content = this->analyzeContent(filename); TransitionType hint = content.first, transitions = content.second;