You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Author Name: Noam Meir
Original Redmine Issue: 97 from https://www.veripool.org
Original Date: 2009-06-11
Original Assignee: Wilson Snyder (@wsnyder)
Hello,
As discussed earleir with Wilson, found a bug in the Parser,
description:
when using the following code (notice the ',' after lastPort) the parser gives a syntax error:
the spec says:
list_of_ports ::= '(' port { ',' port } ')'
port ::= [ port_expression ]
So that's actually legal. However it doesn't do what you
think, as it defines another port that's empty that should
be connected if doing position based interconnection, so
really your code should be fixed as I doubt that's ever the
intent.
I think that the best way to resolve this issue is not to let it pass by, but to give a warning about it since it is definetly bad coding that might cause troubles.
The text was updated successfully, but these errors were encountered:
Author Name: Noam Meir
Original Redmine Issue: 97 from https://www.veripool.org
Original Date: 2009-06-11
Original Assignee: Wilson Snyder (@wsnyder)
Hello,
As discussed earleir with Wilson, found a bug in the Parser,
description:
when using the following code (notice the ',' after lastPort) the parser gives a syntax error:
the spec says:
list_of_ports ::= '(' port { ',' port } ')'
port ::= [ port_expression ]
So that's actually legal. However it doesn't do what you
think, as it defines another port that's empty that should
be connected if doing position based interconnection, so
really your code should be fixed as I doubt that's ever the
intent.
I think that the best way to resolve this issue is not to let it pass by, but to give a warning about it since it is definetly bad coding that might cause troubles.
The text was updated successfully, but these errors were encountered: