hack for issue_435
parent
bcd3eb3e4b
commit
0fc2befd6a
|
@ -259,6 +259,9 @@ class STIXPatternVisitorForSTIX2():
|
||||||
if isinstance(next, TerminalNode):
|
if isinstance(next, TerminalNode):
|
||||||
property_path.append(self.instantiate("ListObjectPathComponent", current.property_name, next.getText()))
|
property_path.append(self.instantiate("ListObjectPathComponent", current.property_name, next.getText()))
|
||||||
i += 2
|
i += 2
|
||||||
|
if isinstance(next, IntegerConstant):
|
||||||
|
property_path.append(self.instantiate("ListObjectPathComponent", current.property_name, next.value))
|
||||||
|
i += 2
|
||||||
else:
|
else:
|
||||||
property_path.append(current)
|
property_path.append(current)
|
||||||
i += 1
|
i += 1
|
||||||
|
|
Loading…
Reference in New Issue