OSDN Git Service

YAMMLParser::GetSourceName() は m_Source ではなく m_Name を返すべき
authorstarg <starg@users.osdn.me>
Mon, 18 Jul 2016 07:27:20 +0000 (16:27 +0900)
committerstarg <starg@users.osdn.me>
Mon, 18 Jul 2016 07:27:20 +0000 (16:27 +0900)
src/parser/parser.cpp

index 74260fe..3242dbf 100644 (file)
@@ -76,7 +76,7 @@ void YAMMLParser::AddMessage(Message::MessageItem msg)
 
 const std::string & YAMMLParser::GetSourceName() const
 {
-    return m_Source;
+    return m_Name;
 }
 
 boost::optional<AST::Module>& YAMMLParser::GetAST()