Commit Graph

6 Commits

Author SHA1 Message Date
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 be88d4a462 Updates for issue #445
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
2020-12-20 18:06:07 -06:00
Jeremiah Leary 536abbedd7 Updates for issue #401:
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
2020-12-18 14:13:40 -06:00
Jeremiah Leary 75ed817ecb Removing remanants of older parser.
Moving classification tests under vhdlFile_new.
2020-09-19 12:31:18 -05:00
Jeremiah Leary f65e3b9365 Adding parsing of attribute_declaration. 2020-09-09 07:49:07 -05:00