From 714eda455e0554b6a7b23cce77c2bf522b8578b5 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 17 Nov 2022 23:10:52 +0300 Subject: Make string_parser::parse_quoted() also treat newline as sub-strings separator --- libbutl/string-parser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbutl/string-parser.cxx b/libbutl/string-parser.cxx index aea1338..af5c1b3 100644 --- a/libbutl/string-parser.cxx +++ b/libbutl/string-parser.cxx @@ -14,7 +14,7 @@ namespace butl inline static bool space (char c) noexcept { - return c == ' ' || c == '\t'; + return c == ' ' || c == '\t' || c == '\n' || c == '\r'; } vector> -- cgit v1.1