Issue#1364: Minor simplifications in package instantiation rules.
This commit is contained in:
parent
1cd45b65d7
commit
da2192e212
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue