Skip to content

Commit 824529c

Browse files
committed
Issue#1514: Corrected minor documentation mistakes for constant_001 and constant_007.
1 parent cb4eb92 commit 824529c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

docs/constant_rules.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This rule checks the indent of a constant declaration.
1717
architecture RTL of FIFO is
1818
1919
constant size : integer := 1;
20-
constant width : integer := 32
20+
constant width : integer := 32;
2121
2222
**Fix**
2323

@@ -26,7 +26,7 @@ This rule checks the indent of a constant declaration.
2626
architecture RTL of FIFO is
2727
2828
constant size : integer := 1;
29-
constant width : integer := 32
29+
constant width : integer := 32;
3030
3131
constant_002
3232
############
@@ -126,7 +126,7 @@ constant_007
126126

127127
|phase_1| |error| |structure|
128128

129-
This rule checks the **:=** is on the same line at the **constant** keyword.
129+
This rule checks the **:=** is on the same line as the **constant** keyword.
130130

131131
**Violation**
132132

@@ -144,7 +144,7 @@ This rule checks the **:=** is on the same line at the **constant** keyword.
144144
constant size : integer :=
145145
1;
146146
constant width : integer :=
147-
32
147+
32;
148148
149149
constant_010
150150
############

vsg/rules/constant/rule_001.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class rule_001(token_indent):
1818
architecture RTL of FIFO is
1919
2020
constant size : integer := 1;
21-
constant width : integer := 32
21+
constant width : integer := 32;
2222
2323
**Fix**
2424
@@ -27,7 +27,7 @@ class rule_001(token_indent):
2727
architecture RTL of FIFO is
2828
2929
constant size : integer := 1;
30-
constant width : integer := 32
30+
constant width : integer := 32;
3131
"""
3232

3333
def __init__(self):

vsg/rules/constant/rule_007.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class rule_007(Rule):
1111
"""
12-
This rule checks the **:=** is on the same line at the **constant** keyword.
12+
This rule checks the **:=** is on the same line as the **constant** keyword.
1313
1414
**Violation**
1515
@@ -27,7 +27,7 @@ class rule_007(Rule):
2727
constant size : integer :=
2828
1;
2929
constant width : integer :=
30-
32
30+
32;
3131
"""
3232

3333
def __init__(self):

0 commit comments

Comments
 (0)