* Issue#1061: Updates for pragma use cases
Pragmas are now treated as comments:
* Pragmas are now a subclass of comments
* Move rules will not move tokens if it crosses a pragma
* Fixing issue with expression classification causing infinite loop.
* Issue#1054: Adding classification of pragmas.
* fix 'keyError: regexp' by dStyle having parse regexp and dConfig not (#1058)
* Adding pragma configuration tests.
* Stopping pragma search if a match is found.
* Refactoring classifications of pragmas to improve performance.
---------
Co-authored-by: Gerard Sharp <43923557+SittingDuc@users.noreply.github.com>
* Added check for input files.
* Created custom ArgumentParser to return ErrorCode 1 when it fails.
* Modified test to fit the new behavior.
* Reduced complexity.
* Added type check to "configuration" parameter too.
* Fixed unit tests.
Co-authored-by: Hector Fernandez <hector.fernandez@gtd.eu>