nexus: Fix PDC string handling
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
af3af59df4
commit
d849e2f8b4
@ -170,7 +170,7 @@ struct PDCParser
|
|||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
char c = peek();
|
char c = peek();
|
||||||
if (!in_quotes && !in_braces && !escaped && std::isblank(c)) {
|
if (!in_quotes && !in_braces && !escaped && (std::isblank(c) || c == ']')) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
get();
|
get();
|
||||||
|
Loading…
Reference in New Issue
Block a user