Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -277,6 +277,7 @@ def extend (module) : | ... | @@ -277,6 +277,7 @@ def extend (module) : |
277 | class PetriNet (snk.PetriNet) : | 277 | class PetriNet (snk.PetriNet) : |
278 | def __init__ (self, name, **args) : | 278 | def __init__ (self, name, **args) : |
279 | snk.PetriNet.__init__(self, name, **args) | 279 | snk.PetriNet.__init__(self, name, **args) |
280 | + self.globals["newpids"] = self.globals["let"] | ||
280 | self.nextpids, nextpids = None, args.pop("nextpids", "nextpids") | 281 | self.nextpids, nextpids = None, args.pop("nextpids", "nextpids") |
281 | self.add_place(snk.Place(nextpids, [], tNextPid)) | 282 | self.add_place(snk.Place(nextpids, [], tNextPid)) |
282 | self.nextpids = nextpids | 283 | self.nextpids = nextpids | ... | ... |
-
Please register or login to post a comment