It was missing as pointed out by sunziping2016.
Fixes https://github.com/jrfonseca/xdot.py/issues/74
... | ... |
@@ -354,6 +354,7 @@ class DotParser(Parser): |
354 | 354 |
self.consume() |
355 | 355 |
node_ids = [id, self.parse_node_id()] |
356 | 356 |
while self.lookahead.type == EDGE_OP: |
357 |
+ self.consume() |
|
357 | 358 |
node_ids.append(self.parse_node_id()) |
358 | 359 |
attrs = self.parse_attrs() |
359 | 360 |
for i in range(0, len(node_ids) - 1): |