-
Notifications
You must be signed in to change notification settings - Fork 622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
main: experimental implementation of multi-pass parsing #2741
base: master
Are you sure you want to change the base?
Commits on Jul 6, 2021
-
build-sys: link libreadtags to ctags
This change is preparation for adding features querying existing tags files during parsing. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 686744f - Browse repository at this point
Copy the full SHA 686744fView commit details -
main: rename tagFile type to tagSinkInfo to avoid conflicting the typ…
…e name defined in libreadtags Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 73b5335 - Browse repository at this point
Copy the full SHA 73b5335View commit details -
main: enable TAG_{KIND,EXTRA,FIELD,ROLE}_DESCRIPTION pseudo tags
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for e5d7ced - Browse repository at this point
Copy the full SHA e5d7cedView commit details -
main: add minimum API for reading an existing tags file from ctags
An option, --_hint-file=<tags-file> is also added. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 8074f87 - Browse repository at this point
Copy the full SHA 8074f87View commit details -
main: notify ptag descs that ptags are loaded from a hint file
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 13d4420 - Browse repository at this point
Copy the full SHA 13d4420View commit details -
units.py,docs(web): add --_hint-file=hint.tags if hint.tags exists
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 573aef9 - Browse repository at this point
Copy the full SHA 573aef9View commit details -
main: export getLanguageKindForName to parsers
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 0c8dd8a - Browse repository at this point
Copy the full SHA 0c8dd8aView commit details -
Python,refactor: make roles defined for "unknown" kind reusable
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 0bea0dd - Browse repository at this point
Copy the full SHA 0bea0ddView commit details -
Python: resolve real kinds for tags with unknown kinds when a hint fi…
…le is given As the first pass, make a tags file with --fields=+{language}. In the second pass, specified the tags file created in the first pass with --_hint-file=<tags file>. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 5ba6a80 - Browse repository at this point
Copy the full SHA 5ba6a80View commit details -
main: export ePtagType to parsers
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for dbdcb42 - Browse repository at this point
Copy the full SHA dbdcb42View commit details -
main: notify parser that ptags are loaded from a hint file
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 80b6156 - Browse repository at this point
Copy the full SHA 80b6156View commit details -
main: provide the way to know whether a field is available or not in …
…a hint file Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 39e924a - Browse repository at this point
Copy the full SHA 39e924aView commit details -
main: notify parser that regular tags are loaded from a hint file
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 84352f9 - Browse repository at this point
Copy the full SHA 84352f9View commit details -
main: provide the way to know whether a kind is available or not in a…
… hint file Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 7b4b70d - Browse repository at this point
Copy the full SHA 7b4b70dView commit details -
main: provide the way to know whether an extra (xtag) is available or…
… not in a hint file Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 46404e7 - Browse repository at this point
Copy the full SHA 46404e7View commit details -
main: provide the way to know whether a role is available or not in a…
… hint file Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 4474e11 - Browse repository at this point
Copy the full SHA 4474e11View commit details -
Cxx: hint based macro expansions
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for cd3d7b4 - Browse repository at this point
Copy the full SHA cd3d7b4View commit details -
CPreProcessor: don't prepare per-input-file macro table if the client…
… language doesn't enable symtab LDScript and Asm parsers use CPreProcessor parser code. However, they don't turn on their symtabs because they are not ready for utilize macro expanding feature. If CPreProcessor called symtab related functions, ctags crashed because there was no symtab. With this change, ctags can avoid the crash. CPreProcessor parser calls the symtab related functions only when the client language enables its symtab. TODO: TEST CASE IS NEEDED. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 980b996 - Browse repository at this point
Copy the full SHA 980b996View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61e5266 - Browse repository at this point
Copy the full SHA 61e5266View commit details