vhdl-style-guide/tests
Alon Bar-Lev cd881588e5
vsg: print file name when ClassifyError (#1210)
In current implementation the user see something like the following when
ClassifyError is raised:

    Error: Unexpected token detected while parsing procedure_call_statement @ Line 49, Column 22 in file None
           Expecting : ;
           Found     : )

In a project that contains multiple files, the user is clueless as he does not
know which of the files caused the error.

This change adds the name of the file to the message.

    Error while processing xxx:
    Error: Unexpected token detected while parsing procedure_call_statement @ Line 49, Column 22 in file None
           Expecting : ;
           Found     : )

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-09-22 20:45:46 -05:00
..
after style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
alias_declaration style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
architecture style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
assert_statement style: apply black 2024-03-24 21:16:35 +02:00
attribute style: apply black 2024-03-24 21:16:35 +02:00
attribute_declaration style: apply black 2024-03-24 21:16:35 +02:00
attribute_specification style: apply black 2024-03-24 21:16:35 +02:00
block style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
block_comment style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
case style: apply black 2024-03-24 21:16:35 +02:00
case_generate_alternative style: apply black 2024-03-24 21:16:35 +02:00
case_generate_statement style: apply black 2024-03-24 21:16:35 +02:00
cmd_line_args style: apply black 2024-03-24 21:16:35 +02:00
code_tags Issue#1166: code tags for rule length_003 were not honored. (#1167) 2024-04-16 20:11:15 -05:00
comment style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
component Issue#1178: Adding rule component_022 to add or remove optional component_simple_name. (#1179) 2024-06-14 07:04:07 -05:00
concurrent style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
conditional_expressions style: apply black 2024-03-24 21:16:35 +02:00
conditional_waveforms style: apply black 2024-03-24 21:16:35 +02:00
constant style: apply black 2024-03-24 21:16:35 +02:00
context style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
context_ref style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
declarative_part style: apply black 2024-03-24 21:16:35 +02:00
element_association PR#1183: Fix bug in whitespace between tokens and add test for it (#1183) 2024-06-19 21:32:02 -05:00
entity Issue#1223: Declared regex patterns as raw strings rather than Unicode strings to avoid interpretation as an escape sequence. (#1224) 2024-09-08 19:57:49 -05:00
entity_specification style: apply black 2024-03-24 21:16:35 +02:00
exit_statement style: apply black 2024-03-24 21:16:35 +02:00
exponent style: apply black 2024-03-24 21:16:35 +02:00
file_statement style: apply black 2024-03-24 21:16:35 +02:00
for_generate_statement style: apply black 2024-03-24 21:16:35 +02:00
function Issue#1196: Adding rules to check for subprogram designators. (#1197) 2024-07-12 03:14:37 -05:00
generate #Issue1212: VSG crashes when encountering generate statement corner case. (#1222) 2024-09-21 21:40:13 -05:00
generic Issue#1177: Updating prefix and suffix rules to check for prefix or suffix if both exceptions are provided. (#1181) 2024-06-17 20:16:39 -05:00
generic_clause tests: move out of vsg 2024-03-23 18:48:35 +02:00
generic_map Issue#1186: Additional whitespace rules added. (#1192) 2024-07-12 03:19:06 -05:00
groups style: apply black 2024-03-24 21:16:35 +02:00
ieee style: apply black 2024-03-24 21:16:35 +02:00
if_generate_statement style: apply black 2024-03-24 21:16:35 +02:00
if_statement style: apply black 2024-03-24 21:16:35 +02:00
instantiation Issue#1176: Updating rule instantiation_005 to allow for adding or remmoving carriage returns. (#1180) 2024-06-19 05:18:52 -05:00
interface_signal_declaration style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
interfaces style: apply black 2024-03-24 21:16:35 +02:00
iteration_scheme style: apply black 2024-03-24 21:16:35 +02:00
junit style: apply black 2024-03-24 21:16:35 +02:00
length style: apply black 2024-03-24 21:16:35 +02:00
library style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
logical_operator style: apply black 2024-03-24 21:16:35 +02:00
loop_statement style: apply black 2024-03-24 21:16:35 +02:00
option style: apply black 2024-03-24 21:16:35 +02:00
package style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
package_body style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
port Issue#1186: Additional whitespace rules added. (#1192) 2024-07-12 03:19:06 -05:00
port_clause tests: move out of vsg 2024-03-23 18:48:35 +02:00
port_map Issue#1198: Adding regex option to rule port_map_002. (#1199) 2024-07-19 07:00:50 -05:00
pragma style: apply black 2024-03-24 21:16:35 +02:00
procedure Issue#1196: Adding rules to check for subprogram designators. (#1197) 2024-07-12 03:14:37 -05:00
procedure_call style: apply black 2024-03-24 21:16:35 +02:00
process Issue#1190: Adding <= and < options to whitespace rules. (#1193) 2024-07-09 05:31:21 -05:00
ranges style: apply black 2024-03-24 21:16:35 +02:00
record_type_definition style: apply black 2024-03-24 21:16:35 +02:00
report_statement style: apply black 2024-03-24 21:16:35 +02:00
reserved style: apply black 2024-03-24 21:16:35 +02:00
return_statement style: apply black 2024-03-24 21:16:35 +02:00
rule style: apply black 2024-03-24 21:16:35 +02:00
rule_doc Issue-1225 vsg_rule_doc_gen script does not run. (#1226) 2024-09-08 19:51:31 -05:00
rule_group style: apply black 2024-03-24 21:16:35 +02:00
rule_list style: apply black 2024-03-24 21:16:35 +02:00
selected_assignment style: apply black 2024-03-24 21:16:35 +02:00
sequential style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
severity style: apply black 2024-03-24 21:16:35 +02:00
shared_variable_declaration tests: move out of vsg 2024-03-23 18:48:35 +02:00
signal style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
smart_tab style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
source_file style: apply black 2024-03-24 21:16:35 +02:00
styles Issue#1196: Adding rules to check for subprogram designators. (#1197) 2024-07-12 03:14:37 -05:00
subprogram_body style: apply black 2024-03-24 21:16:35 +02:00
subtype Issue#1156: Changed prefix/suffix exceptions to allow for regular expressions. (#1159) 2024-04-02 06:47:51 -05:00
tokens Issue#1188: single comments with */ would be incorrectly classified and fail to parse. (#1191) 2024-07-09 20:36:59 -05:00
tool_integration style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
type_definition style: apply black 2024-03-24 21:16:35 +02:00
use_clause style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
variable Issue#1186: Additional whitespace rules added. (#1192) 2024-07-12 03:19:06 -05:00
variable_assignment style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
vhdlFile Issue#911: Improving detection of unary logical operators. (#1046) 2024-07-11 07:26:01 -05:00
vsg vsg: print file name when ClassifyError (#1210) 2024-09-22 20:45:46 -05:00
wait style: apply black 2024-03-24 21:16:35 +02:00
when style: apply black 2024-03-24 21:16:35 +02:00
whitespace Issue#911: Improving detection of unary logical operators. (#1046) 2024-07-11 07:26:01 -05:00
__init__.py tests: move out of vsg 2024-03-23 18:48:35 +02:00
utils.py style: apply black 2024-03-24 21:16:35 +02:00