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
Because the function or procedure keyword at the start of the subprogram instantiation is a regular subprogram_kind token, it is non-trivial to implement a previous_line rule (equivalent to package_instantiation_200). I'm going to leave this rule out of the PR. It can be added in the future if requested by a user.
I'm having a bit of trouble with implementing the indent rules due to the first token on the line being a subprogram_kind token (which is not exclusive to subprogram instantiation declarations) rather than a subprogram_instantiation_declaration token. This would be a lot easier to implement if the token was changed to be a subprogram_instantiation_declaration token. However, the token being subprogram_kind matches the LRM. The only alternative that I can see is to make a modifed indent rule that checks the second token in the line rather the first. Do you have any opinions on this or suggestions for alternative solutions?
Related to #1318.
Implement indent and blank line rules for subprogram instantiation declarations.
For example, rules to fix this
to this
The text was updated successfully, but these errors were encountered: