Closed prokie closed 1 year ago
Hello!
Given
task sum(a);endtask
I get the SyntaxTree
SyntaxTree
SourceText Description DescriptionPackageItem PackageItem PackageOrGenerateItemDeclaration TaskDeclaration Keyword Token @line:1: task WhiteSpace SpaceToken @line:1: <<<<< >>>>> TaskBodyDeclaration TaskBodyDeclarationWithPort TaskIdentifier Identifier SimpleIdentifier Token @line:1: sum Symbol Token @line:1: ( TfPortList TfPortItem DataTypeOrImplicit DataType ClassType PsClassIdentifier ClassIdentifier Identifier SimpleIdentifier Token @line:1: a Symbol Token @line:1: ) Symbol Token @line:1: ; Keyword Token @line:1: endtask
But from what I can understand by reading the "Annex A Formal syntax" of IEEE 1800-2017, it should not give a PsClassIdentifier? It should be a PortIdentifier?
PsClassIdentifier
PortIdentifier
Just found that this is basically a duplicate of #60, so I will close this one.
Hello!
Given
I get the
SyntaxTree
But from what I can understand by reading the "Annex A Formal syntax" of IEEE 1800-2017, it should not give a
PsClassIdentifier
? It should be aPortIdentifier
?