port example gives syntax error

0 votes
asked May 12 in Bug by anonymous

I downloaded the latest (plant-1.2023.6.jar) to ubuntu jammy (22.04), ran it on the following which I copied from this example from the deployment diagram page.  It gave a "Syntax Error?" at the line "port p1"

node node {
  port p1
  port p2
  port p3
  file f1

c --> p1
c --> p2
c --> p3
p1 --> f1
p2 --> f1

1 Answer

0 votes
answered May 15 by The-Lu (57,460 points)

Hi A., and all,

With last version (1.2023.7) that seems corrected: