Subprogram Kind Rules

subprogram_kind_500

phase_6 error case case_keyword

This rule checks that the procedure keyword in subprogram kinds has the proper case.

Refer to Configuring Uppercase and Lowercase Rules for more information.

Violation

end PROCEDURE parity;

PROCEDURE my_proc is new my_generic_proc

Fix

end procedure parity;

procedure my_proc is new my_generic_proc

subprogram_kind_501

phase_6 error case case_keyword

This rule checks that the function keyword in subprogram kinds has the proper case.

Refer to Configuring Uppercase and Lowercase Rules for more information.

Violation

end FUNCTION parity;

FUNCTION my_func is new my_generic_func

Fix

end function parity;

function my_func is new my_generic_func