Jeremiah Leary
c237e1c60c
Updates for Codacy.
...
Minor updates.
2021-03-13 08:19:44 -06:00
Jeremiah Leary
c60fc5676d
Updates for Codacy:
...
Removed unneeded else on loops.
2021-03-13 08:02:44 -06:00
Jeremiah Leary
a97d9f092f
Updates for Codacy issues:
...
1) Removing trailing whitespace
2) Removing unused code
2021-03-10 08:23:50 -06:00
Jeremiah Leary
a70523bda4
Updates for issue #450 :
...
Adding option assign_on_single_line.
1) Updated documentation
2) Added tests
3) Added option to rule constant_016
2021-02-22 17:22:47 -06:00
Jeremiah Leary
0d228d00a8
Updates for issue #450 :
...
Adding support for open_paren_new_line option.
1) Added tests
2) Added code
2021-02-22 17:22:47 -06:00
Jeremiah Leary
0434eca997
Updates for issue #450 :
...
Adding support for last_paren_new_line.
1) Added test
2) Added code to detect
2021-02-22 17:22:47 -06:00
Emil Vanherp
a158fd2ac9
Distinguish between file errors
...
* Don't exit on file not found or other OSErrors, but continue (revert
from fc34afd4d0339e0b17d8f46e3bf527461beccf1a)
* Empty file, file not found, no permission and other
OSErrors are now reported differently.
2021-01-22 15:21:41 +01:00
Emil Vanherp
0971ca194c
Move read_vhdlfile to vhdlFile/utils
...
And exit with exit code 1 on file not found or any other OSError
2021-01-22 15:21:41 +01:00
Jeremiah Leary
0bec7656a2
Updates for issue #512 :
...
Added filename to output of parsing error message.
2021-01-13 19:13:53 -06:00
Jeremiah Leary
585208ad61
Updates for issue #503 :
...
Adding ability to parse preprocessor commands embedded in VHDL code.
1) Added preprocessor token
2) Added preprocessor classifier
2020-12-21 14:15:48 -06:00
Jeremiah Leary
e80c16da15
Updates for issue #429
...
Improving error message reporting while parsing generate statements.
2020-12-17 10:51:57 -06:00
Jeremiah Leary
4721ae0322
Updates for Codacy flagged issues.
2020-12-04 13:27:19 -06:00
Jeremiah Leary
7d9dd63031
Refactoring method get_tokens_starting_with_token_and_ending_with_one_of_possible+_tokens.
...
1) Moved method from vsg.vhdlFile to vsg.vhdlFile.extract
2) Refactored to use token map
3) Removed Tokens from vsg.vhdlFile
4) Refactored constant_011 to use _get_token_of_interest
2020-12-03 19:27:19 -06:00
Jeremiah Leary
f7fe1122b1
More updates for Codacy checks.
2020-11-25 09:33:32 -06:00
Jeremiah Leary
2ed37e75c9
Updates for CodeClimate.
2020-11-25 08:17:51 -06:00
Jeremiah Leary
9c0fc9fb2a
Removing unused code.
2020-11-24 19:34:05 -06:00
Jeremiah Leary
39dce36ec8
Additional Codacy Updates.
2020-11-24 18:19:42 -06:00
Jeremiah Leary
a0a9813d89
Codacy fixes.
2020-11-24 17:14:00 -06:00
Jeremiah Leary
0ae78b9e03
Updates for context rules to handle blank lines correctly.
2020-11-19 20:23:48 -06:00
Jeremiah Leary
2d672df79d
Major refactor to remove the use of line.py to improve performance.
2020-11-09 20:49:45 -06:00
Jeremiah Leary
bfb2be88e6
Performance updates:
...
1) Simplified find_next_token
2) Removed unnecessary call to find_next_token in utils.are_next_consecutive_token_types
2020-11-08 20:18:41 -06:00
Jeremiah Leary
a051190284
Updating parser to handle signs.
2020-11-08 10:53:14 -06:00
Jeremiah Leary
f112d37218
Refactoring rule process_028 for new parser.
2020-11-03 07:21:14 -06:00
Jeremiah Leary
0a378d17b9
Refactoring rule process_012 for new parser.
2020-10-31 16:47:12 -05:00
Jeremiah Leary
ffe6b3271e
Refactoring rule signal_012 for new parser.
2020-10-31 12:52:16 -05:00
Jeremiah Leary
823c0e69e8
Refactoring rule concurrent_007 for new parser.
2020-10-29 19:04:20 -05:00
Jeremiah Leary
63c8ed3778
Refactoring rule context_011 for new parser.
2020-10-27 18:25:25 -05:00
Jeremiah Leary
dbe74ff551
Refactoring rule process_021 for new parser.
2020-10-26 21:07:33 -05:00
Jeremiah Leary
10459a862f
Refactoring rule if_002 for new parser.
2020-10-25 18:35:55 -05:00
Jeremiah Leary
e0ca2f59ae
Refactoring rule process_029 for new parser.
2020-10-25 11:20:08 -05:00
Jeremiah Leary
0a06afbe1e
Refactoring additional generic, variable, port and signal rules for new parser.
2020-10-24 13:37:03 -05:00
Jeremiah Leary
0e2b3c5ce4
Refactoring additional component and instantiation rules for new parser.
2020-10-24 08:37:34 -05:00
Jeremiah Leary
cf872e654a
Refactoring additional if and process rules for new parser.
2020-10-22 19:16:53 -05:00
Jeremiah Leary
dc5e0c2f78
Refactoring signal rules for new parser.
2020-10-17 19:29:24 -05:00
Jeremiah Leary
4a17c554e6
Refactoring length rules for new parser.
2020-10-10 21:16:17 -05:00
Jeremiah Leary
b43c17432f
Refactored concurrent rules for new parser.
2020-09-29 21:42:55 -05:00
Jeremiah Leary
7b94b91ae9
Refactoring all case rules for new parser:
...
1) Refactored all rules
2) Added tests
3) Removed old tests
4) Added base rules
align_consecutive_lines_after_line_starting_with_token_and_stopping_with_token
align_consecutive_lines_starting_with_a_comment_above_line_starting_with_token
insert_carriage_return_after_token_if_it_is_not_followed_by_a_comment
remove_tokens_bounded_by_tokens_and_remove_trailing_whitespace
2020-09-27 15:58:08 -05:00
Jeremiah Leary
6a33175d6e
Refactored rule architecture_003 for new parser.
...
1) Added base rule blank_line_above_line_starting_with_token
2) Updated tests
2020-09-22 07:05:05 -05:00
Jeremiah Leary
2e8c26cd56
Refactoring rule architecture_005 to use new parser.
2020-09-20 15:49:08 -05:00
Jeremiah Leary
a95bd04873
Replacing older parser with newer one:
...
1) Called out parsers from classify_new instead of classify
2) Updated invalid test inputs
3) Updated test results
4) Removed unused files
2020-09-19 07:46:35 -05:00
Jeremiah Leary
d0ec05b4b6
Refactoring more classifiers.
2020-09-15 06:36:10 -05:00
Jeremiah Leary
0822ccb076
Addintional refactoring of classifiers.
2020-09-14 20:07:01 -05:00
Jeremiah Leary
17913f9172
Refactoring for Codacy issues.
2020-09-13 22:07:20 -05:00
Jeremiah Leary
16c4dd653a
Updates for Codacy issues.
2020-09-13 13:16:03 -05:00
Jeremiah Leary
2f197cfc12
Adding parsing of if_statement.
2020-09-12 15:54:48 -05:00
Jeremiah Leary
1529fd8302
Adding parsing of assertion_statement.
2020-09-11 17:15:50 -05:00
Jeremiah Leary
00ef847d09
Temporary commit for case_statement. Need to implement signal_assignment_statement and variable_assignment_statement.
2020-09-11 16:53:49 -05:00
Jeremiah Leary
f1672a5ee7
Adding parsing of loop_statement.
2020-09-11 06:50:28 -05:00
Jeremiah Leary
655be8aa10
Adding parsing of subprogram_declaration.
2020-09-10 07:17:28 -05:00
Jeremiah Leary
3a5fbd4921
Adding error reporting for required tokens.
2020-09-09 06:25:08 -05:00