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();