Issue#1364: Minor simplifications in package instantiation rules.

This commit is contained in:
JHertz5 2024-12-21 18:25:07 +00:00
parent 1cd45b65d7
commit da2192e212
2 changed files with 4 additions and 4 deletions

View File

@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
from vsg import token
from vsg.rules import token_case_with_prefix_suffix
from vsg.rules import token_case
lTokens = []
lTokens.append(token.package_instantiation_declaration.is_keyword)
class rule_502(token_case_with_prefix_suffix):
class rule_502(token_case):
"""
This rule checks the **is** keyword has proper case.

View File

@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
from vsg import token
from vsg.rules import token_case_with_prefix_suffix
from vsg.rules import token_case
lTokens = []
lTokens.append(token.package_instantiation_declaration.new_keyword)
class rule_503(token_case_with_prefix_suffix):
class rule_503(token_case):
"""
This rule checks the **new** keyword has proper case.