From 6bd2c3abd79bd73c618211fdfad2178df26283d5 Mon Sep 17 00:00:00 2001 From: JHertz5 Date: Wed, 1 Jan 2025 13:56:46 +0000 Subject: [PATCH] Issue#1364: Corrected rule fix examples in documentation. --- docs/subprogram_kind_rules.rst | 8 ++++---- vsg/rules/subprogram_kind/rule_500.py | 4 ++-- vsg/rules/subprogram_kind/rule_501.py | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/subprogram_kind_rules.rst b/docs/subprogram_kind_rules.rst index f2552114..5f1b51fb 100644 --- a/docs/subprogram_kind_rules.rst +++ b/docs/subprogram_kind_rules.rst @@ -24,9 +24,9 @@ This rule checks that the **procedure** keyword in subprogram kinds has the prop .. code-block:: vhdl - end PROCEDURE parity; + end procedure parity; - PROCEDURE my_proc is new my_generic_proc + procedure my_proc is new my_generic_proc subprogram_kind_501 ################### @@ -49,6 +49,6 @@ This rule checks that the **function** keyword in subprogram kinds has the prope .. code-block:: vhdl - end FUNCTION parity; + end function parity; - FUNCTION my_func is new my_generic_func + function my_func is new my_generic_func diff --git a/vsg/rules/subprogram_kind/rule_500.py b/vsg/rules/subprogram_kind/rule_500.py index 3e739263..62b7ac14 100644 --- a/vsg/rules/subprogram_kind/rule_500.py +++ b/vsg/rules/subprogram_kind/rule_500.py @@ -25,9 +25,9 @@ class rule_500(token_case): .. code-block:: vhdl - end PROCEDURE parity; + end procedure parity; - PROCEDURE my_proc is new my_generic_proc + procedure my_proc is new my_generic_proc """ def __init__(self): diff --git a/vsg/rules/subprogram_kind/rule_501.py b/vsg/rules/subprogram_kind/rule_501.py index 4cc1e3a1..3f8840d3 100644 --- a/vsg/rules/subprogram_kind/rule_501.py +++ b/vsg/rules/subprogram_kind/rule_501.py @@ -25,9 +25,9 @@ class rule_501(token_case): .. code-block:: vhdl - end FUNCTION parity; + end function parity; - FUNCTION my_func is new my_generic_func + function my_func is new my_generic_func """ def __init__(self):