Parser fix for multi-level arrays

master
Peter Šurda 6 years ago
parent dcc181bf75
commit 4f19c37fdc
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

@ -219,6 +219,7 @@ class BMProto(AdvancedDispatcher, ObjectTracker):
if parserStack[-1][3][j] not in "lL0123456789":
break
parserStack.append([size, size, isArray, parserStack[-1][3][parserStack[-1][4]:j+1], 0, []])
parserStack[-2][4] += len(parserStack[-1][3]) - 1
size = None
continue
elif i == "s":

Loading…
Cancel
Save