aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nexus/pdc.cc2
1 files changed, 1 insertions, 1 deletions
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();