From d849e2f8b47c2da442db44af4ee613c353d7efb9 Mon Sep 17 00:00:00 2001 From: David Shah Date: Mon, 12 Oct 2020 18:10:23 +0100 Subject: nexus: Fix PDC string handling Signed-off-by: David Shah --- nexus/pdc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nexus/pdc.cc b/nexus/pdc.cc index 98a44276..2622bfe1 100644 --- a/nexus/pdc.cc +++ b/nexus/pdc.cc @@ -170,7 +170,7 @@ struct PDCParser while (true) { char c = peek(); - if (!in_quotes && !in_braces && !escaped && std::isblank(c)) { + if (!in_quotes && !in_braces && !escaped && (std::isblank(c) || c == ']')) { break; } get(); -- cgit v1.2.3