nexus: Fix PDC string handling

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah 2020-10-12 18:10:23 +01:00
parent af3af59df4
commit d849e2f8b4

View File

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