-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#38, resolves #39). * feature/ISSUE40-AddTYPESupport: Almost. Final README.md updates? More README.md updates. Added help on --[no]TYPE. More README.md updates. More README.md updates. More README.md updates. More README.md updates. Added TOC to README.md. More README.md updates. More README.md updates. More README.md changes. Some updates to README.md. Added support for --help-types/--list-file-types. Resolves #39. Back to returning 1 (no match) for "no such file". Removed degenerate regex perf test, all performed similarly to other regexes, just made test longer. Change return code of "no such file or dir" to a grep-like 2; changed sanity.at to match. Added a perf test for an exponential-in-text-to-match regex. Removed debug print. Improved "User-defined file type specs" test. Changed m_builtin_type_map to m_builtin_and_user_type_map. Changed IsType() to use that instead of m_active_type_map for determining valid type names. Changed TypeAdd*()/TypeDel() to add/del types to m_builtin_and_user_type_map in addition to m_active_type_map. Passes test. Updated tests/type_inclusion.at to accommodate "last --TYPE wins" filtering. Fixed situation where "ucg --noenv --type=nocpp --type=nocc --type=hh '#endif' ~/src/boost_1_58_0" would give different results than "ucg --noenv --type=hh '#endif' ~/src/boost_1_58_0". Added some tests. --TYPE/--noTYPE not working yet. "is" and "ext" filters implemented. Added exception handler to main() to catch ArgParseExceptions. COPYING and AUTHORS are now docs and will be installed. Fixed DOS line endings on COPYING. --TYPE/--noTYPE working.
- Loading branch information
Showing
10 changed files
with
1,161 additions
and
709 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.