summary refs log tree commit diff
path: root/bin/htagml.c (follow)
Commit message (Collapse)AuthorAge
* Add htagml -m to rename main tagJune McEnroe2021-10-01
|
* pledge(2) htagmlJune McEnroe2021-09-30
|
* Swap-remove tags as they're foundJune McEnroe2021-09-13
| | | | | This makes it even faster. From ~1s on a sqlite3.c amalgamation to ~0.85s.
* Replace htagml regex with strncmpJune McEnroe2021-09-12
| | | | | | | | | | Since ctags only ever produces regular expressions of the form /^re$/ or /^re/ with no other special characters, instead unescape the pattern and simply use strncmp. Running on a sqlite3.c amalgamation, the regex version takes ~37s while the strncmp version takes ~1s, producing identical output. Big win!
* Prefer tag matches not preceded by [[:alnum:]]June McEnroe2021-01-19
| | | | Otherwise the "id" in "void" matches for "void id".
* Map tags to IDs using only [[:alnum:]-._]June McEnroe2021-01-19
|
* Simplyify htagml match outputJune McEnroe2021-01-15
|
* Output htagml -x from the main loopJune McEnroe2021-01-15
| | | | | Silly the way it was written, but I think I started writing it that way before I decided to make it mutually exclusive with regular output.
* Avoid matching tag text inside HTML elementsJune McEnroe2021-01-12
|
* Add htagml -iJune McEnroe2021-01-12
|
* Add htagml -xJune McEnroe2021-01-12
|
* Prevent matching the same tag twiceJune McEnroe2021-01-12
|
* Process htagml file line by lineJune McEnroe2021-01-12
| | | | | | This simplifies some things, adds support for line number tag definitions, and should enable combining htagml with other preprocessors in the future.
* Split fields by tab onlyJune McEnroe2021-01-12
| | | | Also don't fail hard on non-forward-search definitions.
* Add htagmlJune McEnroe2021-01-12