Set the role and construct of info.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(stmt_info_t), | intent(inout) | :: | info |
the classification to update |
||
| integer, | intent(in) | :: | role |
one of the |
||
| integer, | intent(in) | :: | construct |
one of the |
pure subroutine set(info, role, construct) !! Set the role and construct of `info`. type(stmt_info_t), intent(inout) :: info !! the classification to update integer, intent(in) :: role !! one of the `ROLE_*` constants integer, intent(in) :: construct !! one of the `C_*` constants info%role = role info%construct = construct end subroutine set