Adding support for pragmas vhdl_comp_on and vhdl_comp_off.
The VSG parser will ignore anything between those pragmas.
1) Added test
2) Added pragma token class
3) Added pragma parser
Parsing of parenthesis in expressions and subtype indications were improved.
1) Updated tests
2) Ensured all calls to classify_until were lists
3) Updated expression and subtype_indication classifiers
Rules enforcing whitespace before a token would fail if it was the start of the line.
1) Updated whitespace_010 test
2) Updated code to ignore whitespace if token is the start of a line
Adding rules to check for consisent capitalization of generic identifiers.
1) Added documentation
2) Added tests
3) Added rules
a) entity_600
b) architecture_600
Updating detection of headers and footers.
Added ability to allow for indented block comments.
1) Updated documentation
2) Updated tests
3) Updated rules:
a) block_comment_001
b) block_comment_002
c) block_comment_003
Fixing centering logic when block comment is indented.
Added special case for Doxygen comments.
1) Updated documentation
2) Updated tests
3) Update rule block_comment_001
Adding ability for the user to adjust the indenting algorithm.
1) Added documentation
2) Refactored indent algorithm
a) Changed algorithm to use a YAML configuration file
3) Added indent dictionary to -oc output
4) Updated tests to use new YAML configuration file
Adding rules to analyze block comments.
1) Added documentation
2) Added tests
3) Added rules
a) block_comment_001
b) block_comment_002
c) block_comment_003
4) Added new extract method
a) get_consecutive_lines_starting_with_token
Adding rules for alignment of identifiers and colons in generate_statement_body.
1) Added documentation
2) Added tests
3) Added rules
a) generate_400
b) generate_401
c) generate_402
d) generate_403
e) generate_404
f) generate_405
Fixing issue where indenting comments after a library statement was not being set correctly.
1) Updated tests to expose issue
2) Updated indent logic to handle the case correctly
Expanding rules for attributes:
1) Removed current attribute rules
2) Added rules for:
a) attribute_declaration
b) attribute_specification
c) entity_specification
3) Added documentation
4) Added tests
5) Refactored base rules to allow for lists of token types
a) single_space_after_token
b) single_space_before_token
Not all rules were using the rule.add_violation method which enforced code_tags.
1) Updated tests
2) Changed vsg-disable-next-line to vsg_disable_next_line
3) Updated documentation
4) Updated all rules to use the add_violation method
The single_space_after_rule was not taking the end of the line into account when checking for spaces.
1) Updated test to expose the issue
2) Updated base rule single_space_after to allow for a carriage_return after the token
Prefix and suffix rules would fail if uppercase prefixes/suffixes were used.
1) Added tests to expose the issue
2) Updated prefix and suffix base rules to allow upper or lower case.