diff --git a/vsg/rules/comment/rule_004.py b/vsg/rules/comment/rule_004.py index 4c16fe02..ad1d437f 100644 --- a/vsg/rules/comment/rule_004.py +++ b/vsg/rules/comment/rule_004.py @@ -14,3 +14,4 @@ class rule_004(whitespace_before_token): def __init__(self): whitespace_before_token.__init__(self, 'comment', '004', lTokens) + self.solution = 'Add a single space before comment' diff --git a/vsg/rules/n_spaces_after_tokens.py b/vsg/rules/n_spaces_after_tokens.py index 6aa07c3f..a16e90b0 100644 --- a/vsg/rules/n_spaces_after_tokens.py +++ b/vsg/rules/n_spaces_after_tokens.py @@ -95,3 +95,4 @@ def create_solution_text(dAction, iNumSpaces, lTokens): sReturn += 'Remove all but one space after ' + lTokens[1].get_value() else: sReturn += 'Add ' + str(iNumSpaces) + ' space(s) after ' + lTokens[1].get_value() + return sReturn