Parser fix for multi-level arrays
This commit is contained in:
parent
dcc181bf75
commit
4f19c37fdc
|
@ -219,6 +219,7 @@ class BMProto(AdvancedDispatcher, ObjectTracker):
|
||||||
if parserStack[-1][3][j] not in "lL0123456789":
|
if parserStack[-1][3][j] not in "lL0123456789":
|
||||||
break
|
break
|
||||||
parserStack.append([size, size, isArray, parserStack[-1][3][parserStack[-1][4]:j+1], 0, []])
|
parserStack.append([size, size, isArray, parserStack[-1][3][parserStack[-1][4]:j+1], 0, []])
|
||||||
|
parserStack[-2][4] += len(parserStack[-1][3]) - 1
|
||||||
size = None
|
size = None
|
||||||
continue
|
continue
|
||||||
elif i == "s":
|
elif i == "s":
|
||||||
|
|
Reference in New Issue
Block a user