Loading parser.cpp +0 −7 Changes for parser.cpp: 0 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -176,7 +176,6 @@ bool Parser::parse_file(const std::string& filepath, Makefile& mf) { bool Parser::parse_string(const std::string& content, Makefile& mf) { std::vector<std::string> logical_lines; std::string current_line; bool in_recipe = false; bool in_continuation = false; bool line_is_recipe = false; // does the logical line being built start as a recipe (tab-indented)? Loading Loading @@ -216,12 +215,6 @@ bool Parser::parse_string(const std::string& content, Makefile& mf) { current_line.clear(); in_continuation = false; } // Track whether next line might be recipe if (!in_continuation) { std::string t = trim(current_line.empty() ? logical_lines.back() : current_line); in_recipe = false; } } if (!current_line.empty()) { logical_lines.push_back(current_line); Loading Loading
parser.cpp +0 −7 Changes for parser.cpp: 0 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -176,7 +176,6 @@ bool Parser::parse_file(const std::string& filepath, Makefile& mf) { bool Parser::parse_string(const std::string& content, Makefile& mf) { std::vector<std::string> logical_lines; std::string current_line; bool in_recipe = false; bool in_continuation = false; bool line_is_recipe = false; // does the logical line being built start as a recipe (tab-indented)? Loading Loading @@ -216,12 +215,6 @@ bool Parser::parse_string(const std::string& content, Makefile& mf) { current_line.clear(); in_continuation = false; } // Track whether next line might be recipe if (!in_continuation) { std::string t = trim(current_line.empty() ? logical_lines.back() : current_line); in_recipe = false; } } if (!current_line.empty()) { logical_lines.push_back(current_line); Loading