Masatake YAMATO
Masatake YAMATO
Random ideas: The option `--_hint` should be renamed like: `--_hint-file=tagfile`: error strict. If an error occurs in calling libreadtags APIs, ctags may stop. `--_hint-file-maybe=tagfile`: error-tolerant version of `--_hint-file`. If an...
I applied `--_hint-file=` to our C parser. ``` $ cat macro.h #define DEF(fn, rtype, signature, body) \ rtype fn signature BEGIN body END $ u-ctags '--fields=+{language}{signature}' '--fields-C++=+{macrodef}' -o hint.tags macro.h...
I implemented negative hint cache. ``` $ time ~/bin/u-ctags --fields='+{line}' --param-CPreProcessor:_expand=1 --_hint-file=hint.tags -R time ~/bin/u-ctags --fields='+{line}' --param-CPreProcessor:_expand=1 --_hint-file=hint.tags -R real 0m20.691s user 0m15.114s sys 0m5.488s ``` 7 times faster than...
This is related to #1960.
I wonder what happens if we give `--_mtable-regex-Foo=main/([a-z]*)/\1//{mgroup=9}`. In many places, the range check of the regex group number is missing.
The symbol table is introduced in 19f653c46e0684cdef1e0c40638b4076bfd42b54. So we can implement the idea I proposed in this issue.
How do you think about this idea? Is "unifying the tags for ChildScope into one" a good idea?
I see. Yes, please, go ahead.
The symbol table is already introduced to the JavaScript parser. In the names of function level, `symbol-table` means registerEntry and anyKindsEntryInScope. If you register a tag entry filling its scopeIndex...
@leleliu008, thank you for updating.