ctags.rb 1.0.19 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/Gemfile.lock +8 -3
- data/README.md +20 -39
- data/ext/extconf.rb +5 -9
- data/ext/vendor/ctags/.ctags +4 -0
- data/ext/vendor/ctags/.dir-locals.el +2 -0
- data/ext/vendor/ctags/.editorconfig +10 -0
- data/ext/vendor/ctags/.gdbinit +3 -0
- data/ext/vendor/ctags/.gitignore +69 -0
- data/ext/vendor/{exuberant-ctags → ctags}/.indent.pro +0 -0
- data/ext/vendor/ctags/.travis.yml +66 -0
- data/ext/vendor/ctags/.uncrustify.cfg +151 -0
- data/ext/vendor/{exuberant-ctags → ctags}/COPYING +0 -0
- data/ext/vendor/ctags/Makefile.am +114 -0
- data/ext/vendor/ctags/README.md +47 -0
- data/ext/vendor/ctags/Tmain/alias-for-unknown-language.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/alias-for-unknown-language.d/run.sh +7 -0
- data/ext/vendor/ctags/Tmain/alias-for-unknown-language.d/stderr-expected.txt +1 -0
- data/ext/vendor/{jansson-2.5/test/suites/invalid/empty/input → ctags/Tmain/alias-for-unknown-language.d/stdout-expected.txt} +0 -0
- data/ext/vendor/ctags/Tmain/allow-null-tag.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/allow-null-tag.d/input.json +1 -0
- data/ext/vendor/ctags/Tmain/allow-null-tag.d/run.sh +7 -0
- data/ext/vendor/ctags/Tmain/allow-null-tag.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/allow-null-tag.d/stdout-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/broken-tagname-quiet.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/broken-tagname-quiet.d/input.cst +1 -0
- data/ext/vendor/ctags/Tmain/broken-tagname-quiet.d/run.sh +10 -0
- data/ext/vendor/ctags/Tmain/broken-tagname-quiet.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/broken-tagname-quiet.d/stdout-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/broken-tagname.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/broken-tagname.d/input.cst +2 -0
- data/ext/vendor/ctags/Tmain/broken-tagname.d/run.sh +18 -0
- data/ext/vendor/ctags/Tmain/broken-tagname.d/stderr-expected.txt +9 -0
- data/ext/vendor/ctags/Tmain/broken-tagname.d/stdout-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/c-anon-counter.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/c-anon-counter.d/input1.c +11 -0
- data/ext/vendor/ctags/Tmain/c-anon-counter.d/input2.c +11 -0
- data/ext/vendor/ctags/Tmain/c-anon-counter.d/run.sh +17 -0
- data/ext/vendor/ctags/Tmain/c-anon-counter.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/c-anon-counter.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/cxx-how-kinds-defs-are-shared-or-copyed.d/run.sh +36 -0
- data/ext/vendor/ctags/Tmain/cxx-how-kinds-defs-are-shared-or-copyed.d/stdout-expected.txt +8 -0
- data/ext/vendor/ctags/Tmain/define-own-file-kind.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/define-own-file-kind.d/run.sh +6 -0
- data/ext/vendor/ctags/Tmain/define-own-file-kind.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/define-own-file-kind.d/stdout-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/disable-fixed-field.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/disable-fixed-field.d/run.sh +11 -0
- data/ext/vendor/ctags/Tmain/disable-fixed-field.d/stderr-expected.txt +6 -0
- data/ext/vendor/ctags/Tmain/disable-fixed-field.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/disable-languages.d/input-matlab.m +1 -0
- data/ext/vendor/ctags/Tmain/disable-languages.d/input-objc.m +1 -0
- data/ext/vendor/ctags/Tmain/disable-languages.d/input.m +0 -0
- data/ext/vendor/ctags/Tmain/disable-languages.d/run.sh +51 -0
- data/ext/vendor/ctags/Tmain/disable-languages.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/disable-languages.d/stdout-expected.txt +18 -0
- data/ext/vendor/ctags/Tmain/dot-ctags-with-indentation.d/args.ctags +5 -0
- data/ext/vendor/ctags/Tmain/dot-ctags-with-indentation.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/dot-ctags-with-indentation.d/run.sh +7 -0
- data/ext/vendor/ctags/Tmain/dot-ctags-with-indentation.d/stderr-expected.txt +5 -0
- data/ext/vendor/ctags/Tmain/dot-ctags-with-indentation.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/emacs-modeline-downcased-mode.d/exti-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/emacs-modeline-downcased-mode.d/functions +11 -0
- data/ext/vendor/ctags/Tmain/emacs-modeline-downcased-mode.d/run.sh +6 -0
- data/ext/vendor/ctags/Tmain/emacs-modeline-downcased-mode.d/stderr-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/emacs-modeline-downcased-mode.d/stdout-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/enable-kind-postfix-with-wildcard.d/run.sh +6 -0
- data/ext/vendor/ctags/Tmain/enable-kind-postfix-with-wildcard.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/enable-kind-postfix-with-wildcard.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/enable-kind-postfix.d/run.sh +8 -0
- data/ext/vendor/ctags/Tmain/enable-kind-postfix.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/enable-kind-postfix.d/stdout-expected.txt +2 -0
- data/ext/vendor/ctags/Tmain/enable-kind-prefix-with-wildcard.d/run.sh +6 -0
- data/ext/vendor/ctags/Tmain/enable-kind-prefix-with-wildcard.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/enable-kind-prefix-with-wildcard.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/enable-kind-prefix.d/run.sh +5 -0
- data/ext/vendor/ctags/Tmain/enable-kind-prefix.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/enable-kind-prefix.d/stdout-expected.txt +2 -0
- data/ext/vendor/ctags/Tmain/enable-non-existing-kind.d/run.sh +6 -0
- data/ext/vendor/ctags/Tmain/enable-non-existing-kind.d/stderr-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/extension-vs-pattern.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/extension-vs-pattern.d/input.xxx +0 -0
- data/ext/vendor/ctags/Tmain/extension-vs-pattern.d/run.sh +19 -0
- data/ext/vendor/ctags/Tmain/extension-vs-pattern.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/extension-vs-pattern.d/stdout-expected.txt +2 -0
- data/ext/vendor/ctags/Tmain/extra-field.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/extra-field.d/input.cpp +7 -0
- data/ext/vendor/ctags/Tmain/extra-field.d/run.sh +8 -0
- data/ext/vendor/ctags/Tmain/extra-field.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/extra-field.d/stdout-expected.txt +10 -0
- data/ext/vendor/ctags/Tmain/extra-long.d/run.sh +24 -0
- data/ext/vendor/ctags/Tmain/extra-long.d/stdout-expected.txt +35 -0
- data/ext/vendor/ctags/Tmain/input-encoding-option.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/input-encoding-option.d/input.java +4 -0
- data/ext/vendor/ctags/Tmain/input-encoding-option.d/input.js +1 -0
- data/ext/vendor/ctags/Tmain/input-encoding-option.d/run.sh +22 -0
- data/ext/vendor/ctags/Tmain/input-encoding-option.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/input-encoding-option.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/input-encoding-option.d/tags-expected.txt +10 -0
- data/ext/vendor/ctags/Tmain/interactive-mode.d/run.sh +45 -0
- data/ext/vendor/ctags/Tmain/interactive-mode.d/stdout-expected.txt +46 -0
- data/ext/vendor/ctags/Tmain/interactive-mode.d/test.c +9 -0
- data/ext/vendor/ctags/Tmain/interactive-mode.d/test.rb +7 -0
- data/ext/vendor/ctags/Tmain/invalid-encoding-option.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/invalid-encoding-option.d/input.java +4 -0
- data/ext/vendor/ctags/Tmain/invalid-encoding-option.d/input.js +1 -0
- data/ext/vendor/ctags/Tmain/invalid-encoding-option.d/run.sh +14 -0
- data/ext/vendor/ctags/Tmain/invalid-encoding-option.d/stderr-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/invalid-encoding-option.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/json-output-format.d/input.c +7 -0
- data/ext/vendor/ctags/Tmain/json-output-format.d/input.py +3 -0
- data/ext/vendor/ctags/Tmain/json-output-format.d/run.sh +14 -0
- data/ext/vendor/ctags/Tmain/json-output-format.d/stdout-expected.txt +22 -0
- data/ext/vendor/ctags/Tmain/kind-long-lregex.d/run.sh +22 -0
- data/ext/vendor/ctags/Tmain/kind-long-lregex.d/stdout-expected.txt +6 -0
- data/ext/vendor/ctags/Tmain/kind-long-lxcmd.d/foo.sh +8 -0
- data/ext/vendor/ctags/Tmain/kind-long-lxcmd.d/run.sh +30 -0
- data/ext/vendor/ctags/Tmain/kind-long-lxcmd.d/stdout-expected.txt +9 -0
- data/ext/vendor/ctags/Tmain/kind-long.d/run.sh +7 -0
- data/ext/vendor/ctags/Tmain/kind-long.d/stdout-expected.txt +2 -0
- data/ext/vendor/ctags/Tmain/langmap-option-including-patterns.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/langmap-option-including-patterns.d/run.sh +18 -0
- data/ext/vendor/ctags/Tmain/langmap-option-including-patterns.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/langmap-option-including-patterns.d/stdout-expected.txt +12 -0
- data/ext/vendor/ctags/Tmain/langmap-option.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/langmap-option.d/run.sh +16 -0
- data/ext/vendor/ctags/Tmain/langmap-option.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/langmap-option.d/stdout-expected.txt +6 -0
- data/ext/vendor/ctags/Tmain/languages-and-language-force-options.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/languages-and-language-force-options.d/input.c +0 -0
- data/ext/vendor/ctags/Tmain/languages-and-language-force-options.d/run.sh +5 -0
- data/ext/vendor/ctags/Tmain/languages-and-language-force-options.d/stderr-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/list-extra.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/list-extra.d/run.sh +7 -0
- data/ext/vendor/ctags/Tmain/list-extra.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/list-extra.d/stdout-expected.txt +14 -0
- data/ext/vendor/ctags/Tmain/list-fields-with-prefix.d/run.sh +12 -0
- data/ext/vendor/ctags/Tmain/list-fields-with-prefix.d/stdout-expected.txt +13 -0
- data/ext/vendor/ctags/Tmain/list-fields.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/list-fields.d/input.c +15 -0
- data/ext/vendor/ctags/Tmain/list-fields.d/input.java +4 -0
- data/ext/vendor/ctags/Tmain/list-fields.d/input.sh +5 -0
- data/ext/vendor/ctags/Tmain/list-fields.d/run.sh +39 -0
- data/ext/vendor/ctags/Tmain/list-fields.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/list-fields.d/stdout-expected.txt +94 -0
- data/ext/vendor/ctags/Tmain/list-file-kind.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/list-file-kind.d/run.sh +8 -0
- data/ext/vendor/ctags/Tmain/list-file-kind.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/list-file-kind.d/stdout-expected.txt +2 -0
- data/ext/vendor/ctags/Tmain/list-kinds-full.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/list-kinds-full.d/run.sh +8 -0
- data/ext/vendor/ctags/Tmain/list-kinds-full.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/list-kinds-full.d/stdout-expected.txt +37 -0
- data/ext/vendor/ctags/Tmain/list-language-fields.d/run.sh +8 -0
- data/ext/vendor/ctags/Tmain/list-language-fields.d/stdout-expected.txt +2 -0
- data/ext/vendor/ctags/Tmain/list-params.d/run.sh +29 -0
- data/ext/vendor/ctags/Tmain/list-params.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/list-params.d/stdout-expected.txt +34 -0
- data/ext/vendor/ctags/Tmain/list-pseudo-tags.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/list-pseudo-tags.d/run.sh +8 -0
- data/ext/vendor/ctags/Tmain/list-pseudo-tags.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/list-pseudo-tags.d/stdout-expected.txt +9 -0
- data/ext/vendor/ctags/Tmain/list-roles.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/list-roles.d/run.sh +47 -0
- data/ext/vendor/ctags/Tmain/list-roles.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/list-roles.d/stdout-expected.txt +108 -0
- data/ext/vendor/ctags/Tmain/load-dot-ctags-twice.d/dot.ctags +1 -0
- data/ext/vendor/ctags/Tmain/load-dot-ctags-twice.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/load-dot-ctags-twice.d/run.sh +8 -0
- data/ext/vendor/ctags/Tmain/load-dot-ctags-twice.d/stderr-expected.txt +2 -0
- data/ext/vendor/ctags/Tmain/load-dot-ctags-twice.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lregex-accept-reserved-kind.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lregex-accept-reserved-kind.d/run.sh +6 -0
- data/ext/vendor/ctags/Tmain/lregex-accept-reserved-kind.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lregex-accept-reserved-kind.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lregex-list-kinds-full.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lregex-list-kinds-full.d/run.sh +15 -0
- data/ext/vendor/ctags/Tmain/lregex-list-kinds-full.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lregex-list-kinds-full.d/stdout-expected.txt +5 -0
- data/ext/vendor/ctags/Tmain/lregex-list-kinds-uniquely.d/run.sh +10 -0
- data/ext/vendor/ctags/Tmain/lregex-list-kinds-uniquely.d/stdout-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lregex-list-kinds.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lregex-list-kinds.d/run.sh +13 -0
- data/ext/vendor/ctags/Tmain/lregex-list-kinds.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lregex-list-kinds.d/stdout-expected.txt +4 -0
- data/ext/vendor/ctags/Tmain/lregex-reject-reserved-kind.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lregex-reject-reserved-kind.d/run.sh +6 -0
- data/ext/vendor/ctags/Tmain/lregex-reject-reserved-kind.d/stderr-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lregex-reject-reserved-kind.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lxcmd-accept-reserved-kind.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lxcmd-accept-reserved-kind.d/foo.sh +9 -0
- data/ext/vendor/ctags/Tmain/lxcmd-accept-reserved-kind.d/run.sh +11 -0
- data/ext/vendor/ctags/Tmain/lxcmd-accept-reserved-kind.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lxcmd-accept-reserved-kind.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lxcmd-backend-not-found.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lxcmd-backend-not-found.d/foo.sh +5 -0
- data/ext/vendor/ctags/Tmain/lxcmd-backend-not-found.d/run.sh +10 -0
- data/ext/vendor/ctags/Tmain/lxcmd-backend-not-found.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lxcmd-backend-not-found.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lxcmd-backend-premature-death.d/README +3 -0
- data/ext/vendor/ctags/Tmain/lxcmd-backend-premature-death.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lxcmd-backend-premature-death.d/foo.sh +5 -0
- data/ext/vendor/ctags/Tmain/lxcmd-backend-premature-death.d/run.sh +10 -0
- data/ext/vendor/ctags/Tmain/lxcmd-backend-premature-death.d/stderr-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lxcmd-backend-premature-death.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lxcmd-broken-kind.d/foo0.sh +6 -0
- data/ext/vendor/ctags/Tmain/lxcmd-broken-kind.d/foo1.sh +6 -0
- data/ext/vendor/ctags/Tmain/lxcmd-broken-kind.d/foo2.sh +6 -0
- data/ext/vendor/ctags/Tmain/lxcmd-broken-kind.d/foo3.sh +6 -0
- data/ext/vendor/ctags/Tmain/lxcmd-broken-kind.d/foo4.sh +6 -0
- data/ext/vendor/ctags/Tmain/lxcmd-broken-kind.d/foo5.sh +6 -0
- data/ext/vendor/ctags/Tmain/lxcmd-broken-kind.d/foo6.sh +6 -0
- data/ext/vendor/ctags/Tmain/lxcmd-broken-kind.d/foo7.sh +6 -0
- data/ext/vendor/ctags/Tmain/lxcmd-broken-kind.d/foo8.sh +6 -0
- data/ext/vendor/ctags/Tmain/lxcmd-broken-kind.d/run.sh +12 -0
- data/ext/vendor/ctags/Tmain/lxcmd-broken-kind.d/stderr-expected.txt +9 -0
- data/ext/vendor/ctags/Tmain/lxcmd-broken-kind.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lxcmd-disabled-kind.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lxcmd-disabled-kind.d/foo.sh +24 -0
- data/ext/vendor/ctags/Tmain/lxcmd-disabled-kind.d/run.sh +10 -0
- data/ext/vendor/ctags/Tmain/lxcmd-disabled-kind.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lxcmd-disabled-kind.d/stdout-expected.txt +8 -0
- data/ext/vendor/ctags/Tmain/lxcmd-exit-status-override.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lxcmd-exit-status-override.d/foo.sh +5 -0
- data/ext/vendor/ctags/Tmain/lxcmd-exit-status-override.d/run.sh +10 -0
- data/ext/vendor/ctags/Tmain/lxcmd-exit-status-override.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lxcmd-exit-status-override.d/stdout-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lxcmd-list-kinds-full.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lxcmd-list-kinds-full.d/foo.sh +8 -0
- data/ext/vendor/ctags/Tmain/lxcmd-list-kinds-full.d/run.sh +28 -0
- data/ext/vendor/ctags/Tmain/lxcmd-list-kinds-full.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lxcmd-list-kinds-full.d/stdout-expected.txt +10 -0
- data/ext/vendor/ctags/Tmain/lxcmd-list-kinds.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lxcmd-list-kinds.d/foo.sh +6 -0
- data/ext/vendor/ctags/Tmain/lxcmd-list-kinds.d/run.sh +15 -0
- data/ext/vendor/ctags/Tmain/lxcmd-list-kinds.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lxcmd-list-kinds.d/stdout-expected.txt +2 -0
- data/ext/vendor/ctags/Tmain/lxcmd-ptag-kind-desc.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lxcmd-ptag-kind-desc.d/foo.sh +6 -0
- data/ext/vendor/ctags/Tmain/lxcmd-ptag-kind-desc.d/input.foo +0 -0
- data/ext/vendor/ctags/Tmain/lxcmd-ptag-kind-desc.d/run.sh +18 -0
- data/ext/vendor/ctags/Tmain/lxcmd-ptag-kind-desc.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lxcmd-ptag-kind-desc.d/stdout-expected.txt +2 -0
- data/ext/vendor/ctags/Tmain/lxcmd-reject-invalid-notAvailableStatus.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lxcmd-reject-invalid-notAvailableStatus.d/run.sh +9 -0
- data/ext/vendor/ctags/Tmain/lxcmd-reject-invalid-notAvailableStatus.d/stderr-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lxcmd-reject-invalid-notAvailableStatus.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lxcmd-reject-reserved-kind.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lxcmd-reject-reserved-kind.d/foo.sh +8 -0
- data/ext/vendor/ctags/Tmain/lxcmd-reject-reserved-kind.d/run.sh +10 -0
- data/ext/vendor/ctags/Tmain/lxcmd-reject-reserved-kind.d/stderr-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lxcmd-reject-reserved-kind.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/lxcmd-reject-specifying-in-dot-ctags.d/.ctags +3 -0
- data/ext/vendor/ctags/Tmain/lxcmd-reject-specifying-in-dot-ctags.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lxcmd-reject-specifying-in-dot-ctags.d/run.sh +5 -0
- data/ext/vendor/ctags/Tmain/lxcmd-reject-specifying-in-dot-ctags.d/stderr-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/lxcmd-reject-specifying-in-dot-ctags.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/map-for-unknown-language.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/map-for-unknown-language.d/run.sh +7 -0
- data/ext/vendor/ctags/Tmain/map-for-unknown-language.d/stderr-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/map-for-unknown-language.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/map-lang-option.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/map-lang-option.d/run.sh +17 -0
- data/ext/vendor/ctags/Tmain/map-lang-option.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/map-lang-option.d/stdout-expected.txt +5 -0
- data/ext/vendor/ctags/Tmain/map-removing.d/ada.m +2 -0
- data/ext/vendor/ctags/Tmain/map-removing.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/map-removing.d/matlab.m +1 -0
- data/ext/vendor/ctags/Tmain/map-removing.d/objc.m +1 -0
- data/ext/vendor/ctags/Tmain/map-removing.d/run.sh +45 -0
- data/ext/vendor/ctags/Tmain/map-removing.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/map-removing.d/stdout-expected.txt +32 -0
- data/ext/vendor/ctags/Tmain/maxdepth.d/run.sh +15 -0
- data/ext/vendor/ctags/Tmain/maxdepth.d/src/a.c +4 -0
- data/ext/vendor/ctags/Tmain/maxdepth.d/src/subdir/b.c +5 -0
- data/ext/vendor/ctags/Tmain/maxdepth.d/stdout-expected.txt +5 -0
- data/ext/vendor/ctags/Tmain/nameless-long-option.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/nameless-long-option.d/run.sh +7 -0
- data/ext/vendor/ctags/Tmain/nameless-long-option.d/stderr-expected.txt +2 -0
- data/ext/vendor/ctags/Tmain/nameless-long-option.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/no-input-encoding-option.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/no-input-encoding-option.d/input.java +4 -0
- data/ext/vendor/ctags/Tmain/no-input-encoding-option.d/input.js +1 -0
- data/ext/vendor/ctags/Tmain/no-input-encoding-option.d/run.sh +13 -0
- data/ext/vendor/ctags/Tmain/no-input-encoding-option.d/stderr-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/no-input-encoding-option.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/null-description-in-pseudo-tag.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/null-description-in-pseudo-tag.d/run.sh +9 -0
- data/ext/vendor/ctags/Tmain/null-description-in-pseudo-tag.d/stdout-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/omit-long-patterns.d/gen.sh +39 -0
- data/ext/vendor/ctags/Tmain/omit-long-patterns.d/input.sh +16 -0
- data/ext/vendor/ctags/Tmain/omit-long-patterns.d/run.sh +5 -0
- data/ext/vendor/ctags/Tmain/omit-long-patterns.d/stdout-expected.txt +3 -0
- data/ext/vendor/ctags/Tmain/option-echo-and-force-quit.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/option-echo-and-force-quit.d/run.sh +8 -0
- data/ext/vendor/ctags/Tmain/option-echo-and-force-quit.d/stderr-expected.txt +3 -0
- data/ext/vendor/ctags/Tmain/option-echo-and-force-quit.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/output-encoding-option.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/output-encoding-option.d/input.java +4 -0
- data/ext/vendor/ctags/Tmain/output-encoding-option.d/input.js +1 -0
- data/ext/vendor/ctags/Tmain/output-encoding-option.d/run.sh +21 -0
- data/ext/vendor/ctags/Tmain/output-encoding-option.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/output-encoding-option.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/output-encoding-option.d/tags-expected.txt +10 -0
- data/ext/vendor/ctags/Tmain/output-format-option.d/input.c +5 -0
- data/ext/vendor/ctags/Tmain/output-format-option.d/run.sh +10 -0
- data/ext/vendor/ctags/Tmain/output-format-option.d/stdout-expected.txt +8 -0
- data/ext/vendor/ctags/Tmain/pattern-length-limit.d/input.java +3 -0
- data/ext/vendor/ctags/Tmain/pattern-length-limit.d/run.sh +17 -0
- data/ext/vendor/ctags/Tmain/pattern-length-limit.d/stdout-expected.txt +6 -0
- data/ext/vendor/ctags/Tmain/ptag-kind-desc.d/input.foo +1 -0
- data/ext/vendor/ctags/Tmain/ptag-kind-desc.d/input.sh +0 -0
- data/ext/vendor/ctags/Tmain/ptag-kind-desc.d/run.sh +17 -0
- data/ext/vendor/ctags/Tmain/ptag-kind-desc.d/stdout-expected.txt +16 -0
- data/ext/vendor/ctags/Tmain/readtags-qualifier-end-field.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/readtags-qualifier-end-field.d/output.tags +10 -0
- data/ext/vendor/ctags/Tmain/readtags-qualifier-end-field.d/run.sh +23 -0
- data/ext/vendor/ctags/Tmain/readtags-qualifier-end-field.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/readtags-qualifier-end-field.d/stdout-expected.txt +3 -0
- data/ext/vendor/ctags/Tmain/readtags-qualifier.d/base.py +28 -0
- data/ext/vendor/ctags/Tmain/readtags-qualifier.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/readtags-qualifier.d/output.tags +27 -0
- data/ext/vendor/ctags/Tmain/readtags-qualifier.d/run.sh +33 -0
- data/ext/vendor/ctags/Tmain/readtags-qualifier.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/readtags-qualifier.d/stdout-expected.txt +53 -0
- data/ext/vendor/ctags/Tmain/regex-for-unknown-language.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/regex-for-unknown-language.d/run.sh +7 -0
- data/ext/vendor/ctags/Tmain/regex-for-unknown-language.d/stderr-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/regex-for-unknown-language.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/selector-dont-select-disabled-lang.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/selector-dont-select-disabled-lang.d/input.h +6 -0
- data/ext/vendor/ctags/Tmain/selector-dont-select-disabled-lang.d/run.sh +7 -0
- data/ext/vendor/ctags/Tmain/selector-dont-select-disabled-lang.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/selector-dont-select-disabled-lang.d/stdout-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/sorted-help-message.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/sorted-help-message.d/run.sh +53 -0
- data/ext/vendor/ctags/Tmain/sorted-help-message.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/sorted-help-message.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/sorted-list-languages.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/sorted-list-languages.d/run.sh +22 -0
- data/ext/vendor/ctags/Tmain/sorted-list-languages.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/sorted-list-languages.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/tags-pseudo-tags.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/tags-pseudo-tags.d/input.php +1 -0
- data/ext/vendor/ctags/Tmain/tags-pseudo-tags.d/run.sh +15 -0
- data/ext/vendor/ctags/Tmain/tags-pseudo-tags.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/tags-pseudo-tags.d/stdout-expected.txt +24 -0
- data/ext/vendor/ctags/Tmain/tmain-example.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/tmain-example.d/run.sh +8 -0
- data/ext/vendor/ctags/Tmain/tmain-example.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/tmain-example.d/stdout-expected.txt +4 -0
- data/ext/vendor/ctags/Tmain/tmain-example.d/tags-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/tmain-skip-example.d/run.sh +9 -0
- data/ext/vendor/ctags/Tmain/tmain-skip-example.d/stdout-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/two-inputs-requiring-scope-stack.d/a.dts +627 -0
- data/ext/vendor/ctags/Tmain/two-inputs-requiring-scope-stack.d/b.dts +3 -0
- data/ext/vendor/ctags/Tmain/utils.sh +31 -0
- data/ext/vendor/ctags/Tmain/warn-reusing-kind-letter.d/run.sh +13 -0
- data/ext/vendor/ctags/Tmain/warn-reusing-kind-letter.d/stdout-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/wildcard-in-lang-of-fields-option.d/run.sh +7 -0
- data/ext/vendor/ctags/Tmain/wildcard-in-lang-of-fields-option.d/stdout-expected.txt +2 -0
- data/ext/vendor/ctags/Tmain/wrong-parser-name-in-field.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/wrong-parser-name-in-field.d/run.sh +7 -0
- data/ext/vendor/ctags/Tmain/wrong-parser-name-in-field.d/stderr-expected.txt +2 -0
- data/ext/vendor/ctags/Tmain/xcmd-dont-run-setgid-executable.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/xcmd-dont-run-setgid-executable.d/run.sh +25 -0
- data/ext/vendor/ctags/Tmain/xcmd-dont-run-setgid-executable.d/stderr-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/xcmd-dont-run-setgid-executable.d/stdout-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/xcmd-dont-run-setuid-executable.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/xcmd-dont-run-setuid-executable.d/run.sh +26 -0
- data/ext/vendor/ctags/Tmain/xcmd-dont-run-setuid-executable.d/stderr-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/xcmd-dont-run-setuid-executable.d/stdout-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/xcmd-for-unknown-language.d/exit-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/xcmd-for-unknown-language.d/run.sh +7 -0
- data/ext/vendor/ctags/Tmain/xcmd-for-unknown-language.d/stderr-expected.txt +1 -0
- data/ext/vendor/ctags/Tmain/xcmd-for-unknown-language.d/stdout-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/xcmd-tag-relative-option.d/input.dog +2 -0
- data/ext/vendor/ctags/Tmain/xcmd-tag-relative-option.d/run.sh +28 -0
- data/ext/vendor/ctags/Tmain/xcmd-tag-relative-option.d/stderr-expected.txt +0 -0
- data/ext/vendor/ctags/Tmain/xcmd-tag-relative-option.d/stdout-expected.txt +6 -0
- data/ext/vendor/ctags/Tmain/xcmd-tag-relative-option.d/xcmd-dog +17 -0
- data/ext/vendor/ctags/Tmain/xformat-and-parser-own-field.d/input.rst +5 -0
- data/ext/vendor/ctags/Tmain/xformat-and-parser-own-field.d/run.sh +63 -0
- data/ext/vendor/ctags/Tmain/xformat-and-parser-own-field.d/stderr-expected.txt +3 -0
- data/ext/vendor/ctags/Tmain/xformat-and-parser-own-field.d/stdout-expected.txt +28 -0
- data/ext/vendor/ctags/Tmain/xformat-common-fields.d/input.py +3 -0
- data/ext/vendor/ctags/Tmain/xformat-common-fields.d/run.sh +13 -0
- data/ext/vendor/ctags/Tmain/xformat-common-fields.d/stdout-expected.txt +118 -0
- data/ext/vendor/ctags/Units/afl-fuzz.r/github-issue-528-sml.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/afl-fuzz.r/github-issue-528-sml.d/input.sml +1 -0
- data/ext/vendor/ctags/Units/afl-fuzz.r/github-issue-529-bas.d/input.bas +1 -0
- data/ext/vendor/ctags/Units/afl-fuzz.r/github-issue-530-css.d/input.css +1 -0
- data/ext/vendor/ctags/Units/afl-fuzz.r/github-issue-531-make.d/input.mk +1 -0
- data/ext/vendor/ctags/Units/afl-fuzz.r/github-issue-532-vim.d/input.vim +1 -0
- data/ext/vendor/ctags/Units/afl-fuzz.r/github-issue-536-flex.d/input.as +1 -0
- data/ext/vendor/ctags/Units/afl-fuzz.r/github-issue-537-beta.d/input.bet +1 -0
- data/ext/vendor/ctags/Units/afl-fuzz.r/github-issue-538-sql.d/input.sql +1 -0
- data/ext/vendor/ctags/Units/afl-fuzz.r/github-issue-539-js.d/input.js +1 -0
- data/ext/vendor/ctags/Units/afl-fuzz.r/github-issue-540-fortran.d/input.f +1 -0
- data/ext/vendor/ctags/Units/afl-fuzz.r/github-issue-541-json.d/input.json +1 -0
- data/ext/vendor/ctags/Units/afl-fuzz.r/github-issue-542-vhdl.d/input.vhdl +1 -0
- data/ext/vendor/ctags/Units/afl-fuzz.r/github-issue-543-eiffel.d/input.e +1 -0
- data/ext/vendor/ctags/Units/afl-fuzz.r/github-issue-625-r.d/input.r +1 -0
- data/ext/vendor/ctags/Units/afl-fuzz.r/github-issue-627-perl.d/input.pl +2 -0
- data/ext/vendor/ctags/Units/afl-fuzz.r/github-issue-628-vera.d/input.vr +1 -0
- data/ext/vendor/ctags/Units/conflib-recursive.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/conflib-recursive.d/expected.tags +6 -0
- data/ext/vendor/ctags/Units/conflib-recursive.d/features +2 -0
- data/ext/vendor/ctags/Units/conflib-recursive.d/input.cof +17 -0
- data/ext/vendor/ctags/Units/conflib-recursive.d/optlib/lang.d/def.d/a.ctags +4 -0
- data/ext/vendor/ctags/Units/conflib-recursive.d/optlib/lang.d/map.d/b.ctags +4 -0
- data/ext/vendor/ctags/Units/conflib-recursive.d/optlib/lang.d/regex.d/c.ctags +4 -0
- data/ext/vendor/ctags/Units/conflib-recursive.d/optlib/lang.d/regex.d/d.ctags +4 -0
- data/ext/vendor/ctags/Units/conflib-recursive.d/optlib/lang.d/regex.d/e.ctags +4 -0
- data/ext/vendor/ctags/Units/conflib-simple.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/conflib-simple.d/expected.tags +6 -0
- data/ext/vendor/ctags/Units/conflib-simple.d/features +1 -0
- data/ext/vendor/ctags/Units/conflib-simple.d/input.coffee +17 -0
- data/ext/vendor/ctags/Units/conflib-simple.d/optlib/coffee.ctags +8 -0
- data/ext/vendor/ctags/Units/cork-etags.d/expected.tags-e +5 -0
- data/ext/vendor/ctags/Units/cork-etags.d/input.clj +9 -0
- data/ext/vendor/ctags/Units/cork-xref.d/expected.tags-x +3 -0
- data/ext/vendor/ctags/Units/cork-xref.d/input.clj +9 -0
- data/ext/vendor/ctags/Units/dotted-names.d/expected.tags +19 -0
- data/ext/vendor/ctags/Units/dotted-names.d/input.json +25 -0
- data/ext/vendor/ctags/Units/extension-with-template-suffix.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/extension-with-template-suffix.d/input.c.in +5 -0
- data/ext/vendor/ctags/Units/extra-file-scope-option.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/extra-file-scope-option.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/extra-file-scope-option.d/input.c +2 -0
- data/ext/vendor/ctags/Units/extra-total-lines.d/args.ctags +9 -0
- data/ext/vendor/ctags/Units/extra-total-lines.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/extra-total-lines.d/foo.h +27 -0
- data/ext/vendor/ctags/Units/extra-total-lines.d/input.c +6 -0
- data/ext/vendor/ctags/Units/file-kind-alt.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/file-kind-alt.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/file-kind-alt.d/input.rb +0 -0
- data/ext/vendor/ctags/Units/fuzz-hitting-assertions.r/README +9 -0
- data/ext/vendor/ctags/Units/fuzz-hitting-assertions.r/csharp-fha-0.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/fuzz-hitting-assertions.r/csharp-fha-0.d/input.cs +1 -0
- data/ext/vendor/ctags/Units/fuzz-hitting-assertions.r/d-fha-0.d/README +5 -0
- data/ext/vendor/ctags/Units/fuzz-hitting-assertions.r/d-fha-0.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/fuzz-hitting-assertions.r/d-fha-0.d/input.d +1 -0
- data/ext/vendor/ctags/Units/fuzz-hitting-assertions.r/eiffel-fha-0.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/fuzz-hitting-assertions.r/eiffel-fha-0.d/input.e +1 -0
- data/ext/vendor/ctags/Units/fuzz-hitting-assertions.r/java-fha-0.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/fuzz-hitting-assertions.r/java-fha-0.d/input.java +1 -0
- data/ext/vendor/ctags/Units/fuzz-hitting-assertions.r/systemverilog-fha-0.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/fuzz-hitting-assertions.r/systemverilog-fha-0.d/input.sv +1 -0
- data/ext/vendor/ctags/Units/fuzz-hitting-assertions.r/vera-fha-0.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/fuzz-hitting-assertions.r/vera-fha-0.d/input.vr +1 -0
- data/ext/vendor/ctags/Units/fuzz-hitting-assertions.r/verilog-fha-0.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/fuzz-hitting-assertions.r/verilog-fha-0.d/input.v +1 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-emacs-after-shbang.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-emacs-after-shbang.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-emacs-after-shbang.d/input.nolang +4 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-emacs-eof.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-emacs-eof.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-emacs-eof.d/input.nolang +34 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-emacs-firstline0.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-emacs-firstline0.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-emacs-firstline0.d/input.nolang +3 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-emacs-firstline1.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-emacs-firstline1.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-emacs-firstline1.d/input.nolang +6 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-vim0.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-vim0.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-vim0.d/input.nolang +7 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-vim1.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-vim1.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-vim1.d/input.nolang +7 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-vim2.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-vim2.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-vim2.d/input.nolang +7 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-zsh-autoload.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-zsh-autoload.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-zsh-autoload.d/input.nolang +4 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-zsh-compdef.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-zsh-compdef.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-modeline-zsh-compdef.d/input.nolang +4 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-shebang-python3.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-shebang-python3.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/main-guessing.r/nolang-shebang-python3.d/input.nolang +5 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-coffeetags-pseudo.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-coffeetags-pseudo.d/features +1 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-coffeetags-pseudo.d/filter +2 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-coffeetags-pseudo.d/input.coffee +2 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-coffeetags-pseudo.d/languages +1 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-coffeetags.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-coffeetags.d/features +1 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-coffeetags.d/input.coffee +17 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-coffeetags.d/languages +1 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-etags.d/expected.tags-e +7 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-etags.d/features +1 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-etags.d/input.coffee +17 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-etags.d/languages +1 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-simple.d/args.ctags +6 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-simple.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-simple.d/features +2 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-simple.d/input.dog +2 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-simple.d/xcmd-dog +17 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-xref.d/expected.tags-x +5 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-xref.d/features +1 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-xref.d/input.coffee +17 -0
- data/ext/vendor/ctags/Units/main-xcmd.r/xcmd-xref.d/languages +1 -0
- data/ext/vendor/ctags/Units/matlab-tg-corpus.d/expected.tags +14 -0
- data/ext/vendor/ctags/Units/matlab-tg-corpus.d/features +1 -0
- data/ext/vendor/ctags/Units/matlab-tg-corpus.d/input.m +105 -0
- data/ext/vendor/ctags/Units/modeline-vs-2gram.m/args.ctags +1 -0
- data/ext/vendor/ctags/Units/modeline-vs-2gram.m/expected.tags +1 -0
- data/ext/vendor/ctags/Units/modeline-vs-2gram.m/input.m +3 -0
- data/ext/vendor/ctags/Units/noext-tg-matlab.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/noext-tg-matlab.d/expected.tags +14 -0
- data/ext/vendor/ctags/Units/noext-tg-matlab.d/features +1 -0
- data/ext/vendor/ctags/Units/noext-tg-matlab.d/input.nolang +106 -0
- data/ext/vendor/ctags/Units/noext-tg-objc.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/noext-tg-objc.d/expected.tags +17 -0
- data/ext/vendor/ctags/Units/noext-tg-objc.d/input.nolang +152 -0
- data/ext/vendor/ctags/Units/objc-tg-corpus.d/expected.tags +17 -0
- data/ext/vendor/ctags/Units/objc-tg-corpus.d/input.m +151 -0
- data/ext/vendor/ctags/Units/ocaml_empty.ml_etags.t/expected.tags-e +2 -0
- data/ext/vendor/ctags/Units/ocaml_empty.ml_etags.t/input.ml +0 -0
- data/ext/vendor/ctags/Units/ocaml_empty.ml_xref.t/expected.tags-x +1 -0
- data/ext/vendor/ctags/Units/ocaml_empty.ml_xref.t/input.ml +0 -0
- data/ext/vendor/ctags/Units/option-add-alias.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/option-add-alias.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/option-add-alias.d/input.nolang +3 -0
- data/ext/vendor/ctags/Units/option-disable-kind-in-both.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/option-disable-kind-in-both.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/option-disable-kind-in-both.d/input.c +6 -0
- data/ext/vendor/ctags/Units/option-disable-kind-in-builtin.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/option-disable-kind-in-builtin.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/option-disable-kind-in-builtin.d/features +1 -0
- data/ext/vendor/ctags/Units/option-disable-kind-in-builtin.d/input.c +6 -0
- data/ext/vendor/ctags/Units/option-disable-kind-in-regex.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/option-disable-kind-in-regex.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/option-disable-kind-in-regex.d/input.c +6 -0
- data/ext/vendor/ctags/Units/option-lang-compatibility.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/option-lang-compatibility.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/option-lang-compatibility.d/features +1 -0
- data/ext/vendor/ctags/Units/option-lang-compatibility.d/input.foo +3 -0
- data/ext/vendor/ctags/Units/option-langmap-ext--ext.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/option-langmap-ext--ext.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/option-langmap-ext--ext.d/input.x +5 -0
- data/ext/vendor/ctags/Units/option-langmap-ext--pat-ext.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/option-langmap-ext--pat-ext.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/option-langmap-ext--pat-ext.d/input.zzz +5 -0
- data/ext/vendor/ctags/Units/option-langmap-ext-pat--ext.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/option-langmap-ext-pat--ext.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/option-langmap-ext-pat--ext.d/input.x +5 -0
- data/ext/vendor/ctags/Units/option-langmap-pat--ext.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/option-langmap-pat--ext.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/option-langmap-pat--ext.d/input.x +5 -0
- data/ext/vendor/ctags/Units/option-langmap-pat--pat-ext.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/option-langmap-pat--pat-ext.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/option-langmap-pat--pat-ext.d/input.zzz +5 -0
- data/ext/vendor/ctags/Units/option-same-kind-in-regex-and-builtin.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/option-same-kind-in-regex-and-builtin.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/option-same-kind-in-regex-and-builtin.d/features +1 -0
- data/ext/vendor/ctags/Units/option-same-kind-in-regex-and-builtin.d/input.c +7 -0
- data/ext/vendor/ctags/Units/parser-ada.r/ada-adb.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-ada.r/ada-adb.d/input.adb +35 -0
- data/ext/vendor/ctags/Units/parser-ada.r/ada-ads.d/expected.tags +16 -0
- data/ext/vendor/ctags/Units/parser-ada.r/ada-ads.d/input.ads +50 -0
- data/ext/vendor/ctags/Units/parser-ada.r/ada-function.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ada.r/ada-function.d/input.broken +1 -0
- data/ext/vendor/ctags/Units/parser-ada.r/ada-partial-bug.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-ada.r/ada-partial-bug.d/input.adb +3 -0
- data/ext/vendor/ctags/Units/parser-ada.r/ada-partial-bug2.d/input.adb +3 -0
- data/ext/vendor/ctags/Units/parser-ada.r/ada-partial-type.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-ada.r/ada-partial-type.d/input.ads +8 -0
- data/ext/vendor/ctags/Units/parser-ada.r/ada-protected.d/input.adb +1 -0
- data/ext/vendor/ctags/Units/parser-ansibleplaybook.r/play-name.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ansibleplaybook.r/play-name.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-ansibleplaybook.r/play-name.d/features +1 -0
- data/ext/vendor/ctags/Units/parser-ansibleplaybook.r/play-name.d/input.yml +4 -0
- data/ext/vendor/ctags/Units/parser-ant.r/regex-based.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ant.r/regex-based.d/expected.tags +9 -0
- data/ext/vendor/ctags/Units/parser-ant.r/regex-based.d/features +1 -0
- data/ext/vendor/ctags/Units/parser-ant.r/regex-based.d/input.xml +102 -0
- data/ext/vendor/ctags/Units/parser-ant.r/xpath-based.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-ant.r/xpath-based.d/expected.tags +9 -0
- data/ext/vendor/ctags/Units/parser-ant.r/xpath-based.d/features +1 -0
- data/ext/vendor/ctags/Units/parser-ant.r/xpath-based.d/input.xml +103 -0
- data/ext/vendor/ctags/Units/parser-asm.r/68hc11.asm.d/expected.tags +10 -0
- data/ext/vendor/ctags/Units/parser-asm.r/68hc11.asm.d/input.asm +23 -0
- data/ext/vendor/ctags/Units/parser-asm.r/bd32.s.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-asm.r/bd32.s.d/input.s +43 -0
- data/ext/vendor/ctags/Units/parser-asm.r/bug538629.asm.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-asm.r/bug538629.asm.d/input.asm +1 -0
- data/ext/vendor/ctags/Units/parser-asm.r/gas.s.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-asm.r/gas.s.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-asm.r/gas.s.d/input.s +13 -0
- data/ext/vendor/ctags/Units/parser-asm.r/masm.asm.d/expected.tags +11 -0
- data/ext/vendor/ctags/Units/parser-asm.r/masm.asm.d/input.asm +33 -0
- data/ext/vendor/ctags/Units/parser-asm.r/moniker.x68.d/expected.tags +15 -0
- data/ext/vendor/ctags/Units/parser-asm.r/moniker.x68.d/input.x68 +116 -0
- data/ext/vendor/ctags/Units/parser-autoconf.r/m4-disable-ac.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-autoconf.r/m4-disable-ac.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-autoconf.r/m4-disable-ac.d/input.ac +12 -0
- data/ext/vendor/ctags/Units/parser-autoconf.r/nested-block.ac.b/DESC.rst +15 -0
- data/ext/vendor/ctags/Units/parser-autoconf.r/nested-block.ac.b/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-autoconf.r/nested-block.ac.b/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-autoconf.r/nested-block.ac.b/input.ac +12 -0
- data/ext/vendor/ctags/Units/parser-autoconf.r/simple.ac.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-autoconf.r/simple.ac.d/expected.tags +14 -0
- data/ext/vendor/ctags/Units/parser-autoconf.r/simple.ac.d/input.ac +47 -0
- data/ext/vendor/ctags/Units/parser-automake.r/disable-make-parser.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-automake.r/disable-make-parser.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-automake.r/disable-make-parser.d/input.am +1 -0
- data/ext/vendor/ctags/Units/parser-automake.r/langstack.am.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-automake.r/langstack.am.d/expected.tags +9 -0
- data/ext/vendor/ctags/Units/parser-automake.r/langstack.am.d/input.am +15 -0
- data/ext/vendor/ctags/Units/parser-automake.r/simple.am.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-automake.r/simple.am.d/expected.tags +47 -0
- data/ext/vendor/ctags/Units/parser-automake.r/simple.am.d/input.am +92 -0
- data/ext/vendor/ctags/Units/parser-awk.r/gawk-alias.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-awk.r/gawk-alias.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-awk.r/gawk-alias.d/input.unknown +10 -0
- data/ext/vendor/ctags/Units/parser-awk.r/simple-awk.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-awk.r/simple-awk.d/input.awk +9 -0
- data/ext/vendor/ctags/Units/parser-awk.r/simple2-awk.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-awk.r/simple2-awk.d/input.awk +37 -0
- data/ext/vendor/ctags/Units/parser-c.r/attr-attached-to-array-failed.b/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/attr-attached-to-array-failed.b/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-c.r/attr-attached-to-array-failed.b/input.c +3 -0
- data/ext/vendor/ctags/Units/parser-c.r/attr-attached-to-array.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/attr-attached-to-array.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-c.r/attr-attached-to-array.d/input.c +4 -0
- data/ext/vendor/ctags/Units/parser-c.r/backslash-in-input.c.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/backslash-in-input.c.d/input.c +5 -0
- data/ext/vendor/ctags/Units/parser-c.r/bit_field.c.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/bit_field.c.d/expected.tags +25 -0
- data/ext/vendor/ctags/Units/parser-c.r/bit_field.c.d/input.c +35 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1020715.c.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1020715.c.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1020715.c.d/input.c +52 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1085585.c.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1085585.c.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1085585.c.d/input.c +37 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1086609.c.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1086609.c.d/input.c +41 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1198.c.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1198.c.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1198.c.d/input.c +32 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1201689.c.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1201689.c.d/input.c +35 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1458930.c.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1458930.c.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1458930.c.d/input.c +3 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1466117.c.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1466117.c.d/input.c +10 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1491666.c.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1491666.c.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1491666.c.d/input.c +13 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1764143.h.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug1764143.h.d/input.h +27 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug507864.c.d/README +13 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug507864.c.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug507864.c.d/input.c +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug556645.c.d/README +19 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug556645.c.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug556645.c.d/input.c +39 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug556646.c.d/expected.tags +21 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug556646.c.d/input.c +42 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug945.c.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug945.c.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug945.c.d/input.c +11 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug950.c.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug950.c.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-c.r/bug950.c.d/input.c +20 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-define-mixed.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-define-mixed.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-define-mixed.d/input.c +7 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-digraphs.d/expected.tags +11 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-digraphs.d/input.c +35 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-include.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-include.d/expected.tags +12 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-include.d/input.c +32 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-knr.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-knr.d/expected.tags +12 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-knr.d/input.c +39 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-label.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-label.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-label.d/input.c +16 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-multichars-between-single-quotes.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-multichars-between-single-quotes.d/input.c +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-sample.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-sample.d/input.c +5 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-size_t-wchar_t-typedef.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-size_t-wchar_t-typedef.d/input.c +3 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-trigraphs.d/expected.tags +14 -0
- data/ext/vendor/ctags/Units/parser-c.r/c-trigraphs.d/input.c +56 -0
- data/ext/vendor/ctags/Units/parser-c.r/complex_decl.c.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/complex_decl.c.d/input.c +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/directives.c.d/README +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/directives.c.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/directives.c.d/expected.tags +21 -0
- data/ext/vendor/ctags/Units/parser-c.r/directives.c.d/input.c +72 -0
- data/ext/vendor/ctags/Units/parser-c.r/end-field-of-macro.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/end-field-of-macro.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-c.r/end-field-of-macro.d/input.c +8 -0
- data/ext/vendor/ctags/Units/parser-c.r/enum.c.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/enum.c.d/expected.tags +16 -0
- data/ext/vendor/ctags/Units/parser-c.r/enum.c.d/input.c +33 -0
- data/ext/vendor/ctags/Units/parser-c.r/extern_variable.h.b/README +15 -0
- data/ext/vendor/ctags/Units/parser-c.r/extern_variable.h.b/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/extern_variable.h.b/expected.tags +0 -0
- data/ext/vendor/ctags/Units/parser-c.r/extern_variable.h.b/input.h +4 -0
- data/ext/vendor/ctags/Units/parser-c.r/func_typedef.h.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/func_typedef.h.d/input.h +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/if0.c.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/if0.c.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/if0.c.d/input.c +5 -0
- data/ext/vendor/ctags/Units/parser-c.r/line_directives.c.d/README +73 -0
- data/ext/vendor/ctags/Units/parser-c.r/line_directives.c.d/args.ctags +5 -0
- data/ext/vendor/ctags/Units/parser-c.r/line_directives.c.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-c.r/line_directives.c.d/filter +19 -0
- data/ext/vendor/ctags/Units/parser-c.r/line_directives.c.d/input.c +16 -0
- data/ext/vendor/ctags/Units/parser-c.r/local.c.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/local.c.d/expected.tags +6 -0
- data/ext/vendor/ctags/Units/parser-c.r/local.c.d/input.c +22 -0
- data/ext/vendor/ctags/Units/parser-c.r/macros.c.d/README +45 -0
- data/ext/vendor/ctags/Units/parser-c.r/macros.c.d/args.ctags +5 -0
- data/ext/vendor/ctags/Units/parser-c.r/macros.c.d/expected.tags +9 -0
- data/ext/vendor/ctags/Units/parser-c.r/macros.c.d/input.c +15 -0
- data/ext/vendor/ctags/Units/parser-c.r/option-disable-undef.c.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/option-disable-undef.c.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/option-disable-undef.c.d/input.c +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/prototype.h.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/prototype.h.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/prototype.h.d/input.h +2 -0
- data/ext/vendor/ctags/Units/parser-c.r/spurious_label_tags.c.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/spurious_label_tags.c.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/spurious_label_tags.c.d/input.c +17 -0
- data/ext/vendor/ctags/Units/parser-c.r/static_array.c.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/static_array.c.d/input.c +3 -0
- data/ext/vendor/ctags/Units/parser-c.r/using-cxx-keyword-in-c-code.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/using-cxx-keyword-in-c-code.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-c.r/using-cxx-keyword-in-c-code.d/input.c +1 -0
- data/ext/vendor/ctags/Units/parser-cpreprocessor.r/if0-false-with-param.c.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cpreprocessor.r/if0-false-with-param.c.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-cpreprocessor.r/if0-false-with-param.c.d/input.c +5 -0
- data/ext/vendor/ctags/Units/parser-cpreprocessor.r/if0-true-with-param.c.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cpreprocessor.r/if0-true-with-param.c.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-cpreprocessor.r/if0-true-with-param.c.d/input.c +5 -0
- data/ext/vendor/ctags/Units/parser-cpreprocessor.r/macros-specified-with-param.c.d/README +1 -0
- data/ext/vendor/ctags/Units/parser-cpreprocessor.r/macros-specified-with-param.c.d/args.ctags +5 -0
- data/ext/vendor/ctags/Units/parser-cpreprocessor.r/macros-specified-with-param.c.d/expected.tags +9 -0
- data/ext/vendor/ctags/Units/parser-cpreprocessor.r/macros-specified-with-param.c.d/input.c +15 -0
- data/ext/vendor/ctags/Units/parser-cpreprocessor.r/simple-cpreprocessor.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-cpreprocessor.r/simple-cpreprocessor.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-cpreprocessor.r/simple-cpreprocessor.d/input.c +7 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-at-rules.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-at-rules.d/input.css +27 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-at-supports.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-at-supports.d/input.css +6 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-attribute-selectors.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-attribute-selectors.d/input.css +6 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-comma-no-space.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-comma-no-space.d/input.css +1 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-namespace-selectors.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-namespace-selectors.d/input.css +4 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-pseudo-classes.d/expected.tags +11 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-pseudo-classes.d/input.css +15 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-simple.d/expected.tags +10 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-simple.d/input.css +27 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-singlequote-in-comment-issue2.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-singlequote-in-comment-issue2.d/input.css +2 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-tag-types.d/expected.tags +36 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-tag-types.d/input.css +38 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-trivial.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-css.r/css-trivial.d/input.css +5 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/1117-using-in-c.d/input.c +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/README +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/angle_bracket.cpp.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/angle_bracket.cpp.d/input.cpp +16 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/attribute.cpp.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/attribute.cpp.d/expected.tags +28 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/attribute.cpp.d/input.cpp +49 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/brackets.cpp.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/brackets.cpp.d/expected.tags +16 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/brackets.cpp.d/input.cpp +51 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug-github-1111.cpp.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug-github-1111.cpp.d/input.cpp +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug-github-871.cpp.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug-github-871.cpp.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug-github-871.cpp.d/input.cpp +24 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug-github-pull-972.cpp.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug-github-pull-972.cpp.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug-github-pull-972.cpp.d/input.cpp +24 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1020715.cpp.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1020715.cpp.d/input.cpp +6 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1093123.cpp.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1093123.cpp.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1093123.cpp.d/input.cpp +7 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1187505.cpp.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1187505.cpp.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1187505.cpp.d/input.cpp +5 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1548443.cpp.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1548443.cpp.d/expected.tags +6 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1548443.cpp.d/input.cpp +9 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1563476.cpp.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1563476.cpp.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1563476.cpp.d/input.cpp +16 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1575055.cpp.d/README +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1575055.cpp.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1575055.cpp.d/input.cpp +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1585745.cpp.d/expected.tags +6 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1585745.cpp.d/input.cpp +8 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1770479.cpp.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1770479.cpp.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1770479.cpp.d/input.cpp +17 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1773926.cpp.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1773926.cpp.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1773926.cpp.d/input.cpp +12 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1799340.cpp.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1799340.cpp.d/input.cpp +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1799343-1.cpp.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1799343-1.cpp.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1799343-1.cpp.d/input.cpp +10 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1799343-2.cpp.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1799343-2.cpp.d/expected.tags +15 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1799343-2.cpp.d/input.cpp +27 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1907083.cpp.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1907083.cpp.d/input.cpp +5 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1924919.cpp.d/README +17 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1924919.cpp.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1924919.cpp.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug1924919.cpp.d/input.cpp +6 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug639639.cpp.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug639639.cpp.d/input.h +46 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug639644.cpp.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug639644.cpp.d/input.h +41 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug665086.cpp.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug665086.cpp.d/input.cpp +32 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug834.cpp.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug834.cpp.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug834.cpp.d/input.cpp +17 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug849591.cpp.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug849591.cpp.d/input.cpp +56 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug852368.cpp.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug852368.cpp.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug852368.cpp.d/input.cpp +34 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug872494.cpp.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/bug872494.cpp.d/input.cpp +43 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/c-header-as-cpp.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/c-header-as-cpp.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/c-header-as-cpp.d/input.h +20 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/class-inheritance.cpp.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/class-inheritance.cpp.d/expected.tags +10 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/class-inheritance.cpp.d/input.cpp +42 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/class.cpp.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/class.cpp.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/class.cpp.d/input.cpp +12 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/complex-macros.d/args.ctags +13 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/complex-macros.d/expected.tags +23 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/complex-macros.d/input.cpp +57 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cpp-type-alias-with-using-keyword.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cpp-type-alias-with-using-keyword.d/input.cpp +7 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cpp_destructor.cpp.d/expected.tags +10 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cpp_destructor.cpp.d/input.cpp +16 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx-keywords-as-c-identifiers.b/README +28 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx-keywords-as-c-identifiers.b/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx-keywords-as-c-identifiers.b/expected.tags +356 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx-keywords-as-c-identifiers.b/gen-expected-tags.sh +68 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx-keywords-as-c-identifiers.b/gen-input.sh +79 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx-keywords-as-c-identifiers.b/input.c +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx-keywords-as-c-identifiers.b/input.h +200 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx-keywords-as-c-identifiers.b/keywords.sh +42 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx-shift-operators-in-template-parameters.d/README +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx-shift-operators-in-template-parameters.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx-shift-operators-in-template-parameters.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx-shift-operators-in-template-parameters.d/input.cpp +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11-delete.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11-delete.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11-delete.d/input.cpp +6 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11-final.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11-final.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11-final.d/input.cpp +23 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11-lambdas.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11-lambdas.d/expected.tags +19 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11-lambdas.d/input.cpp +24 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11-noexcept.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11-noexcept.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11-noexcept.d/input.cpp +7 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11-override.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11-override.d/expected.tags +9 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11-override.d/input.cpp +24 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11-raw-strings.d/expected.tags +22 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11-raw-strings.d/input.cpp +34 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11enum.cpp.d/args.ctags +5 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11enum.cpp.d/expected.tags +49 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx11enum.cpp.d/input.cpp +46 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx14-combined.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx14-combined.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/cxx14-combined.d/input.cpp +8 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/extern.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/extern.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/extern.d/input.cpp +20 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/foreach.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/foreach.d/expected.tags +6 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/foreach.d/input.cpp +27 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/function-return-types.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/function-return-types.d/expected.tags +45 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/function-return-types.d/input.cpp +128 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/functions.cpp.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/functions.cpp.d/expected.tags +31 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/functions.cpp.d/input.cpp +85 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/ignoring-macro-with-parameters.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/ignoring-macro-with-parameters.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/ignoring-macro-with-parameters.d/input.hxx +5 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/iostream.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/iostream.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/iostream.d/input.cpp +7 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/less-than-operator-between-anglebrackets.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/less-than-operator-between-anglebrackets.d/expected.tags +13 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/less-than-operator-between-anglebrackets.d/input.cpp +16 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/namespace-alias-in-function.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/namespace-alias-in-function.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/namespace-alias-in-function.d/input.cpp +9 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/namespace-and-scope.b/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/namespace-and-scope.b/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/namespace-and-scope.b/input.cpp +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/namespace.cpp.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/namespace.cpp.d/expected.tags +30 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/namespace.cpp.d/input.cpp +55 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/new-delete.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/new-delete.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/new-delete.d/input.cpp +9 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/operators.cpp.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/operators.cpp.d/expected.tags +25 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/operators.cpp.d/input.cpp +105 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/pointer-to-array.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/pointer-to-array.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/pointer-to-array.d/input.c +20 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/properties.cpp.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/properties.cpp.d/expected.tags +22 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/properties.cpp.d/input.cpp +44 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/rojas.h.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/rojas.h.d/expected.tags +6 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/rojas.h.d/input.h +20 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/signature.cpp.d/README +5 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/signature.cpp.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/signature.cpp.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/signature.cpp.d/input.cpp +10 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/template-specializations.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/template-specializations.d/expected.tags +14 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/template-specializations.d/input.cpp +39 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/templates-in-labmdas-1.cpp.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/templates-in-labmdas-1.cpp.d/expected.tags +10 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/templates-in-labmdas-1.cpp.d/input.cpp +31 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/templates-in-labmdas-2.cpp.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/templates-in-labmdas-2.cpp.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/templates-in-labmdas-2.cpp.d/input.cpp +16 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/templates.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/templates.d/expected.tags +14 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/templates.d/input.cpp +22 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/templates2.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/templates2.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/templates2.d/input.cpp +27 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/templates3.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/templates3.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/templates3.d/input.cpp +13 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/typedefs.cpp.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/typedefs.cpp.d/expected.tags +41 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/typedefs.cpp.d/input.cpp +72 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/using.cpp.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/using.cpp.d/expected.tags +9 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/using.cpp.d/input.cpp +18 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/variable-declarations.cpp.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/variable-declarations.cpp.d/expected.tags +54 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/variable-declarations.cpp.d/input.cpp +83 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/variables-in-control-statements.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/variables-in-control-statements.d/expected.tags +12 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/variables-in-control-statements.d/input.cpp +109 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/variables-prototypes-2.cpp.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/variables-prototypes-2.cpp.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/variables-prototypes-2.cpp.d/input.cpp +11 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/variables-prototypes.cpp.b/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/variables-prototypes.cpp.b/expected.tags +94 -0
- data/ext/vendor/ctags/Units/parser-cxx.r/variables-prototypes.cpp.b/input.cpp +152 -0
- data/ext/vendor/ctags/Units/parser-d.r/d-accessmod.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-d.r/d-accessmod.d/expected.tags +35 -0
- data/ext/vendor/ctags/Units/parser-d.r/d-accessmod.d/input.d +93 -0
- data/ext/vendor/ctags/Units/parser-d.r/d-size_t-wchar_t-alias.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-d.r/d-size_t-wchar_t-alias.d/input.d +3 -0
- data/ext/vendor/ctags/Units/parser-d.r/simple.d.d/expected.tags +28 -0
- data/ext/vendor/ctags/Units/parser-d.r/simple.d.d/input.d +96 -0
- data/ext/vendor/ctags/Units/parser-dts.r/dts-core-dump.d/input.dts +1 -0
- data/ext/vendor/ctags/Units/parser-dts.r/dts-fq-without-scope-field.d/README +6 -0
- data/ext/vendor/ctags/Units/parser-dts.r/dts-fq-without-scope-field.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-dts.r/dts-fq-without-scope-field.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-dts.r/dts-fq-without-scope-field.d/input.dts +12 -0
- data/ext/vendor/ctags/Units/parser-dts.r/dts-simple.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-dts.r/dts-simple.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-dts.r/dts-simple.d/input.dts +12 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/aliases.e.d/expected.tags +15 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/aliases.e.d/input.e +29 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/attributes.e.d/expected.tags +14 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/attributes.e.d/input.e +54 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/class.e.d/expected.tags +9 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/class.e.d/input.e +72 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/deprecated-syntax.e.d/README +6 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/deprecated-syntax.e.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/deprecated-syntax.e.d/input.e +42 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/functions.e.d/expected.tags +10 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/functions.e.d/input.e +44 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/inherit-rename.e.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/inherit-rename.e.d/input.e +17 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/local-kind.e.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/local-kind.e.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/local-kind.e.d/input.e +13 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/note.e.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/note.e.d/input.e +11 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/obsolete.e.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/obsolete.e.d/input.e +17 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/procedures.e.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/procedures.e.d/input.e +32 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/verbatim.e.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-eiffel.r/verbatim.e.d/input.e +34 -0
- data/ext/vendor/ctags/Units/parser-flex.r/flex_comment.mxml.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/parser-flex.r/flex_comment.mxml.d/input.mxml +5 -0
- data/ext/vendor/ctags/Units/parser-flex.r/flex_only_mxml.mxml.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-flex.r/flex_only_mxml.mxml.d/input.mxml +29 -0
- data/ext/vendor/ctags/Units/parser-flex.r/flex_with_actionscript.mxml.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-flex.r/flex_with_actionscript.mxml.d/input.mxml +16 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/array-spec.f90.d/expected.tags +6 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/array-spec.f90.d/input.f90 +10 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/array_spec.f90.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/array_spec.f90.d/input.f90 +15 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/auto.f.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/auto.f.d/input.f +7 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug565813.f90.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug565813.f90.d/input.f90 +42 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug620288.f.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug620288.f.d/input.f +98 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug629.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug629.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug629.d/input.c +5 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug670433.f90.d/README +1 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug670433.f90.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug670433.f90.d/input.f90 +40 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug726712.f90.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug726712.f90.d/input.f90 +72 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug726875.f90.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug726875.f90.d/input.f90 +28 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug734933.f90.d/expected.tags +16 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug734933.f90.d/input.f90 +39 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug858165.f90.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug858165.f90.d/input.f90 +25 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug877956.f90.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug877956.f90.d/expected.tags-x +4 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/bug877956.f90.d/input.f90 +54 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/byte.f.d/expected.tags +10 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/byte.f.d/input.f +7 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/char-selector.f90.d/expected.tags +10 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/char-selector.f90.d/input.f90 +19 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/common.f.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/common.f.d/input.f +4 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/continuation.f90.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/continuation.f90.d/input.f90 +6 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/debian_432872.f90.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/debian_432872.f90.d/input.f90 +8 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/dopbl2.f.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/dopbl2.f.d/input.f +227 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-abstract-implementation.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-abstract-implementation.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-abstract-implementation.d/input.f90 +4 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-abstract-interface.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-abstract-interface.d/expected.tags +9 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-abstract-interface.d/input.f90 +21 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-associate.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-associate.d/input.f90 +20 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-bind-c.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-bind-c.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-bind-c.d/input.f90 +25 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-block.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-block.d/input.f90 +19 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-enum.d/expected.tags +45 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-enum.d/input.f90 +52 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-extends-qualifier.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-extends-qualifier.d/expected.tags +9 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-extends-qualifier.d/input.f90 +12 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-forall.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-forall.d/input.f90 +26 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-interface.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-interface.d/expected.tags +9 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-interface.d/input.f90 +33 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-method.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-method.d/expected.tags +10 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-method.d/input.f90 +13 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-pointer.d/expected.tags +12 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-pointer.d/input.f90 +32 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-procedure-qualifiers.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-procedure-qualifiers.d/input.f90 +10 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-procedure.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-procedure.d/input.f90 +19 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-signature.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-signature.d/expected.tags +9 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-signature.d/input.f90 +25 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-square-parens.d/expected.tags +14 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/fortran-square-parens.d/input.f90 +39 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/implied_program.f.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/implied_program.f.d/input.f +6 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/initialization.f90.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/initialization.f90.d/input.f90 +16 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/invalid_name.f90.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/invalid_name.f90.d/input.f90 +12 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/lanus.for.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/lanus.for.d/input.for +47 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/misc_types.f.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/misc_types.f.d/input.f +32 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/misc_types.f90.d/expected.tags +16 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/misc_types.f90.d/input.f90 +43 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/namelist.f.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/namelist.f.d/input.f +4 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/numlib.f90.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/numlib.f90.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/numlib.f90.d/input.f90 +57 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/pure_elem.f95.d/README +1 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/pure_elem.f95.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/pure_elem.f95.d/input.f95 +37 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/recursive.f95.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/recursive.f95.d/expected.tags +14 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/recursive.f95.d/input.f95 +68 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/semicolon.f90.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/semicolon.f90.d/input.f90 +5 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/stdcall.f.d/expected.tags +30 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/stdcall.f.d/input.f +178 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/structure.f.d/expected.tags +23 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/structure.f.d/input.f +29 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/union.f.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/union.f.d/input.f +21 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/value.f.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-fortran.r/value.f.d/input.f +9 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-funcs.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-funcs.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-funcs.d/input.go +25 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-goroutines.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-goroutines.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-goroutines.d/input.go +41 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-helloworld.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-helloworld.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-helloworld.d/input.go +10 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-incomplete-input.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-incomplete-input.d/input.go +1 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-op-less-than.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-op-less-than.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-op-less-than.d/input.go +15 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-timeouts.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-timeouts.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-timeouts.d/input.go +54 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-torture.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-torture.d/expected.tags +38 -0
- data/ext/vendor/ctags/Units/parser-go.r/go-torture.d/input.go +50 -0
- data/ext/vendor/ctags/Units/parser-html.r/simple.html.t/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-html.r/simple.html.t/expected.tags +16 -0
- data/ext/vendor/ctags/Units/parser-html.r/simple.html.t/features +1 -0
- data/ext/vendor/ctags/Units/parser-html.r/simple.html.t/input.html +59 -0
- data/ext/vendor/ctags/Units/parser-java.r/accented-latin1-identifiers.java.d/README +10 -0
- data/ext/vendor/ctags/Units/parser-java.r/accented-latin1-identifiers.java.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-java.r/accented-latin1-identifiers.java.d/input.java +4 -0
- data/ext/vendor/ctags/Units/parser-java.r/bug1447756.java.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-java.r/bug1447756.java.d/input.java +9 -0
- data/ext/vendor/ctags/Units/parser-java.r/bug1691412.java.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-java.r/bug1691412.java.d/input.java +17 -0
- data/ext/vendor/ctags/Units/parser-java.r/bug1777340.java.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-java.r/bug1777340.java.d/input.java +4 -0
- data/ext/vendor/ctags/Units/parser-java.r/bug1777344.java.b/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-java.r/bug1777344.java.b/input.java +7 -0
- data/ext/vendor/ctags/Units/parser-java.r/bug2049723.java.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-java.r/bug2049723.java.d/input.java +6 -0
- data/ext/vendor/ctags/Units/parser-java.r/bug2117073.java.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-java.r/bug2117073.java.d/input.java +12 -0
- data/ext/vendor/ctags/Units/parser-java.r/bug814263.java.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-java.r/bug814263.java.d/input.java +6 -0
- data/ext/vendor/ctags/Units/parser-java.r/enum.java.d/expected.tags +14 -0
- data/ext/vendor/ctags/Units/parser-java.r/enum.java.d/input.java +23 -0
- data/ext/vendor/ctags/Units/parser-java.r/imported-role.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-java.r/imported-role.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-java.r/imported-role.d/input.java +3 -0
- data/ext/vendor/ctags/Units/parser-java.r/infinite_loop.java.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-java.r/infinite_loop.java.d/input.java +2 -0
- data/ext/vendor/ctags/Units/parser-java.r/java-catch-block.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-java.r/java-catch-block.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-java.r/java-catch-block.d/input.java +7 -0
- data/ext/vendor/ctags/Units/parser-java.r/java_enum.java.d/expected.tags +10 -0
- data/ext/vendor/ctags/Units/parser-java.r/java_enum.java.d/input.java +15 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/1795612.js.d/README +2 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/1795612.js.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/1795612.js.d/input.js +29 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/1850914.js.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/1850914.js.d/input.js +24 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/1878155.js.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/1878155.js.d/input.js +19 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/1880687.js.d/expected.tags +41 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/1880687.js.d/input.js +242 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/2023624.js.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/2023624.js.d/input.js +15 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/3470609.js.d/expected.tags +12 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/3470609.js.d/input.js +48 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/bug1950327.js.d/expected.tags +13 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/bug1950327.js.d/input.js +41 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/bug2777310.js.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/bug2777310.js.d/input.js +6 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/bug2888482.js.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/bug2888482.js.d/input.js +12 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/bug3036476.js.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/bug3036476.js.d/input.js +20 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/bug3571233.js.d/expected.tags +10 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/bug3571233.js.d/input.js +56 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/generators.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/generators.d/input.js +27 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-arraylist.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-arraylist.d/input.js +20 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-broken-strings.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-broken-strings.d/input.js +10 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-class-related-unterminated.d/expected.tags +15 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-class-related-unterminated.d/input.js +62 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-comma-at-end-of-object.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-comma-at-end-of-object.d/input.js +11 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-complex-return.d/expected.tags +17 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-complex-return.d/input.js +61 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-const.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-const.d/input.js +10 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-function-in-arglist.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-function-in-arglist.d/input.js +8 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-implicit-semicolons.d/expected.tags +14 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-implicit-semicolons.d/input.js +16 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-let.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-let.d/input.js +8 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-methods.b/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-methods.b/input.js +9 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-multiple-vars.d/expected.tags +23 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-multiple-vars.d/input.js +25 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-null-tag-for-broken-input0.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-null-tag-for-broken-input0.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-null-tag-for-broken-input0.d/input.js +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-null-tag-for-broken-input1.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-null-tag-for-broken-input1.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-null-tag-for-broken-input1.d/input.js +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-null-tag-for-broken-input2.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-null-tag-for-broken-input2.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-null-tag-for-broken-input2.d/input.js +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-null-tag-for-broken-input3.d/README +7 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-null-tag-for-broken-input3.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-null-tag-for-broken-input3.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-null-tag-for-broken-input3.d/input.js +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-null-tag-for-broken-input4.d/README +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-null-tag-for-broken-input4.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-null-tag-for-broken-input4.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-null-tag-for-broken-input4.d/input.js +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-parenthesis-rvalue.d/expected.tags +22 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-parenthesis-rvalue.d/input.js +35 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-scope.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-scope.d/input.js +18 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-shebang-gjs.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-shebang-gjs.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-shebang-gjs.d/input.nolang +3 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-shebang-node.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-shebang-node.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-shebang-node.d/input.nolang +3 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-shebang-nodejs.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-shebang-nodejs.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-shebang-nodejs.d/input.nolang +3 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-shebang-seed.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-shebang-seed.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-shebang-seed.d/input.nolang +3 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-shebang.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-shebang.d/input.js +3 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-signature.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-signature.d/expected.tags +9 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-signature.d/input.js +38 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-string-continuation.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-string-continuation.d/input.js +19 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-sub-block-scope.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-sub-block-scope.d/input.js +17 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-template-strings.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-template-strings.d/input.js +27 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-tricky-newlines.d/expected.tags +6 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-tricky-newlines.d/input.js +8 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-two-vars.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-two-vars.d/input.js +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-unknown-construct-nesting.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-unknown-construct-nesting.d/input.js +23 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-unterminated-leak.d/input.js +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-var-at-eof.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/js-var-at-eof.d/input.js +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/jsFunc_tutorial.js.d/expected.tags +73 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/jsFunc_tutorial.js.d/input.js +524 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/no_terminator.js.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/no_terminator.js.d/input.js +32 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/regexp.js.d/expected.tags +16 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/regexp.js.d/input.js +49 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/secondary_fcn_name.js.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/secondary_fcn_name.js.d/input.js +40 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/simple-jsx.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/simple-jsx.d/input.jsx +7 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/ui5.controller.js.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-javascript.r/ui5.controller.js.d/input.js +31 -0
- data/ext/vendor/ctags/Units/parser-lua.r/lua-double-equals.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/parser-lua.r/lua-double-equals.d/input.lua +7 -0
- data/ext/vendor/ctags/Units/parser-lua.r/lua-equal-after-function.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/parser-lua.r/lua-equal-after-function.d/input.lua +3 -0
- data/ext/vendor/ctags/Units/parser-lua.r/lua-skip-whitespaces-in-name.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-lua.r/lua-skip-whitespaces-in-name.d/input.lua +44 -0
- data/ext/vendor/ctags/Units/parser-lua.r/simple.lua.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-lua.r/simple.lua.d/input.lua +20 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-comment.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-comment.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-comment.d/input.m4 +3 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-disable-m4.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-disable-m4.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-disable-m4.d/input.m4 +10 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-multi-undef.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-multi-undef.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-multi-undef.d/input.m4 +1 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-quotestring.b/DESC.rst +12 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-quotestring.b/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-quotestring.b/input.m4 +4 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-simple.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-simple.d/expected.tags +50 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-simple.d/input.m4 +111 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-switch-lang-by-ac.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-switch-lang-by-ac.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-switch-lang-by-ac.d/input.m4 +10 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-switch-lang-by-m4.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-switch-lang-by-m4.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-m4.r/m4-switch-lang-by-m4.d/input.m4 +3 -0
- data/ext/vendor/ctags/Units/parser-make.r/bug2959889.mak.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/parser-make.r/bug2959889.mak.d/input.mak +1 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.comment-in-rule.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.comment-in-rule.d/input.mak +17 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.continuation.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.continuation.d/input.mak +11 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.gnumake-not-special-targets.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.gnumake-not-special-targets.d/input.mak +5 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.gnumake-pattern-rules.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.gnumake-pattern-rules.d/input.mak +8 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.include.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.include.d/expected.tags +22 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.include.d/input.mk +21 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.multi-target.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.multi-target.d/input.mak +8 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.parenthesis.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.parenthesis.d/input.mk +6 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.target-with-parentheses.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.target-with-parentheses.d/input.mak +1 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.variable-on-cmdline.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.variable-on-cmdline.d/input.mak +2 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.variable-set-if-undefined.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-make.r/make.variable-set-if-undefined.d/input.mak +1 -0
- data/ext/vendor/ctags/Units/parser-man.r/double-quoted.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-man.r/double-quoted.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-man.r/double-quoted.d/input.1 +7 -0
- data/ext/vendor/ctags/Units/parser-man.r/simple.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-man.r/simple.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-man.r/simple.d/input.1 +22 -0
- data/ext/vendor/ctags/Units/parser-myrddin.r/simple.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-myrddin.r/simple.d/input.myr +14 -0
- data/ext/vendor/ctags/Units/parser-objectivec.r/objc.m.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-objectivec.r/objc.m.d/input.m +6 -0
- data/ext/vendor/ctags/Units/parser-objectivec.r/objectivec_implementation.m.d/args.ctags +0 -0
- data/ext/vendor/ctags/Units/parser-objectivec.r/objectivec_implementation.m.d/expected.tags +13 -0
- data/ext/vendor/ctags/Units/parser-objectivec.r/objectivec_implementation.m.d/input.m +125 -0
- data/ext/vendor/ctags/Units/parser-objectivec.r/objectivec_interface.h.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-objectivec.r/objectivec_interface.h.d/expected.tags +23 -0
- data/ext/vendor/ctags/Units/parser-objectivec.r/objectivec_interface.h.d/input.h +64 -0
- data/ext/vendor/ctags/Units/parser-objectivec.r/objectivec_property.h.d/args.ctags +0 -0
- data/ext/vendor/ctags/Units/parser-objectivec.r/objectivec_property.h.d/expected.tags +6 -0
- data/ext/vendor/ctags/Units/parser-objectivec.r/objectivec_property.h.d/input.h +13 -0
- data/ext/vendor/ctags/Units/parser-objectivec.r/objectivec_protocol.h.d/args.ctags +0 -0
- data/ext/vendor/ctags/Units/parser-objectivec.r/objectivec_protocol.h.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-objectivec.r/objectivec_protocol.h.d/input.h +6 -0
- data/ext/vendor/ctags/Units/parser-perl.r/bug612621.pl.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-perl.r/bug612621.pl.d/input.pl +57 -0
- data/ext/vendor/ctags/Units/parser-perl.r/bug842077.pl.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-perl.r/bug842077.pl.d/input.pl +33 -0
- data/ext/vendor/ctags/Units/parser-perl.r/format.pl.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-perl.r/format.pl.d/input.pl +15 -0
- data/ext/vendor/ctags/Units/parser-perl.r/package.pm.d/expected.tags +9 -0
- data/ext/vendor/ctags/Units/parser-perl.r/package.pm.d/input.pm +57 -0
- data/ext/vendor/ctags/Units/parser-perl.r/perl-autoloader.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-perl.r/perl-autoloader.d/input.pm +14 -0
- data/ext/vendor/ctags/Units/parser-perl.r/perl-selfloader.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-perl.r/perl-selfloader.d/input.pm +14 -0
- data/ext/vendor/ctags/Units/parser-perl.r/perl-two-line-package.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-perl.r/perl-two-line-package.d/expected.tags +6 -0
- data/ext/vendor/ctags/Units/parser-perl.r/perl-two-line-package.d/input.pm +16 -0
- data/ext/vendor/ctags/Units/parser-perl.r/simple.pl.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-perl.r/simple.pl.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-perl.r/simple.pl.d/input.pl +21 -0
- data/ext/vendor/ctags/Units/parser-perl6.r/perl6-bunch1.d/expected.tags +45 -0
- data/ext/vendor/ctags/Units/parser-perl6.r/perl6-bunch1.d/input.pm +120 -0
- data/ext/vendor/ctags/Units/parser-perl6.r/perl6-bunch2.d/expected.tags +89 -0
- data/ext/vendor/ctags/Units/parser-perl6.r/perl6-bunch2.d/input.pm +956 -0
- data/ext/vendor/ctags/Units/parser-perl6.r/perl6-package.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-perl6.r/perl6-package.d/input.pm +6 -0
- data/ext/vendor/ctags/Units/parser-php.r/anonymous_functions.php.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-php.r/anonymous_functions.php.d/input.php +47 -0
- data/ext/vendor/ctags/Units/parser-php.r/bug681824.php.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-php.r/bug681824.php.d/input.php +32 -0
- data/ext/vendor/ctags/Units/parser-php.r/classes.php.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-php.r/classes.php.d/input.php +38 -0
- data/ext/vendor/ctags/Units/parser-php.r/mode.php.d/expected.tags +10 -0
- data/ext/vendor/ctags/Units/parser-php.r/mode.php.d/input.php +125 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-anonymous-classes.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-anonymous-classes.d/expected.tags +14 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-anonymous-classes.d/input.php +26 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-anonymous_functions.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-anonymous_functions.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-anonymous_functions.d/input.php +31 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-bug681824.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-bug681824.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-bug681824.d/input.php +32 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-case_sensitivity.d/expected.tags +16 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-case_sensitivity.d/input.php +40 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-classes.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-classes.d/expected.tags +15 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-classes.d/input.php +69 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-full-qualified-tags.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-full-qualified-tags.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-full-qualified-tags.d/input.php +10 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-mode.d/expected.tags +10 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-mode.d/input.php +125 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-namespaces.d/expected.tags +13 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-namespaces.d/input.php +73 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-namespaces2.d/expected.tags +11 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-namespaces2.d/input.php +60 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-php5_5_class_kw.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-php5_5_class_kw.d/input.php +19 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-return-type-declaration.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-return-type-declaration.d/expected.tags +14 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-return-type-declaration.d/input.php +59 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-semi-reserved-keywords.d/expected.tags +15 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-semi-reserved-keywords.d/input.php +26 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-simple.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-simple.d/expected.tags +11 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-simple.d/input.php +49 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-strings.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-strings.d/input.php +24 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-traits.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-traits.d/expected.tags +10 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-traits.d/input.php +54 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-use.d/expected.tags +35 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-use.d/input.php +74 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-whitespaces.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-php.r/php-whitespaces.d/input.php +34 -0
- data/ext/vendor/ctags/Units/parser-php.r/simple.php.d/expected.tags +11 -0
- data/ext/vendor/ctags/Units/parser-php.r/simple.php.d/input.php +49 -0
- data/ext/vendor/ctags/Units/parser-php.r/traits.php.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-php.r/traits.php.d/input.php +47 -0
- data/ext/vendor/ctags/Units/parser-php.r/whitespaces.php.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-php.r/whitespaces.php.d/input.php +48 -0
- data/ext/vendor/ctags/Units/parser-python.r/blanks.d/expected.tags +10 -0
- data/ext/vendor/ctags/Units/parser-python.r/blanks.d/input.py +25 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug1764148.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug1764148.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug1764148.d/input.bug1764148 +2 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug1809024.py.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug1809024.py.d/input.py +10 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug1856363.py.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug1856363.py.d/input.py +9 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug1906062.py.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug1906062.py.d/input.py +4 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug1988026.py.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug1988026.py.d/input.py +9 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug1988027.py.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug1988027.py.d/input.py +9 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug1988130.py.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug1988130.py.d/input.py +7 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug2075402.py.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug2075402.py.d/input.py +2 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug3168705.py.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug3168705.py.d/input.py +9 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug699171.py.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-python.r/bug699171.py.d/input.py +8 -0
- data/ext/vendor/ctags/Units/parser-python.r/cython-external.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/cython-external.d/input.pyx +9 -0
- data/ext/vendor/ctags/Units/parser-python.r/cython_sample.pyx.d/expected.tags +14 -0
- data/ext/vendor/ctags/Units/parser-python.r/cython_sample.pyx.d/input.pyx +49 -0
- data/ext/vendor/ctags/Units/parser-python.r/cython_sample2.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-python.r/cython_sample2.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-python.r/cython_sample2.d/input.pyx +11 -0
- data/ext/vendor/ctags/Units/parser-python.r/dotted-variable-leftovers.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-python.r/dotted-variable-leftovers.d/input.py +8 -0
- data/ext/vendor/ctags/Units/parser-python.r/multiline-arglist.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-python.r/multiline-arglist.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-python.r/multiline-arglist.d/input.py +30 -0
- data/ext/vendor/ctags/Units/parser-python.r/multiline-class-def.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-python.r/multiline-class-def.d/input.py +6 -0
- data/ext/vendor/ctags/Units/parser-python.r/multiline-def.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-python.r/multiline-def.d/input.py +6 -0
- data/ext/vendor/ctags/Units/parser-python.r/nested-parenthesis.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-python.r/nested-parenthesis.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-python.r/nested-parenthesis.d/input.py +16 -0
- data/ext/vendor/ctags/Units/parser-python.r/newlines-cr.b/README +2 -0
- data/ext/vendor/ctags/Units/parser-python.r/newlines-cr.b/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-python.r/newlines-cr.b/input.py +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/newlines-crlf.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-python.r/newlines-crlf.d/input.py +13 -0
- data/ext/vendor/ctags/Units/parser-python.r/py-skipped-string.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-python.r/py-skipped-string.d/input.py +30 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-access.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-access.d/expected.tags +18 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-access.d/input.py +45 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-anonymous-nestlevel_ctags-bug-356.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-anonymous-nestlevel_ctags-bug-356.d/input.py +6 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-arguments.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-arguments.d/expected.tags +74 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-arguments.d/input.py +52 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-comments.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-comments.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-comments.d/input.py +8 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-decorators.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-decorators.d/expected.tags +14 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-decorators.d/input.py +50 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-disable-member-kind.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-disable-member-kind.d/input.py +6 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-dot-in-import.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-dot-in-import.d/expected.tags +12 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-dot-in-import.d/input.py +7 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-dotted-variable.d/README +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-dotted-variable.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-dotted-variable.d/input.py +9 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-end-field.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-end-field.d/expected.tags +12 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-end-field.d/input.py +18 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-fullqualified-tags.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-fullqualified-tags.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-fullqualified-tags.d/input.py +6 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-geany-bug-612.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-geany-bug-612.d/input.py +28 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-import.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-import.d/expected.tags +43 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-import.d/input.py +13 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-keyword-tabulation.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-keyword-tabulation.d/input.py +6 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-local-lambdas.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-local-lambdas.d/input.py +11 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-local-variables.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-local-variables.d/expected.tags +15 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-local-variables.d/input.py +23 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-multivar-no-declaration.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-multivar-no-declaration.d/input.py +3 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-multivar-statement-with-lambdas.d/expected.tags +25 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-multivar-statement-with-lambdas.d/input.py +45 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-multivar-statement.d/expected.tags +6 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-multivar-statement.d/input.py +3 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-semicolon.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-python.r/python-semicolon.d/input.py +17 -0
- data/ext/vendor/ctags/Units/parser-python.r/python2-arglists.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/python2-arglists.d/expected.tags +31 -0
- data/ext/vendor/ctags/Units/parser-python.r/python2-arglists.d/input.py +53 -0
- data/ext/vendor/ctags/Units/parser-python.r/python3-arglists.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/python3-arglists.d/expected.tags +30 -0
- data/ext/vendor/ctags/Units/parser-python.r/python3-arglists.d/input.py +54 -0
- data/ext/vendor/ctags/Units/parser-python.r/python3-function-annotations.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/python3-function-annotations.d/expected.tags +13 -0
- data/ext/vendor/ctags/Units/parser-python.r/python3-function-annotations.d/input.py +22 -0
- data/ext/vendor/ctags/Units/parser-python.r/simple.py.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-python.r/simple.py.d/expected.tags +45 -0
- data/ext/vendor/ctags/Units/parser-python.r/simple.py.d/input.py +60 -0
- data/ext/vendor/ctags/Units/parser-python.r/strings.d/expected.tags +31 -0
- data/ext/vendor/ctags/Units/parser-python.r/strings.d/input.py +37 -0
- data/ext/vendor/ctags/Units/parser-python.r/tabindent.py.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/tabindent.py.d/input.py +3 -0
- data/ext/vendor/ctags/Units/parser-python.r/test.py.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-python.r/test.py.d/input.py +10 -0
- data/ext/vendor/ctags/Units/parser-python.r/toplevel-funcall-with-keyword-args.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-python.r/toplevel-funcall-with-keyword-args.d/input.py +6 -0
- data/ext/vendor/ctags/Units/parser-python.r/triple-quotes-after-def.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-python.r/triple-quotes-after-def.d/input.py +4 -0
- data/ext/vendor/ctags/Units/parser-python.r/triple-quotes-in-class.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-python.r/triple-quotes-in-class.d/input.py +8 -0
- data/ext/vendor/ctags/Units/parser-python.r/triple-quotes-in-default-arg.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-python.r/triple-quotes-in-default-arg.d/input.py +5 -0
- data/ext/vendor/ctags/Units/parser-python.r/triple-quotes-in-list.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-python.r/triple-quotes-in-list.d/input.py +10 -0
- data/ext/vendor/ctags/Units/parser-python.r/triple-quotes.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-python.r/triple-quotes.d/input.py +12 -0
- data/ext/vendor/ctags/Units/parser-r.r/r-extended.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-r.r/r-extended.d/input.r +11 -0
- data/ext/vendor/ctags/Units/parser-r.r/r-simple.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-r.r/r-simple.d/input.r +7 -0
- data/ext/vendor/ctags/Units/parser-r.r/r-uppercase-extension.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-r.r/r-uppercase-extension.d/input.R +7 -0
- data/ext/vendor/ctags/Units/parser-relaxng.r/element.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-relaxng.r/element.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-relaxng.r/element.d/features +1 -0
- data/ext/vendor/ctags/Units/parser-relaxng.r/element.d/input.rng +14 -0
- data/ext/vendor/ctags/Units/parser-relaxng.r/grammar.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-relaxng.r/grammar.d/expected.tags +40 -0
- data/ext/vendor/ctags/Units/parser-relaxng.r/grammar.d/features +1 -0
- data/ext/vendor/ctags/Units/parser-relaxng.r/grammar.d/input.rng +264 -0
- data/ext/vendor/ctags/Units/parser-restructuredtext.r/iso8859-1-restructuredtext.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-restructuredtext.r/iso8859-1-restructuredtext.d/input.rst +17 -0
- data/ext/vendor/ctags/Units/parser-restructuredtext.r/simple-restructuredtext.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-restructuredtext.r/simple-restructuredtext.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-restructuredtext.r/simple-restructuredtext.d/input.rst +39 -0
- data/ext/vendor/ctags/Units/parser-restructuredtext.r/utf8-restructuredtext.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-restructuredtext.r/utf8-restructuredtext.d/input.rst +17 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/bug1742588.rb.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/bug1742588.rb.d/input.rb +7 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-block-call.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-block-call.d/input.rb +10 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-class-method-in-lt-lt-self.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-class-method-in-lt-lt-self.d/input.rb +6 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-doc.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-doc.d/input.rb +22 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-geany-sf-bug-302.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-geany-sf-bug-302.d/input.rb +14 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-geany-sf-bug-542.d/expected.tags +12 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-geany-sf-bug-542.d/input.rb +101 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-kind-option.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-kind-option.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-kind-option.d/input.rb +5 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-namespaced-class.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-namespaced-class.d/input.rb +8 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-scope-after-anonymous-class.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-scope-after-anonymous-class.d/input.rb +10 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-sf-bug-364.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/ruby-sf-bug-364.d/input.rb +16 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/simple.rb.d/expected.tags +9 -0
- data/ext/vendor/ctags/Units/parser-ruby.r/simple.rb.d/input.rb +29 -0
- data/ext/vendor/ctags/Units/parser-rust.r/rust-simple.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-rust.r/rust-simple.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-rust.r/rust-simple.d/features +1 -0
- data/ext/vendor/ctags/Units/parser-rust.r/rust-simple.d/input.rs +17 -0
- data/ext/vendor/ctags/Units/parser-rust.r/rust-test_input.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-rust.r/rust-test_input.d/expected.tags +59 -0
- data/ext/vendor/ctags/Units/parser-rust.r/rust-test_input.d/input.rs +189 -0
- data/ext/vendor/ctags/Units/parser-rust.r/rust-test_input2.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-rust.r/rust-test_input2.d/expected.tags +20 -0
- data/ext/vendor/ctags/Units/parser-rust.r/rust-test_input2.d/input.rs +46 -0
- data/ext/vendor/ctags/Units/parser-scheme.r/scheme-simple-define.d/expected.tags +33 -0
- data/ext/vendor/ctags/Units/parser-scheme.r/scheme-simple-define.d/input.scm +83 -0
- data/ext/vendor/ctags/Units/parser-scheme.r/scheme-simple-setbang.d/expected.tags +16 -0
- data/ext/vendor/ctags/Units/parser-scheme.r/scheme-simple-setbang.d/input.scm +29 -0
- data/ext/vendor/ctags/Units/parser-scheme.r/scheme-srfi-30-comment.b/expected.tags +0 -0
- data/ext/vendor/ctags/Units/parser-scheme.r/scheme-srfi-30-comment.b/input.scm +4 -0
- data/ext/vendor/ctags/Units/parser-scheme.r/scheme-string.b/expected.tags +0 -0
- data/ext/vendor/ctags/Units/parser-scheme.r/scheme-string.b/input.scm +4 -0
- data/ext/vendor/ctags/Units/parser-sh.r/function-identifiers-bash.d/expected.tags +113 -0
- data/ext/vendor/ctags/Units/parser-sh.r/function-identifiers-bash.d/input.bash +398 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-alias.d/expected.tags +11 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-alias.d/input.sh +11 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-comments.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-comments.d/input.sh +7 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-heredoc-broken.d/input.sh +1 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-heredoc-broken2.d/input.sh +1 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-heredoc-checks.d/expected.tags +17 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-heredoc-checks.d/input.sh +90 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-heredoc.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-heredoc.d/input.sh +5 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-herestring.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-herestring.d/input.sh +11 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-modeline-1-emacs-shell-script.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-modeline-1-emacs-shell-script.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-modeline-1-emacs-shell-script.d/input.nolang +5 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-modeline-2-emacs-shell-script.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-modeline-2-emacs-shell-script.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-modeline-2-emacs-shell-script.d/input.nolang +5 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-modeline-at-eof-emacs-shell-script.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-modeline-at-eof-emacs-shell-script.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-modeline-at-eof-emacs-shell-script.d/input.nolang +7 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-quoted-func.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-quoted-func.d/input.sh +1 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-quotes.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-quotes.d/input.sh +6 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-source.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-source.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-source.d/input.sh +24 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-spaces-in-funcdef.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-spaces-in-funcdef.d/input.sh +9 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-statements.d/expected.tags +15 -0
- data/ext/vendor/ctags/Units/parser-sh.r/sh-statements.d/input.sh +23 -0
- data/ext/vendor/ctags/Units/parser-sh.r/simple.ksh.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-sh.r/simple.ksh.d/input.ksh +7 -0
- data/ext/vendor/ctags/Units/parser-sh.r/simple.sh.d/README +1 -0
- data/ext/vendor/ctags/Units/parser-sh.r/simple.sh.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-sh.r/simple.sh.d/input.sh +10 -0
- data/ext/vendor/ctags/Units/parser-sql.r/partial.d/input.sql +1 -0
- data/ext/vendor/ctags/Units/parser-sql.r/sql_pgSQL_empty_decl.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-sql.r/sql_pgSQL_empty_decl.d/input.sql +14 -0
- data/ext/vendor/ctags/Units/parser-tcl.r/simple.tcl.d/expected.tags +6 -0
- data/ext/vendor/ctags/Units/parser-tcl.r/simple.tcl.d/input.tcl +10 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-altstep.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-altstep.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-altstep.d/input.ttcn +24 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-comments.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-comments.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-comments.d/input.ttcn +21 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-component.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-component.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-component.d/input.ttcn +22 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-constants.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-constants.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-constants.d/input.ttcn +9 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-enum.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-enum.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-enum.d/input.ttcn +6 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-function.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-function.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-function.d/input.ttcn +24 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-group.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-group.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-group.d/input.ttcn +5 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-module.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-module.d/expected.tags +6 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-module.d/input.ttcn +16 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-numbers.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-numbers.d/expected.tags +12 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-numbers.d/input.ttcn +13 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-signature.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-signature.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-signature.d/input.ttcn +3 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-strings.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-strings.d/expected.tags +15 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-strings.d/input.ttcn +15 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-template.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-template.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-template.d/input.ttcn +32 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-testcase.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-testcase.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-testcase.d/input.ttcn +13 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-timer.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-timer.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-timer.d/input.ttcn +18 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-types.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-types.d/expected.tags +22 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-types.d/input.ttcn +32 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-variables.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-variables.d/expected.tags +13 -0
- data/ext/vendor/ctags/Units/parser-ttcn.r/ttcn-variables.d/input.ttcn +19 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-assertion.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-assertion.d/expected.tags +32 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-assertion.d/input.sv +25 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-basic.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-basic.d/expected.tags +89 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-basic.d/input.sv +83 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-class.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-class.d/expected.tags +60 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-class.d/input.sv +45 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-covergroup.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-covergroup.d/expected.tags +20 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-covergroup.d/input.sv +13 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-github646.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-github646.d/input.sv +1 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-interface.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-interface.d/expected.tags +30 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-interface.d/input.sv +24 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-nocontext.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-nocontext.d/expected.tags +36 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-nocontext.d/input.sv +44 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-package.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-package.d/expected.tags +16 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-package.d/input.sv +14 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-program.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-program.d/expected.tags +35 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-program.d/input.sv +51 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-qualifiers.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-qualifiers.d/expected.tags +70 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-qualifiers.d/input.sv +36 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-typedef.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-typedef.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/systemverilog-typedef.d/input.sv +15 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-2001.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-2001.d/expected.tags +64 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-2001.d/input.v +51 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-basic.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-basic.d/expected.tags +72 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-basic.d/input.v +64 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-github624.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-github624.d/input.v +1 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-memleak.d/expected.tags +22 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-memleak.d/input.v +28 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-nocontext.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-nocontext.d/expected.tags +33 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-nocontext.d/input.v +45 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-sf_bug108_1.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-sf_bug108_1.d/input.v +17 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-sf_bug108_2.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-sf_bug108_2.d/input.v +8 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-sf_bug174.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-sf_bug174.d/input.v +5 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-sf_bug73_1.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-sf_bug73_1.d/input.v +27 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-sf_bug73_2.d/expected.tags +6 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-sf_bug73_2.d/input.v +61 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-sf_bug73_3.d/expected.tags +17 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-sf_bug73_3.d/input.v +49 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-sf_bug98.d/expected.tags +6 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-sf_bug98.d/input.v +53 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-sf_bug99.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-sf_bug99.d/input.v +26 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-sf_patch57.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-verilog.r/verilog-sf_patch57.d/input.v +1 -0
- data/ext/vendor/ctags/Units/parser-vim.r/3214129.vim.d/expected.tags +89 -0
- data/ext/vendor/ctags/Units/parser-vim.r/3214129.vim.d/input.vim +1683 -0
- data/ext/vendor/ctags/Units/parser-vim.r/3548393.vim.d/expected.tags +33 -0
- data/ext/vendor/ctags/Units/parser-vim.r/3548393.vim.d/input.vim +507 -0
- data/ext/vendor/ctags/Units/parser-vim.r/bug3032253.vim.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-vim.r/bug3032253.vim.d/input.vim +5 -0
- data/ext/vendor/ctags/Units/parser-vim.r/bug358.vim.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/parser-vim.r/bug358.vim.d/input.vim +0 -0
- data/ext/vendor/ctags/Units/parser-vim.r/bug359.vim.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/parser-vim.r/bug359.vim.d/input.vim +2 -0
- data/ext/vendor/ctags/Units/parser-vim.r/end-field.vim.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-vim.r/end-field.vim.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-vim.r/end-field.vim.d/input.vim +6 -0
- data/ext/vendor/ctags/Units/parser-vim.r/simple.vim.d/expected.tags +27 -0
- data/ext/vendor/ctags/Units/parser-vim.r/simple.vim.d/input.vim +114 -0
- data/ext/vendor/ctags/Units/parser-vim.r/vim-command-in-function.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-vim.r/vim-command-in-function.d/input.vim +3 -0
- data/ext/vendor/ctags/Units/parser-vim.r/vim-command-not-command.d/README +2 -0
- data/ext/vendor/ctags/Units/parser-vim.r/vim-command-not-command.d/expected.tags +0 -0
- data/ext/vendor/ctags/Units/parser-vim.r/vim-command-not-command.d/input.vim +1 -0
- data/ext/vendor/ctags/Units/parser-vim.r/vim-command.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-vim.r/vim-command.d/input.vim +8 -0
- data/ext/vendor/ctags/Units/parser-vim.r/vim-let-in-function.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-vim.r/vim-let-in-function.d/input.vim +4 -0
- data/ext/vendor/ctags/Units/parser-vim.r/vim-map-special-args.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-vim.r/vim-map-special-args.d/input.vim +1 -0
- data/ext/vendor/ctags/Units/parser-vim.r/vimball.vim.d/expected.tags +1 -0
- data/ext/vendor/ctags/Units/parser-vim.r/vimball.vim.d/input.vba +6 -0
- data/ext/vendor/ctags/Units/parser-xslt.r/xslt-simple.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/parser-xslt.r/xslt-simple.d/expected.tags +25 -0
- data/ext/vendor/ctags/Units/parser-xslt.r/xslt-simple.d/features +1 -0
- data/ext/vendor/ctags/Units/parser-xslt.r/xslt-simple.d/input.xsl +153 -0
- data/ext/vendor/ctags/Units/parser-yacc.r/nested.d/args.ctags +5 -0
- data/ext/vendor/ctags/Units/parser-yacc.r/nested.d/expected.tags +23 -0
- data/ext/vendor/ctags/Units/parser-yacc.r/nested.d/input.y +225 -0
- data/ext/vendor/ctags/Units/parser-yacc.r/not-union.d/README +2 -0
- data/ext/vendor/ctags/Units/parser-yacc.r/not-union.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/parser-yacc.r/not-union.d/expected.tags +16 -0
- data/ext/vendor/ctags/Units/parser-yacc.r/not-union.d/input.y +286 -0
- data/ext/vendor/ctags/Units/parser-yaml.r/yaml-anchor.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/parser-yaml.r/yaml-anchor.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/parser-yaml.r/yaml-anchor.d/features +1 -0
- data/ext/vendor/ctags/Units/parser-yaml.r/yaml-anchor.d/input.yml +2 -0
- data/ext/vendor/ctags/Units/readtags.r/backslash-at-the-end-of-pattern.d/expected.tags +2 -0
- data/ext/vendor/ctags/Units/readtags.r/backslash-at-the-end-of-pattern.d/input.c +18 -0
- data/ext/vendor/ctags/Units/regex-flag-long.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/regex-flag-long.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/regex-flag-long.d/features +1 -0
- data/ext/vendor/ctags/Units/regex-flag-long.d/input.dummy +11 -0
- data/ext/vendor/ctags/Units/regex-flag-simple.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/regex-flag-simple.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/regex-flag-simple.d/features +1 -0
- data/ext/vendor/ctags/Units/regex-flag-simple.d/input.dummy +11 -0
- data/ext/vendor/ctags/Units/regex-with-scope.d/args.ctags +14 -0
- data/ext/vendor/ctags/Units/regex-with-scope.d/expected.tags +21 -0
- data/ext/vendor/ctags/Units/regex-with-scope.d/input.foo +44 -0
- data/ext/vendor/ctags/Units/review-needed.r/3184782.sql.t/expected.tags +5 -0
- data/ext/vendor/ctags/Units/review-needed.r/3184782.sql.t/input.sql +41 -0
- data/ext/vendor/ctags/Units/review-needed.r/3526726.tex.t/expected.tags +139 -0
- data/ext/vendor/ctags/Units/review-needed.r/3526726.tex.t/input.tex +2982 -0
- data/ext/vendor/ctags/Units/review-needed.r/array_ref_and_out.cs.t/expected.tags +5 -0
- data/ext/vendor/ctags/Units/review-needed.r/array_ref_and_out.cs.t/input.cs +33 -0
- data/ext/vendor/ctags/Units/review-needed.r/attributes.cs.t/expected.tags +6 -0
- data/ext/vendor/ctags/Units/review-needed.r/attributes.cs.t/input.cs +22 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1324663.sql.t/expected.tags +0 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1324663.sql.t/input.sql +4 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1428714.sql.t/expected.tags +0 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1428714.sql.t/input.sql +4 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1447756.java.t/expected.tags +2 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1447756.java.t/input.java +9 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1515910.cs.t/expected.tags +9 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1515910.cs.t/input.cs +15 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1570779.sql.t/expected.tags +4 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1570779.sql.t/input.sql +14 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1611054.cs.t/expected.tags +3 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1611054.cs.t/input.cs +8 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1691412.java.t/expected.tags +4 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1691412.java.t/input.java +17 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1777340.java.t/expected.tags +3 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1777340.java.t/input.java +4 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1777344.java.t/expected.tags +6 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1777344.java.t/input.java +7 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1800065.cs.t/expected.tags +3 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1800065.cs.t/input.cs +5 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1830343.cs.t/expected.tags +2 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1830343.cs.t/input.cs +8 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1830344.cs.t/expected.tags +2 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1830344.cs.t/input.cs +10 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1938565.sql.t/expected.tags +3 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1938565.sql.t/input.sql +18 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1944150.sql.t/expected.tags +1 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug1944150.sql.t/input.sql +7 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug2049723.java.t/expected.tags +3 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug2049723.java.t/input.java +6 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug2117073.java.t/expected.tags +3 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug2117073.java.t/input.java +12 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug2374109.vhd.t/expected.tags +1 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug2374109.vhd.t/input.vhd +9 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug2411878.cs.t/expected.tags +2 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug2411878.cs.t/input.cs +3 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug2886870.tex.t/expected.tags +19 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug2886870.tex.t/input.tex +351 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug2961855.sql.t/expected.tags +2 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug2961855.sql.t/input.sql +19 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug612019.pas.t/expected.tags +3 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug612019.pas.t/input.pas +33 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug629115.sql.t/expected.tags +0 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug629115.sql.t/input.sql +5 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug722501.sql.t/expected.tags +1 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug722501.sql.t/input.sql +24 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug814263.java.t/expected.tags +3 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug814263.java.t/input.java +6 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug816636.sml.t/expected.tags +2 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug816636.sml.t/input.sml +26 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug823000.sql.t/expected.tags +3 -0
- data/ext/vendor/ctags/Units/review-needed.r/bug823000.sql.t/input.sql +80 -0
- data/ext/vendor/ctags/Units/review-needed.r/countall.sql.t/expected.tags +8 -0
- data/ext/vendor/ctags/Units/review-needed.r/countall.sql.t/input.sql +43 -0
- data/ext/vendor/ctags/Units/review-needed.r/db-trig.sql.t/expected.tags +2 -0
- data/ext/vendor/ctags/Units/review-needed.r/db-trig.sql.t/input.sql +31 -0
- data/ext/vendor/ctags/Units/review-needed.r/dosbatch_test.cmd.t/expected.tags +8 -0
- data/ext/vendor/ctags/Units/review-needed.r/dosbatch_test.cmd.t/features +1 -0
- data/ext/vendor/ctags/Units/review-needed.r/dosbatch_test.cmd.t/input.cmd +86 -0
- data/ext/vendor/ctags/Units/review-needed.r/enum.java.t/expected.tags +12 -0
- data/ext/vendor/ctags/Units/review-needed.r/enum.java.t/input.java +20 -0
- data/ext/vendor/ctags/Units/review-needed.r/events.cs.t/expected.tags +16 -0
- data/ext/vendor/ctags/Units/review-needed.r/events.cs.t/input.cs +192 -0
- data/ext/vendor/ctags/Units/review-needed.r/flex_override.mxml.t/expected.tags +2 -0
- data/ext/vendor/ctags/Units/review-needed.r/flex_override.mxml.t/input.mxml +20 -0
- data/ext/vendor/ctags/Units/review-needed.r/general.cs.t/expected.tags +14 -0
- data/ext/vendor/ctags/Units/review-needed.r/general.cs.t/input.cs +46 -0
- data/ext/vendor/ctags/Units/review-needed.r/generalized_stack.ads.t/expected.tags +16 -0
- data/ext/vendor/ctags/Units/review-needed.r/generalized_stack.ads.t/input.ads +50 -0
- data/ext/vendor/ctags/Units/review-needed.r/hex2dec.sql.t/expected.tags +2 -0
- data/ext/vendor/ctags/Units/review-needed.r/hex2dec.sql.t/input.sql +50 -0
- data/ext/vendor/ctags/Units/review-needed.r/indexer.cs.t/expected.tags +4 -0
- data/ext/vendor/ctags/Units/review-needed.r/indexer.cs.t/input.cs +37 -0
- data/ext/vendor/ctags/Units/review-needed.r/infinite_loop.java.t/expected.tags +1 -0
- data/ext/vendor/ctags/Units/review-needed.r/infinite_loop.java.t/input.java +2 -0
- data/ext/vendor/ctags/Units/review-needed.r/ingres_procedures.sql.t/expected.tags +6 -0
- data/ext/vendor/ctags/Units/review-needed.r/ingres_procedures.sql.t/input.sql +63 -0
- data/ext/vendor/ctags/Units/review-needed.r/interface_indexers.cs.t/expected.tags +5 -0
- data/ext/vendor/ctags/Units/review-needed.r/interface_indexers.cs.t/input.cs +49 -0
- data/ext/vendor/ctags/Units/review-needed.r/interface_properties.cs.t/expected.tags +12 -0
- data/ext/vendor/ctags/Units/review-needed.r/interface_properties.cs.t/input.cs +64 -0
- data/ext/vendor/ctags/Units/review-needed.r/internal.cs.t/expected.tags +2 -0
- data/ext/vendor/ctags/Units/review-needed.r/internal.cs.t/input.cs +6 -0
- data/ext/vendor/ctags/Units/review-needed.r/intro.tex.t/expected.tags +18 -0
- data/ext/vendor/ctags/Units/review-needed.r/intro.tex.t/input.tex +40 -0
- data/ext/vendor/ctags/Units/review-needed.r/intro_orig.tex.t/expected.tags +18 -0
- data/ext/vendor/ctags/Units/review-needed.r/intro_orig.tex.t/input.tex +346 -0
- data/ext/vendor/ctags/Units/review-needed.r/java_enum.java.t/expected.tags +10 -0
- data/ext/vendor/ctags/Units/review-needed.r/java_enum.java.t/input.java +15 -0
- data/ext/vendor/ctags/Units/review-needed.r/jbrown.vr.t/args.ctags +2 -0
- data/ext/vendor/ctags/Units/review-needed.r/jbrown.vr.t/expected.tags +8 -0
- data/ext/vendor/ctags/Units/review-needed.r/jbrown.vr.t/input.vr +48 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_abstract.cs.t/expected.tags +11 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_abstract.cs.t/input.cs +51 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_catch_try.cs.t/expected.tags +3 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_catch_try.cs.t/input.cs +33 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_class.cs.t/expected.tags +8 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_class.cs.t/input.cs +49 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_const.cs.t/expected.tags +8 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_const.cs.t/input.cs +26 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_delegate.cs.t/expected.tags +11 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_delegate.cs.t/input.cs +57 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_enum.cs.t/expected.tags +13 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_enum.cs.t/input.cs +31 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_event.cs.t/expected.tags +35 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_event.cs.t/input.cs +180 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_explicit.cs.t/expected.tags +6 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_explicit.cs.t/input.cs +27 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_extern.cs.t/expected.tags +3 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_extern.cs.t/input.cs +15 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_implicit.cs.t/expected.tags +6 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_implicit.cs.t/input.cs +30 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_interface.cs.t/expected.tags +12 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_interface.cs.t/input.cs +73 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_namespace.cs.t/expected.tags +8 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_namespace.cs.t/input.cs +31 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_out.cs.t/expected.tags +3 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_out.cs.t/input.cs +17 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_override.cs.t/expected.tags +9 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_override.cs.t/input.cs +44 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_params.cs.t/expected.tags +4 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_params.cs.t/input.cs +28 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_private.cs.t/expected.tags +7 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_private.cs.t/input.cs +25 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_protected.cs.t/expected.tags +5 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_protected.cs.t/input.cs +20 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_public.cs.t/expected.tags +5 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_public.cs.t/input.cs +21 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_sealed.cs.t/expected.tags +5 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_sealed.cs.t/input.cs +19 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_static.cs.t/expected.tags +9 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_static.cs.t/input.cs +47 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_struct.cs.t/expected.tags +6 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_struct.cs.t/input.cs +29 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_virtual.cs.t/expected.tags +18 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_virtual.cs.t/input.cs +72 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_volatile.cs.t/expected.tags +4 -0
- data/ext/vendor/ctags/Units/review-needed.r/keyword_volatile.cs.t/input.cs +14 -0
- data/ext/vendor/ctags/Units/review-needed.r/labels.sql.t/expected.tags +2 -0
- data/ext/vendor/ctags/Units/review-needed.r/labels.sql.t/input.sql +8 -0
- data/ext/vendor/ctags/Units/review-needed.r/matlab_backtracking.m.t/expected.tags +11 -0
- data/ext/vendor/ctags/Units/review-needed.r/matlab_backtracking.m.t/features +1 -0
- data/ext/vendor/ctags/Units/review-needed.r/matlab_backtracking.m.t/input.m +101 -0
- data/ext/vendor/ctags/Units/review-needed.r/matlab_test.m.t/expected.tags +5 -0
- data/ext/vendor/ctags/Units/review-needed.r/matlab_test.m.t/features +1 -0
- data/ext/vendor/ctags/Units/review-needed.r/matlab_test.m.t/input.m +6 -0
- data/ext/vendor/ctags/Units/review-needed.r/maze.erl.t/expected.tags +20 -0
- data/ext/vendor/ctags/Units/review-needed.r/maze.erl.t/input.erl +127 -0
- data/ext/vendor/ctags/Units/review-needed.r/maze.hrl.t/expected.tags +3 -0
- data/ext/vendor/ctags/Units/review-needed.r/maze.hrl.t/input.hrl +42 -0
- data/ext/vendor/ctags/Units/review-needed.r/ocamlAllKinds.ml.t/expected.tags +15 -0
- data/ext/vendor/ctags/Units/review-needed.r/ocamlAllKinds.ml.t/input.ml +33 -0
- data/ext/vendor/ctags/Units/review-needed.r/ocamlCommentInStringAllowed.ml.t/expected.tags +2 -0
- data/ext/vendor/ctags/Units/review-needed.r/ocamlCommentInStringAllowed.ml.t/input.ml +3 -0
- data/ext/vendor/ctags/Units/review-needed.r/ocaml_empty.ml.t/expected.tags +1 -0
- data/ext/vendor/ctags/Units/review-needed.r/ocaml_empty.ml.t/input.ml +0 -0
- data/ext/vendor/ctags/Units/review-needed.r/ocaml_onlystr.ml.t/expected.tags +1 -0
- data/ext/vendor/ctags/Units/review-needed.r/ocaml_onlystr.ml.t/input.ml +2 -0
- data/ext/vendor/ctags/Units/review-needed.r/ocaml_stringTsts.ml.t/expected.tags +2 -0
- data/ext/vendor/ctags/Units/review-needed.r/ocaml_stringTsts.ml.t/input.ml +3 -0
- data/ext/vendor/ctags/Units/review-needed.r/property.cs.t/expected.tags +9 -0
- data/ext/vendor/ctags/Units/review-needed.r/property.cs.t/input.cs +50 -0
- data/ext/vendor/ctags/Units/review-needed.r/random.sql.t/expected.tags +12 -0
- data/ext/vendor/ctags/Units/review-needed.r/random.sql.t/input.sql +100 -0
- data/ext/vendor/ctags/Units/review-needed.r/readlob.sql.t/expected.tags +9 -0
- data/ext/vendor/ctags/Units/review-needed.r/readlob.sql.t/input.sql +39 -0
- data/ext/vendor/ctags/Units/review-needed.r/readlong.sql.t/expected.tags +8 -0
- data/ext/vendor/ctags/Units/review-needed.r/readlong.sql.t/input.sql +41 -0
- data/ext/vendor/ctags/Units/review-needed.r/refcurs.sql.t/expected.tags +7 -0
- data/ext/vendor/ctags/Units/review-needed.r/refcurs.sql.t/input.sql +75 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.asp.t/expected.tags +7 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.asp.t/input.asp +14 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.bas.t/expected.tags +7 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.bas.t/input.bas +22 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.bb.t/expected.tags +6 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.bb.t/input.bb +20 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.cbl.t/expected.tags +18 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.cbl.t/features +1 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.cbl.t/input.cbl +30 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.fal.t/expected.tags +3 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.fal.t/input.fal +36 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.js.t/expected.tags +24 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.js.t/input.js +101 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.mak.t/expected.tags +13 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.mak.t/input.mak +19 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.pb.t/expected.tags +5 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.pb.t/input.pb +18 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.sml.t/expected.tags +31 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.sml.t/input.sml +86 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.vr.t/args.ctags +2 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.vr.t/expected.tags +24 -0
- data/ext/vendor/ctags/Units/review-needed.r/simple.vr.t/input.vr +104 -0
- data/ext/vendor/ctags/Units/review-needed.r/sql_single_quote.sql.t/expected.tags +3 -0
- data/ext/vendor/ctags/Units/review-needed.r/sql_single_quote.sql.t/input.sql +18 -0
- data/ext/vendor/ctags/Units/review-needed.r/test.vhd.t/expected.tags +205 -0
- data/ext/vendor/ctags/Units/review-needed.r/test.vhd.t/input.vhd +8174 -0
- data/ext/vendor/ctags/Units/review-needed.r/unicode8.java.t/expected.tags +1 -0
- data/ext/vendor/ctags/Units/review-needed.r/unicode8.java.t/input.java +4 -0
- data/ext/vendor/ctags/Units/simple-clojure.d/expected.tags +5 -0
- data/ext/vendor/ctags/Units/simple-clojure.d/input.clj +12 -0
- data/ext/vendor/ctags/Units/simple-ctags.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/simple-ctags.d/features +1 -0
- data/ext/vendor/ctags/Units/simple-ctags.d/input.ctags +8 -0
- data/ext/vendor/ctags/Units/simple-dbusinspect.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/simple-dbusinspect.d/features +1 -0
- data/ext/vendor/ctags/Units/simple-dbusinspect.d/input.xml +54 -0
- data/ext/vendor/ctags/Units/simple-diff.d/expected.tags +8 -0
- data/ext/vendor/ctags/Units/simple-diff.d/input.diff +170 -0
- data/ext/vendor/ctags/Units/simple-etags.d/expected.tags-e +4 -0
- data/ext/vendor/ctags/Units/simple-etags.d/input.c +2 -0
- data/ext/vendor/ctags/Units/simple-gdbinit.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/simple-gdbinit.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/simple-gdbinit.d/input.gdb +20 -0
- data/ext/vendor/ctags/Units/simple-glade.d/args.ctags +5 -0
- data/ext/vendor/ctags/Units/simple-glade.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/simple-glade.d/features +1 -0
- data/ext/vendor/ctags/Units/simple-glade.d/input.glade +35 -0
- data/ext/vendor/ctags/Units/simple-javaproperties.d/expected.tags +11 -0
- data/ext/vendor/ctags/Units/simple-javaproperties.d/input.properties +25 -0
- data/ext/vendor/ctags/Units/simple-json.d/expected.tags +19 -0
- data/ext/vendor/ctags/Units/simple-json.d/input.json +25 -0
- data/ext/vendor/ctags/Units/simple-maven2.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/simple-maven2.d/expected.tags +10 -0
- data/ext/vendor/ctags/Units/simple-maven2.d/features +1 -0
- data/ext/vendor/ctags/Units/simple-maven2.d/input.xml +50 -0
- data/ext/vendor/ctags/Units/simple-plist.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/simple-plist.d/expected.tags +7 -0
- data/ext/vendor/ctags/Units/simple-plist.d/features +1 -0
- data/ext/vendor/ctags/Units/simple-plist.d/input.plist +28 -0
- data/ext/vendor/ctags/Units/simple-pod.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/simple-pod.d/expected.tags +13 -0
- data/ext/vendor/ctags/Units/simple-pod.d/input.pod +31 -0
- data/ext/vendor/ctags/Units/simple-protobuf.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/simple-protobuf.d/expected.tags +17 -0
- data/ext/vendor/ctags/Units/simple-protobuf.d/input.proto +69 -0
- data/ext/vendor/ctags/Units/simple-pythonLoggingConfig.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/simple-pythonLoggingConfig.d/expected.tags +26 -0
- data/ext/vendor/ctags/Units/simple-pythonLoggingConfig.d/input.conf +33 -0
- data/ext/vendor/ctags/Units/simple-rpmspec.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/simple-rpmspec.d/expected.tags +17 -0
- data/ext/vendor/ctags/Units/simple-rpmspec.d/input.spec +59 -0
- data/ext/vendor/ctags/Units/simple-svg.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/simple-svg.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/simple-svg.d/features +1 -0
- data/ext/vendor/ctags/Units/simple-svg.d/input.svg +36 -0
- data/ext/vendor/ctags/Units/simple-systemdunit.d/args.ctags +2 -0
- data/ext/vendor/ctags/Units/simple-systemdunit.d/expected.tags +12 -0
- data/ext/vendor/ctags/Units/simple-systemdunit.d/input.service +11 -0
- data/ext/vendor/ctags/Units/simple-windres.d/expected.tags +12 -0
- data/ext/vendor/ctags/Units/simple-windres.d/input.rc +150 -0
- data/ext/vendor/ctags/Units/simple-xref.d/expected.tags-x +2 -0
- data/ext/vendor/ctags/Units/simple-xref.d/input.c +2 -0
- data/ext/vendor/ctags/Units/simple-yumrepo.d/args.ctags +3 -0
- data/ext/vendor/ctags/Units/simple-yumrepo.d/expected.tags +3 -0
- data/ext/vendor/ctags/Units/simple-yumrepo.d/input.repo +32 -0
- data/ext/vendor/ctags/Units/vera-interface.d/expected.tags +10 -0
- data/ext/vendor/ctags/Units/vera-interface.d/input.vr +14 -0
- data/ext/vendor/ctags/Units/xformat-option.r/format-CfSt.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/xformat-option.r/format-CfSt.d/expected.tags-x +6 -0
- data/ext/vendor/ctags/Units/xformat-option.r/format-CfSt.d/input.c +13 -0
- data/ext/vendor/ctags/Units/xformat-option.r/format-NlKkFnP.d/args.ctags +4 -0
- data/ext/vendor/ctags/Units/xformat-option.r/format-NlKkFnP.d/expected.tags-x +12 -0
- data/ext/vendor/ctags/Units/xformat-option.r/format-NlKkFnP.d/filter +2 -0
- data/ext/vendor/ctags/Units/xformat-option.r/format-NlKkFnP.d/input.m +37 -0
- data/ext/vendor/ctags/Units/xformat-option.r/format-aim.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/xformat-option.r/format-aim.d/expected.tags-x +4 -0
- data/ext/vendor/ctags/Units/xformat-option.r/format-aim.d/input.java +14 -0
- data/ext/vendor/ctags/Units/zephir-return-hint.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/zephir-return-hint.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/zephir-return-hint.d/input.zep +14 -0
- data/ext/vendor/ctags/Units/zephir-simple.d/args.ctags +1 -0
- data/ext/vendor/ctags/Units/zephir-simple.d/expected.tags +4 -0
- data/ext/vendor/ctags/Units/zephir-simple.d/input.zep +19 -0
- data/ext/vendor/ctags/appveyor.yml +30 -0
- data/ext/vendor/ctags/autogen.sh +20 -0
- data/ext/vendor/ctags/configure.ac +685 -0
- data/ext/vendor/ctags/ctags.spec +40 -0
- data/ext/vendor/ctags/docs/README.md +3 -0
- data/ext/vendor/ctags/docs/autotools.rst +37 -0
- data/ext/vendor/ctags/docs/building.rst +10 -0
- data/ext/vendor/ctags/docs/chop.rst +21 -0
- data/ext/vendor/ctags/docs/conf.py +273 -0
- data/ext/vendor/ctags/docs/contributions.rst +353 -0
- data/ext/vendor/ctags/docs/developers.rst +72 -0
- data/ext/vendor/ctags/docs/extending.rst +27 -0
- data/ext/vendor/ctags/docs/format.rst +474 -0
- data/ext/vendor/ctags/docs/guessing.rst +111 -0
- data/ext/vendor/ctags/docs/index.rst +46 -0
- data/ext/vendor/ctags/docs/input-text-stream.svg +498 -0
- data/ext/vendor/ctags/docs/internal.rst +398 -0
- data/ext/vendor/ctags/docs/news.rst +1362 -0
- data/ext/vendor/ctags/docs/noise.rst +21 -0
- data/ext/vendor/ctags/docs/optlib.rst +615 -0
- data/ext/vendor/ctags/docs/osx.rst +62 -0
- data/ext/vendor/ctags/docs/other-projects.rst +97 -0
- data/ext/vendor/ctags/docs/output-format.rst +19 -0
- data/ext/vendor/ctags/docs/output-json.rst +48 -0
- data/ext/vendor/ctags/docs/output-tag-stream.svg +693 -0
- data/ext/vendor/ctags/docs/parser-asm.rst +26 -0
- data/ext/vendor/ctags/docs/parser-cxx.rst +127 -0
- data/ext/vendor/ctags/docs/parser-html.rst +31 -0
- data/ext/vendor/ctags/docs/parser-python.rst +40 -0
- data/ext/vendor/ctags/docs/parser-vim.rst +20 -0
- data/ext/vendor/ctags/docs/parser-xslt.rst +22 -0
- data/ext/vendor/ctags/docs/parsers.rst +20 -0
- data/ext/vendor/ctags/docs/semifuzz.rst +55 -0
- data/ext/vendor/ctags/docs/testing.rst +22 -0
- data/ext/vendor/ctags/docs/tinst.rst +12 -0
- data/ext/vendor/ctags/docs/tips.rst +58 -0
- data/ext/vendor/ctags/docs/tmain.rst +74 -0
- data/ext/vendor/ctags/docs/tracking.rst +460 -0
- data/ext/vendor/ctags/docs/units.rst +303 -0
- data/ext/vendor/ctags/docs/windows.rst +145 -0
- data/ext/vendor/ctags/docs/xcmd.rst +265 -0
- data/ext/vendor/ctags/dsl/es-lang-c-stdc99.c +2722 -0
- data/ext/vendor/ctags/dsl/es-lang-c-stdc99.h +203 -0
- data/ext/vendor/ctags/dsl/qualifier.c +716 -0
- data/ext/vendor/ctags/dsl/qualifier.h +36 -0
- data/ext/vendor/ctags/fnmatch/fnmatch.c +190 -0
- data/ext/vendor/ctags/fnmatch/fnmatch.h +40 -0
- data/ext/vendor/{exuberant-ctags → ctags}/gnu_regex/README.txt +0 -0
- data/ext/vendor/ctags/gnu_regex/regcomp.c +3818 -0
- data/ext/vendor/ctags/gnu_regex/regex.c +74 -0
- data/ext/vendor/{exuberant-ctags → ctags}/gnu_regex/regex.h +0 -0
- data/ext/vendor/ctags/gnu_regex/regex_internal.c +1713 -0
- data/ext/vendor/{exuberant-ctags → ctags}/gnu_regex/regex_internal.h +0 -0
- data/ext/vendor/ctags/gnu_regex/regexec.c +4338 -0
- data/ext/vendor/ctags/libexec/drivers/coffeetags +57 -0
- data/ext/vendor/ctags/main/args.c +288 -0
- data/ext/vendor/ctags/main/args.h +57 -0
- data/ext/vendor/ctags/main/ctags.h +34 -0
- data/ext/vendor/ctags/main/debug.c +128 -0
- data/ext/vendor/ctags/main/debug.h +82 -0
- data/ext/vendor/ctags/main/dependency.c +102 -0
- data/ext/vendor/ctags/main/dependency.h +45 -0
- data/ext/vendor/ctags/main/e_msoft.h +71 -0
- data/ext/vendor/ctags/main/entry.c +1387 -0
- data/ext/vendor/ctags/main/entry.h +174 -0
- data/ext/vendor/ctags/main/error.c +88 -0
- data/ext/vendor/ctags/main/error.h +26 -0
- data/ext/vendor/ctags/main/field.c +926 -0
- data/ext/vendor/ctags/main/field.h +112 -0
- data/ext/vendor/ctags/main/flags.c +107 -0
- data/ext/vendor/ctags/main/flags.h +29 -0
- data/ext/vendor/ctags/main/fmt.c +356 -0
- data/ext/vendor/ctags/main/fmt.h +25 -0
- data/ext/vendor/ctags/main/gcc-attr.h +30 -0
- data/ext/vendor/ctags/main/general.h +73 -0
- data/ext/vendor/ctags/main/htable.c +271 -0
- data/ext/vendor/ctags/main/htable.h +47 -0
- data/ext/vendor/ctags/main/interactive.h +18 -0
- data/ext/vendor/ctags/main/keyword.c +242 -0
- data/ext/vendor/ctags/main/keyword.h +33 -0
- data/ext/vendor/ctags/main/kind.c +158 -0
- data/ext/vendor/ctags/main/kind.h +94 -0
- data/ext/vendor/ctags/main/lregex.c +1098 -0
- data/ext/vendor/ctags/main/lxcmd.c +1231 -0
- data/ext/vendor/ctags/main/lxpath.c +217 -0
- data/ext/vendor/ctags/main/main.c +657 -0
- data/ext/vendor/ctags/main/main.h +26 -0
- data/ext/vendor/ctags/main/mbcs.c +112 -0
- data/ext/vendor/ctags/main/mbcs.h +22 -0
- data/ext/vendor/ctags/main/mio.c +1383 -0
- data/ext/vendor/ctags/main/mio.h +162 -0
- data/ext/vendor/ctags/main/nestlevel.c +109 -0
- data/ext/vendor/ctags/main/nestlevel.h +53 -0
- data/ext/vendor/ctags/main/objpool.c +79 -0
- data/ext/vendor/ctags/main/objpool.h +39 -0
- data/ext/vendor/ctags/main/options.c +3371 -0
- data/ext/vendor/ctags/main/options.h +184 -0
- data/ext/vendor/ctags/main/param.c +55 -0
- data/ext/vendor/ctags/main/param.h +35 -0
- data/ext/vendor/ctags/main/parse.c +2805 -0
- data/ext/vendor/ctags/main/parse.h +323 -0
- data/ext/vendor/ctags/main/parsers.h +118 -0
- data/ext/vendor/ctags/main/pcoproc.c +296 -0
- data/ext/vendor/ctags/main/pcoproc.h +29 -0
- data/ext/vendor/ctags/main/promise.c +102 -0
- data/ext/vendor/ctags/main/promise.h +27 -0
- data/ext/vendor/ctags/main/ptag.c +234 -0
- data/ext/vendor/ctags/main/ptag.h +63 -0
- data/ext/vendor/ctags/main/ptrarray.c +152 -0
- data/ext/vendor/ctags/main/ptrarray.h +46 -0
- data/ext/vendor/ctags/main/read.c +1074 -0
- data/ext/vendor/ctags/main/read.h +119 -0
- data/ext/vendor/ctags/main/repoinfo.c +12 -0
- data/ext/vendor/ctags/main/routines.c +887 -0
- data/ext/vendor/ctags/main/routines.h +146 -0
- data/ext/vendor/ctags/main/selectors.c +382 -0
- data/ext/vendor/ctags/main/selectors.h +35 -0
- data/ext/vendor/ctags/main/sort.c +243 -0
- data/ext/vendor/ctags/main/sort.h +37 -0
- data/ext/vendor/ctags/main/strlist.c +253 -0
- data/ext/vendor/ctags/main/strlist.h +54 -0
- data/ext/vendor/ctags/main/types.h +29 -0
- data/ext/vendor/ctags/main/vstring.c +354 -0
- data/ext/vendor/ctags/main/vstring.h +100 -0
- data/ext/vendor/ctags/main/writer-ctags.c +225 -0
- data/ext/vendor/ctags/main/writer-etags.c +107 -0
- data/ext/vendor/ctags/main/writer-json.c +197 -0
- data/ext/vendor/ctags/main/writer-xref.c +60 -0
- data/ext/vendor/ctags/main/writer.c +73 -0
- data/ext/vendor/ctags/main/writer.h +68 -0
- data/ext/vendor/ctags/main/xtag.c +155 -0
- data/ext/vendor/ctags/main/xtag.h +55 -0
- data/ext/vendor/ctags/makefiles/help.mak +22 -0
- data/ext/vendor/ctags/makefiles/list-translator-input.mak +4 -0
- data/ext/vendor/ctags/makefiles/testing.mak +163 -0
- data/ext/vendor/ctags/makefiles/translator_input.mak +8 -0
- data/ext/vendor/ctags/man/ctags.1.rst.in +1095 -0
- data/ext/vendor/ctags/misc/badinput.c +319 -0
- data/ext/vendor/ctags/misc/budge +91 -0
- data/ext/vendor/ctags/misc/budge.ctags +3 -0
- data/ext/vendor/ctags/misc/dist-test-cases +12 -0
- data/ext/vendor/ctags/misc/gen-repoinfo +4 -0
- data/ext/vendor/ctags/misc/gencxxtypedumper.sh +43 -0
- data/ext/vendor/ctags/misc/optlib2c +492 -0
- data/ext/vendor/ctags/misc/review +317 -0
- data/ext/vendor/ctags/misc/roundtrip +55 -0
- data/ext/vendor/ctags/misc/src-check +133 -0
- data/ext/vendor/ctags/misc/tinst +166 -0
- data/ext/vendor/ctags/misc/travis-check.sh +35 -0
- data/ext/vendor/ctags/misc/units +2265 -0
- data/ext/vendor/ctags/mk_mingw.mak +75 -0
- data/ext/vendor/ctags/mk_mvc.mak +64 -0
- data/ext/vendor/ctags/old-docs/EXTENDING.html +389 -0
- data/ext/vendor/ctags/old-docs/FAQ +371 -0
- data/ext/vendor/{exuberant-ctags → ctags/old-docs}/INSTALL +0 -0
- data/ext/vendor/ctags/old-docs/INSTALL.oth +10 -0
- data/ext/vendor/ctags/old-docs/MAINTAINERS +74 -0
- data/ext/vendor/ctags/old-docs/NEWS.exuberant +886 -0
- data/ext/vendor/ctags/old-docs/README.exuberant +74 -0
- data/ext/vendor/ctags/old-docs/index.html +225 -0
- data/ext/vendor/ctags/old-docs/website/.cvsignore +4 -0
- data/ext/vendor/ctags/old-docs/website/FORMAT +346 -0
- data/ext/vendor/ctags/old-docs/website/countries.html +66 -0
- data/ext/vendor/ctags/old-docs/website/ctags.png +0 -0
- data/ext/vendor/ctags/old-docs/website/ctags.xcf +0 -0
- data/ext/vendor/ctags/old-docs/website/desire.html +73 -0
- data/ext/vendor/ctags/old-docs/website/faq.html +566 -0
- data/ext/vendor/ctags/old-docs/website/gpl.html +399 -0
- data/ext/vendor/ctags/old-docs/website/languages.html +59 -0
- data/ext/vendor/ctags/old-docs/website/lg18-wkndmech.html +46 -0
- data/ext/vendor/ctags/old-docs/website/quotes.html +884 -0
- data/ext/vendor/ctags/old-docs/website/tool_support.html +43 -0
- data/ext/vendor/ctags/old-docs/website/tools.html +75 -0
- data/ext/vendor/ctags/old-docs/website/whatis.html +30 -0
- data/ext/vendor/ctags/optlib/CoffeeScript.c +40 -0
- data/ext/vendor/ctags/optlib/CoffeeScript.ctags +26 -0
- data/ext/vendor/ctags/optlib/ctags-optlib.c +48 -0
- data/ext/vendor/ctags/optlib/ctags-optlib.ctags +27 -0
- data/ext/vendor/ctags/optlib/gdbinit.c +57 -0
- data/ext/vendor/ctags/optlib/gdbinit.ctags +54 -0
- data/ext/vendor/ctags/optlib/man.c +60 -0
- data/ext/vendor/ctags/optlib/man.ctags +38 -0
- data/ext/vendor/ctags/optlib/pod.c +52 -0
- data/ext/vendor/ctags/optlib/pod.ctags +30 -0
- data/ext/vendor/ctags/parsers/ada.c +2231 -0
- data/ext/vendor/ctags/parsers/ansibleplaybook.c +241 -0
- data/ext/vendor/ctags/parsers/ant.c +245 -0
- data/ext/vendor/ctags/parsers/asm.c +381 -0
- data/ext/vendor/ctags/parsers/asp.c +313 -0
- data/ext/vendor/ctags/parsers/autoconf.c +222 -0
- data/ext/vendor/ctags/parsers/automake.c +320 -0
- data/ext/vendor/ctags/parsers/awk.c +79 -0
- data/ext/vendor/ctags/parsers/basic.c +198 -0
- data/ext/vendor/ctags/parsers/beta.c +313 -0
- data/ext/vendor/ctags/parsers/c.c +3651 -0
- data/ext/vendor/ctags/parsers/clojure.c +149 -0
- data/ext/vendor/ctags/parsers/cobol.c +49 -0
- data/ext/vendor/ctags/parsers/cpreprocessor.c +1707 -0
- data/ext/vendor/ctags/parsers/css.c +265 -0
- data/ext/vendor/ctags/parsers/cxx/cxx.c +137 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_debug.c +76 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_debug.h +81 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_debug_type.c +44 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_keyword.c +188 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_keyword.h +127 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_parser.c +1528 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_parser.h +23 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_parser_block.c +584 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_parser_function.c +1949 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_parser_internal.h +318 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_parser_lambda.c +261 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_parser_namespace.c +306 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_parser_template.c +300 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_parser_tokenizer.c +1465 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_parser_typedef.c +368 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_parser_using.c +158 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_parser_variable.c +682 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_scope.c +257 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_scope.h +78 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_tag.c +556 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_tag.h +183 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_token.c +154 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_token.h +115 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_token_chain.c +1105 -0
- data/ext/vendor/ctags/parsers/cxx/cxx_token_chain.h +276 -0
- data/ext/vendor/ctags/parsers/dbusintrospect.c +157 -0
- data/ext/vendor/ctags/parsers/diff.c +213 -0
- data/ext/vendor/ctags/parsers/dosbatch.c +44 -0
- data/ext/vendor/ctags/parsers/dts.c +59 -0
- data/ext/vendor/ctags/parsers/eiffel.c +1121 -0
- data/ext/vendor/ctags/parsers/erlang.c +189 -0
- data/ext/vendor/ctags/parsers/falcon.c +145 -0
- data/ext/vendor/ctags/parsers/flex.c +2394 -0
- data/ext/vendor/ctags/parsers/fortran.c +2575 -0
- data/ext/vendor/ctags/parsers/glade.c +92 -0
- data/ext/vendor/ctags/parsers/go.c +810 -0
- data/ext/vendor/ctags/parsers/html.c +408 -0
- data/ext/vendor/ctags/parsers/iniconf.c +278 -0
- data/ext/vendor/ctags/parsers/jprop.c +128 -0
- data/ext/vendor/ctags/parsers/jscript.c +2040 -0
- data/ext/vendor/ctags/parsers/json.c +392 -0
- data/ext/vendor/ctags/parsers/lisp.c +140 -0
- data/ext/vendor/ctags/parsers/lua.c +172 -0
- data/ext/vendor/ctags/parsers/m4.c +651 -0
- data/ext/vendor/ctags/parsers/make.c +368 -0
- data/ext/vendor/ctags/parsers/matlab.c +50 -0
- data/ext/vendor/ctags/parsers/maven2.c +267 -0
- data/ext/vendor/ctags/parsers/meta-cpreprocessor.h +109 -0
- data/ext/vendor/ctags/parsers/meta-iniconf.h +48 -0
- data/ext/vendor/ctags/parsers/meta-m4.h +56 -0
- data/ext/vendor/ctags/parsers/meta-make.h +30 -0
- data/ext/vendor/ctags/parsers/meta-yaml.h +37 -0
- data/ext/vendor/ctags/parsers/myrddin.c +51 -0
- data/ext/vendor/ctags/parsers/objc.c +1130 -0
- data/ext/vendor/ctags/parsers/ocaml.c +1892 -0
- data/ext/vendor/ctags/parsers/pascal.c +261 -0
- data/ext/vendor/ctags/parsers/perl.c +556 -0
- data/ext/vendor/ctags/parsers/perl6.c +338 -0
- data/ext/vendor/ctags/parsers/php.c +1724 -0
- data/ext/vendor/ctags/parsers/plist.c +172 -0
- data/ext/vendor/ctags/parsers/protobuf.c +274 -0
- data/ext/vendor/ctags/parsers/python.c +1321 -0
- data/ext/vendor/ctags/parsers/pythonloggingconfig.c +129 -0
- data/ext/vendor/ctags/parsers/r.c +214 -0
- data/ext/vendor/ctags/parsers/relaxng.c +239 -0
- data/ext/vendor/ctags/parsers/rexx.c +40 -0
- data/ext/vendor/ctags/parsers/rpmspec.c +198 -0
- data/ext/vendor/ctags/parsers/rst.c +278 -0
- data/ext/vendor/ctags/parsers/ruby.c +564 -0
- data/ext/vendor/ctags/parsers/rust.c +982 -0
- data/ext/vendor/ctags/parsers/scheme.c +126 -0
- data/ext/vendor/ctags/parsers/sh.c +302 -0
- data/ext/vendor/ctags/parsers/slang.c +39 -0
- data/ext/vendor/ctags/parsers/sml.c +216 -0
- data/ext/vendor/ctags/parsers/sql.c +2401 -0
- data/ext/vendor/ctags/parsers/svg.c +66 -0
- data/ext/vendor/ctags/parsers/systemdunit.c +130 -0
- data/ext/vendor/ctags/parsers/tcl.c +112 -0
- data/ext/vendor/ctags/parsers/tex.c +588 -0
- data/ext/vendor/ctags/parsers/ttcn.c +984 -0
- data/ext/vendor/ctags/parsers/verilog.c +1177 -0
- data/ext/vendor/ctags/parsers/vhdl.c +815 -0
- data/ext/vendor/ctags/parsers/vim.c +728 -0
- data/ext/vendor/ctags/parsers/windres.c +233 -0
- data/ext/vendor/ctags/parsers/xslt.c +339 -0
- data/ext/vendor/ctags/parsers/yacc.c +172 -0
- data/ext/vendor/ctags/parsers/yaml.c +212 -0
- data/ext/vendor/ctags/parsers/yumrepo.c +66 -0
- data/ext/vendor/ctags/read/readtags-cmd.c +274 -0
- data/ext/vendor/ctags/read/readtags.c +802 -0
- data/ext/vendor/ctags/read/readtags.h +248 -0
- data/ext/vendor/ctags/source.mak +269 -0
- data/ext/vendor/ctags/win32/appveyor.bat +187 -0
- data/ext/vendor/ctags/win32/ctags_vs2013.sln +20 -0
- data/ext/vendor/ctags/win32/ctags_vs2013.vcxproj +280 -0
- data/ext/vendor/ctags/win32/ctags_vs2013.vcxproj.filters +555 -0
- data/ext/vendor/jansson-2.9/CHANGES +796 -0
- data/ext/vendor/jansson-2.9/CMakeLists.txt +684 -0
- data/ext/vendor/jansson-2.9/LICENSE +19 -0
- data/ext/vendor/jansson-2.9/Makefile.am +10 -0
- data/ext/vendor/jansson-2.9/Makefile.in +873 -0
- data/ext/vendor/jansson-2.9/README.rst +68 -0
- data/ext/vendor/jansson-2.9/aclocal.m4 +10314 -0
- data/ext/vendor/jansson-2.9/android/jansson_config.h +43 -0
- data/ext/vendor/jansson-2.9/cmake/CheckFunctionKeywords.cmake +15 -0
- data/ext/vendor/jansson-2.9/cmake/CodeCoverage.cmake +163 -0
- data/ext/vendor/jansson-2.9/cmake/Coveralls.cmake +111 -0
- data/ext/vendor/jansson-2.9/cmake/CoverallsClear.cmake +24 -0
- data/ext/vendor/jansson-2.9/cmake/CoverallsGenerateGcov.cmake +380 -0
- data/ext/vendor/jansson-2.9/cmake/FindSphinx.cmake +301 -0
- data/ext/vendor/jansson-2.9/cmake/JanssonConfig.cmake.in +17 -0
- data/ext/vendor/jansson-2.9/cmake/JanssonConfigVersion.cmake.in +11 -0
- data/ext/vendor/jansson-2.9/cmake/jansson_config.h.cmake +68 -0
- data/ext/vendor/jansson-2.9/cmake/jansson_private_config.h.cmake +53 -0
- data/ext/vendor/jansson-2.9/compile +347 -0
- data/ext/vendor/jansson-2.9/config.guess +1441 -0
- data/ext/vendor/jansson-2.9/config.sub +1813 -0
- data/ext/vendor/jansson-2.9/configure +14772 -0
- data/ext/vendor/jansson-2.9/configure.ac +118 -0
- data/ext/vendor/jansson-2.9/depcomp +791 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/doc/Makefile.am +0 -0
- data/ext/vendor/jansson-2.9/doc/Makefile.in +457 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/doc/README +0 -0
- data/ext/vendor/jansson-2.9/doc/apiref.rst +1632 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/doc/changes.rst +0 -0
- data/ext/vendor/jansson-2.9/doc/conf.py +217 -0
- data/ext/vendor/jansson-2.9/doc/conformance.rst +120 -0
- data/ext/vendor/jansson-2.9/doc/ext/refcounting.py +60 -0
- data/ext/vendor/jansson-2.9/doc/gettingstarted.rst +228 -0
- data/ext/vendor/jansson-2.9/doc/github_commits.c +201 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/doc/index.rst +0 -0
- data/ext/vendor/jansson-2.9/doc/portability.rst +83 -0
- data/ext/vendor/jansson-2.9/doc/tutorial.rst +288 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/doc/upgrading.rst +0 -0
- data/ext/vendor/jansson-2.9/examples/README.rst +4 -0
- data/ext/vendor/jansson-2.9/examples/simple_parse.c +203 -0
- data/ext/vendor/jansson-2.9/install-sh +508 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/jansson.pc.in +0 -0
- data/ext/vendor/jansson-2.9/jansson_private_config.h.in +158 -0
- data/ext/vendor/jansson-2.9/ltmain.sh +11156 -0
- data/ext/vendor/jansson-2.9/missing +215 -0
- data/ext/vendor/jansson-2.9/src/Makefile.am +27 -0
- data/ext/vendor/jansson-2.9/src/Makefile.in +732 -0
- data/ext/vendor/jansson-2.9/src/dump.c +446 -0
- data/ext/vendor/jansson-2.9/src/error.c +63 -0
- data/ext/vendor/jansson-2.9/src/hashtable.c +356 -0
- data/ext/vendor/jansson-2.9/src/hashtable.h +176 -0
- data/ext/vendor/jansson-2.9/src/hashtable_seed.c +277 -0
- data/ext/vendor/jansson-2.9/src/jansson.def +70 -0
- data/ext/vendor/jansson-2.9/src/jansson.h +311 -0
- data/ext/vendor/jansson-2.9/src/jansson_config.h.in +43 -0
- data/ext/vendor/jansson-2.9/src/jansson_private.h +108 -0
- data/ext/vendor/jansson-2.9/src/load.c +1110 -0
- data/ext/vendor/jansson-2.9/src/lookup3.h +381 -0
- data/ext/vendor/jansson-2.9/src/memory.c +69 -0
- data/ext/vendor/jansson-2.9/src/pack_unpack.c +871 -0
- data/ext/vendor/jansson-2.9/src/strbuffer.c +111 -0
- data/ext/vendor/jansson-2.9/src/strbuffer.h +34 -0
- data/ext/vendor/jansson-2.9/src/strconv.c +145 -0
- data/ext/vendor/jansson-2.9/src/utf.c +187 -0
- data/ext/vendor/jansson-2.9/src/utf.h +27 -0
- data/ext/vendor/jansson-2.9/src/value.c +1045 -0
- data/ext/vendor/jansson-2.9/test-driver +148 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/Makefile.am +0 -0
- data/ext/vendor/jansson-2.9/test/Makefile.in +998 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/bin/Makefile.am +0 -0
- data/ext/vendor/jansson-2.9/test/bin/Makefile.in +584 -0
- data/ext/vendor/jansson-2.9/test/bin/json_process.c +385 -0
- data/ext/vendor/jansson-2.9/test/run-suites +50 -0
- data/ext/vendor/jansson-2.9/test/scripts/run-tests.sh +100 -0
- data/ext/vendor/jansson-2.9/test/scripts/valgrind.sh +35 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/Makefile.am +0 -0
- data/ext/vendor/jansson-2.9/test/suites/Makefile.in +618 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/api/Makefile.am +0 -0
- data/ext/vendor/jansson-2.9/test/suites/api/Makefile.in +731 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/api/check-exports +0 -0
- data/ext/vendor/jansson-2.9/test/suites/api/run +36 -0
- data/ext/vendor/jansson-2.9/test/suites/api/test_array.c +432 -0
- data/ext/vendor/jansson-2.9/test/suites/api/test_copy.c +334 -0
- data/ext/vendor/jansson-2.9/test/suites/api/test_dump.c +224 -0
- data/ext/vendor/jansson-2.9/test/suites/api/test_dump_callback.c +81 -0
- data/ext/vendor/jansson-2.9/test/suites/api/test_equal.c +189 -0
- data/ext/vendor/jansson-2.9/test/suites/api/test_load.c +216 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/api/test_load_callback.c +0 -0
- data/ext/vendor/jansson-2.9/test/suites/api/test_loadb.c +36 -0
- data/ext/vendor/jansson-2.9/test/suites/api/test_memory_funcs.c +130 -0
- data/ext/vendor/jansson-2.9/test/suites/api/test_number.c +90 -0
- data/ext/vendor/jansson-2.9/test/suites/api/test_object.c +555 -0
- data/ext/vendor/jansson-2.9/test/suites/api/test_pack.c +355 -0
- data/ext/vendor/jansson-2.9/test/suites/api/test_simple.c +240 -0
- data/ext/vendor/jansson-2.9/test/suites/api/test_unpack.c +406 -0
- data/ext/vendor/jansson-2.9/test/suites/api/util.h +90 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/encoded-surrogate-half/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/encoded-surrogate-half/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/invalid-utf-8-after-backslash/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/invalid-utf-8-after-backslash/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/invalid-utf-8-in-array/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/invalid-utf-8-in-array/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/invalid-utf-8-in-bigger-int/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/invalid-utf-8-in-bigger-int/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/invalid-utf-8-in-escape/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/invalid-utf-8-in-escape/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/invalid-utf-8-in-exponent/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/invalid-utf-8-in-exponent/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/invalid-utf-8-in-identifier/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/invalid-utf-8-in-identifier/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/invalid-utf-8-in-int/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/invalid-utf-8-in-int/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/invalid-utf-8-in-real-after-e/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/invalid-utf-8-in-real-after-e/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/invalid-utf-8-in-string/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/invalid-utf-8-in-string/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/lone-invalid-utf-8/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/lone-invalid-utf-8/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/lone-utf-8-continuation-byte/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/lone-utf-8-continuation-byte/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/not-in-unicode-range/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/not-in-unicode-range/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/overlong-3-byte-encoding/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/overlong-3-byte-encoding/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/overlong-4-byte-encoding/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/overlong-4-byte-encoding/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/overlong-ascii-encoding/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/overlong-ascii-encoding/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/restricted-utf-8/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/restricted-utf-8/input +0 -0
- data/ext/vendor/jansson-2.9/test/suites/invalid-unicode/run +27 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/truncated-utf-8/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid-unicode/truncated-utf-8/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/apostrophe/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/apostrophe/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/ascii-unicode-identifier/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/ascii-unicode-identifier/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/brace-comma/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/brace-comma/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/bracket-comma/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/bracket-comma/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/bracket-one-comma/error.normal +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/bracket-one-comma/error.strip +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/bracket-one-comma/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/empty/error +0 -0
- data/ext/vendor/jansson-2.9/test/suites/invalid/empty/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/extra-comma-in-array/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/extra-comma-in-array/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/extra-comma-in-multiline-array/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/extra-comma-in-multiline-array/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/garbage-after-newline/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/garbage-after-newline/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/garbage-at-the-end/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/garbage-at-the-end/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/integer-starting-with-zero/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/integer-starting-with-zero/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/invalid-escape/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/invalid-escape/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/invalid-identifier/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/invalid-identifier/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/invalid-negative-integer/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/invalid-negative-integer/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/invalid-negative-real/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/invalid-negative-real/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/invalid-second-surrogate/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/invalid-second-surrogate/input +0 -0
- data/ext/vendor/jansson-2.9/test/suites/invalid/invalid-unicode-escape/error +2 -0
- data/ext/vendor/jansson-2.9/test/suites/invalid/invalid-unicode-escape/input +1 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/lone-open-brace/error.normal +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/lone-open-brace/error.strip +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/lone-open-brace/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/lone-open-bracket/error.normal +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/lone-open-bracket/error.strip +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/lone-open-bracket/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/lone-second-surrogate/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/lone-second-surrogate/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/minus-sign-without-number/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/minus-sign-without-number/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/negative-integer-starting-with-zero/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/negative-integer-starting-with-zero/input +0 -0
- data/ext/vendor/jansson-2.9/test/suites/invalid/null-byte-in-object-key/error +2 -0
- data/ext/vendor/jansson-2.9/test/suites/invalid/null-byte-in-object-key/input +1 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/null-byte-in-string/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/null-byte-in-string/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/null-byte-in-string/nostrip +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/null-byte-outside-string/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/null-byte-outside-string/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/null-byte-outside-string/nostrip +0 -0
- data/ext/vendor/jansson-2.9/test/suites/invalid/null-escape-in-string/error +2 -0
- data/ext/vendor/jansson-2.9/test/suites/invalid/null-escape-in-string/input +1 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/null/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/null/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/object-apostrophes/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/object-apostrophes/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/object-garbage-at-end/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/object-garbage-at-end/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/object-in-unterminated-array/error.normal +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/object-in-unterminated-array/error.strip +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/object-in-unterminated-array/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/object-no-colon/error.normal +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/object-no-colon/error.strip +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/object-no-colon/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/object-no-value/error.normal +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/object-no-value/error.strip +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/object-no-value/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/object-unterminated-value/error.normal +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/object-unterminated-value/error.strip +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/object-unterminated-value/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/real-garbage-after-e/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/real-garbage-after-e/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/real-negative-overflow/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/real-negative-overflow/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/real-positive-overflow/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/real-positive-overflow/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/real-truncated-at-e/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/real-truncated-at-e/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/real-truncated-at-point/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/real-truncated-at-point/input +0 -0
- data/ext/vendor/jansson-2.9/test/suites/invalid/recursion-depth/error +2 -0
- data/ext/vendor/jansson-2.9/test/suites/invalid/recursion-depth/input +1 -0
- data/ext/vendor/jansson-2.9/test/suites/invalid/run +57 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/tab-character-in-string/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/tab-character-in-string/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/too-big-negative-integer/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/too-big-negative-integer/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/too-big-positive-integer/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/too-big-positive-integer/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/truncated-unicode-surrogate/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/truncated-unicode-surrogate/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unicode-identifier/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unicode-identifier/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unterminated-array-and-object/error.normal +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unterminated-array-and-object/error.strip +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unterminated-array-and-object/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unterminated-array/error.normal +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unterminated-array/error.strip +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unterminated-array/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unterminated-empty-key/error.normal +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unterminated-empty-key/error.strip +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unterminated-empty-key/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unterminated-key/error.normal +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unterminated-key/error.strip +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unterminated-key/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unterminated-object-and-array/error +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unterminated-object-and-array/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unterminated-string/error.normal +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unterminated-string/error.strip +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/invalid/unterminated-string/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/complex-array/env +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/complex-array/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/complex-array/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/empty-array/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/empty-array/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/empty-object-in-array/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/empty-object-in-array/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/empty-object/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/empty-object/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/empty-string/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/empty-string/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/escaped-utf-control-char/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/escaped-utf-control-char/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/false/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/false/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/negative-int/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/negative-int/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/negative-one/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/negative-one/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/negative-zero/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/negative-zero/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/null/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/null/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/one-byte-utf-8/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/one-byte-utf-8/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/real-capital-e-negative-exponent/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/real-capital-e-negative-exponent/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/real-capital-e-positive-exponent/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/real-capital-e-positive-exponent/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/real-capital-e/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/real-capital-e/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/real-exponent/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/real-exponent/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/real-fraction-exponent/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/real-fraction-exponent/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/real-negative-exponent/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/real-negative-exponent/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/real-positive-exponent/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/real-positive-exponent/output +0 -0
- data/ext/vendor/jansson-2.9/test/suites/valid/real-subnormal-number/input +1 -0
- data/ext/vendor/jansson-2.9/test/suites/valid/real-subnormal-number/output +1 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/real-underflow/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/real-underflow/output +0 -0
- data/ext/vendor/jansson-2.9/test/suites/valid/run +56 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/short-string/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/short-string/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/simple-ascii-string/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/simple-ascii-string/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/simple-int-0/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/simple-int-0/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/simple-int-1/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/simple-int-1/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/simple-int-123/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/simple-int-123/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/simple-object/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/simple-object/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/simple-real/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/simple-real/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/string-escapes/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/string-escapes/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/three-byte-utf-8/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/three-byte-utf-8/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/true/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/true/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/two-byte-utf-8/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/two-byte-utf-8/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/utf-8-string/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/utf-8-string/output +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/utf-surrogate-four-byte-encoding/input +0 -0
- data/ext/vendor/{jansson-2.5 → jansson-2.9}/test/suites/valid/utf-surrogate-four-byte-encoding/output +0 -0
- data/lib/ctags.cnf +0 -7
- data/lib/ctags.rb +2 -2
- data/lib/ctags/universal.rb +86 -0
- data/lib/ctags/version.rb +1 -1
- data/test/test.c +10 -0
- data/test/test_ctags.rb +23 -5
- metadata +2763 -432
- data/ext/vendor/exuberant-ctags/.gitignore +0 -6
- data/ext/vendor/exuberant-ctags/EXTENDING.html +0 -386
- data/ext/vendor/exuberant-ctags/FAQ +0 -371
- data/ext/vendor/exuberant-ctags/INSTALL.oth +0 -73
- data/ext/vendor/exuberant-ctags/MAINTAINERS +0 -88
- data/ext/vendor/exuberant-ctags/Makefile.in +0 -222
- data/ext/vendor/exuberant-ctags/NEWS +0 -871
- data/ext/vendor/exuberant-ctags/README +0 -73
- data/ext/vendor/exuberant-ctags/ant.c +0 -42
- data/ext/vendor/exuberant-ctags/argproc.c +0 -505
- data/ext/vendor/exuberant-ctags/args.c +0 -274
- data/ext/vendor/exuberant-ctags/args.h +0 -63
- data/ext/vendor/exuberant-ctags/asm.c +0 -387
- data/ext/vendor/exuberant-ctags/asp.c +0 -328
- data/ext/vendor/exuberant-ctags/awk.c +0 -81
- data/ext/vendor/exuberant-ctags/basic.c +0 -203
- data/ext/vendor/exuberant-ctags/beta.c +0 -321
- data/ext/vendor/exuberant-ctags/c.c +0 -2932
- data/ext/vendor/exuberant-ctags/cobol.c +0 -50
- data/ext/vendor/exuberant-ctags/config.h.in +0 -277
- data/ext/vendor/exuberant-ctags/configure +0 -7704
- data/ext/vendor/exuberant-ctags/configure.ac +0 -532
- data/ext/vendor/exuberant-ctags/ctags.1 +0 -1186
- data/ext/vendor/exuberant-ctags/ctags.h +0 -28
- data/ext/vendor/exuberant-ctags/ctags.html +0 -2087
- data/ext/vendor/exuberant-ctags/ctags.spec +0 -40
- data/ext/vendor/exuberant-ctags/debug.c +0 -113
- data/ext/vendor/exuberant-ctags/debug.h +0 -70
- data/ext/vendor/exuberant-ctags/descrip.mms +0 -68
- data/ext/vendor/exuberant-ctags/dosbatch.c +0 -42
- data/ext/vendor/exuberant-ctags/e_amiga.h +0 -24
- data/ext/vendor/exuberant-ctags/e_djgpp.h +0 -47
- data/ext/vendor/exuberant-ctags/e_mac.h +0 -143
- data/ext/vendor/exuberant-ctags/e_msoft.h +0 -76
- data/ext/vendor/exuberant-ctags/e_os2.h +0 -37
- data/ext/vendor/exuberant-ctags/e_qdos.h +0 -34
- data/ext/vendor/exuberant-ctags/e_riscos.h +0 -58
- data/ext/vendor/exuberant-ctags/e_vms.h +0 -31
- data/ext/vendor/exuberant-ctags/eiffel.c +0 -1352
- data/ext/vendor/exuberant-ctags/entry.c +0 -916
- data/ext/vendor/exuberant-ctags/entry.h +0 -103
- data/ext/vendor/exuberant-ctags/erlang.c +0 -189
- data/ext/vendor/exuberant-ctags/flex.c +0 -2243
- data/ext/vendor/exuberant-ctags/fortran.c +0 -2197
- data/ext/vendor/exuberant-ctags/general.h +0 -127
- data/ext/vendor/exuberant-ctags/get.c +0 -669
- data/ext/vendor/exuberant-ctags/get.h +0 -50
- data/ext/vendor/exuberant-ctags/gnu_regex/.svn/all-wcprops +0 -47
- data/ext/vendor/exuberant-ctags/gnu_regex/.svn/entries +0 -112
- data/ext/vendor/exuberant-ctags/gnu_regex/.svn/text-base/README.txt.svn-base +0 -5
- data/ext/vendor/exuberant-ctags/gnu_regex/.svn/text-base/regcomp.c.svn-base +0 -3818
- data/ext/vendor/exuberant-ctags/gnu_regex/.svn/text-base/regex.c.svn-base +0 -74
- data/ext/vendor/exuberant-ctags/gnu_regex/.svn/text-base/regex.h.svn-base +0 -575
- data/ext/vendor/exuberant-ctags/gnu_regex/.svn/text-base/regex_internal.c.svn-base +0 -1713
- data/ext/vendor/exuberant-ctags/gnu_regex/.svn/text-base/regex_internal.h.svn-base +0 -773
- data/ext/vendor/exuberant-ctags/gnu_regex/.svn/text-base/regexec.c.svn-base +0 -4338
- data/ext/vendor/exuberant-ctags/gnu_regex/regcomp.c +0 -3818
- data/ext/vendor/exuberant-ctags/gnu_regex/regex.c +0 -74
- data/ext/vendor/exuberant-ctags/gnu_regex/regex_internal.c +0 -1713
- data/ext/vendor/exuberant-ctags/gnu_regex/regexec.c +0 -4338
- data/ext/vendor/exuberant-ctags/html.c +0 -49
- data/ext/vendor/exuberant-ctags/jscript.c +0 -1572
- data/ext/vendor/exuberant-ctags/keyword.c +0 -258
- data/ext/vendor/exuberant-ctags/keyword.h +0 -34
- data/ext/vendor/exuberant-ctags/lisp.c +0 -139
- data/ext/vendor/exuberant-ctags/lregex.c +0 -704
- data/ext/vendor/exuberant-ctags/lua.c +0 -133
- data/ext/vendor/exuberant-ctags/mac.c +0 -273
- data/ext/vendor/exuberant-ctags/magic.diff +0 -21
- data/ext/vendor/exuberant-ctags/main.c +0 -645
- data/ext/vendor/exuberant-ctags/main.h +0 -32
- data/ext/vendor/exuberant-ctags/maintainer.mak +0 -476
- data/ext/vendor/exuberant-ctags/make.c +0 -217
- data/ext/vendor/exuberant-ctags/matlab.c +0 -44
- data/ext/vendor/exuberant-ctags/mk_bc3.mak +0 -46
- data/ext/vendor/exuberant-ctags/mk_bc5.mak +0 -49
- data/ext/vendor/exuberant-ctags/mk_djg.mak +0 -18
- data/ext/vendor/exuberant-ctags/mk_manx.mak +0 -65
- data/ext/vendor/exuberant-ctags/mk_mingw.mak +0 -31
- data/ext/vendor/exuberant-ctags/mk_mpw.mak +0 -130
- data/ext/vendor/exuberant-ctags/mk_mvc.mak +0 -40
- data/ext/vendor/exuberant-ctags/mk_os2.mak +0 -104
- data/ext/vendor/exuberant-ctags/mk_qdos.mak +0 -100
- data/ext/vendor/exuberant-ctags/mk_sas.mak +0 -63
- data/ext/vendor/exuberant-ctags/mkinstalldirs +0 -40
- data/ext/vendor/exuberant-ctags/ocaml.c +0 -1842
- data/ext/vendor/exuberant-ctags/options.c +0 -1842
- data/ext/vendor/exuberant-ctags/options.h +0 -155
- data/ext/vendor/exuberant-ctags/parse.c +0 -677
- data/ext/vendor/exuberant-ctags/parse.h +0 -129
- data/ext/vendor/exuberant-ctags/parsers.h +0 -63
- data/ext/vendor/exuberant-ctags/pascal.c +0 -267
- data/ext/vendor/exuberant-ctags/perl.c +0 -382
- data/ext/vendor/exuberant-ctags/php.c +0 -237
- data/ext/vendor/exuberant-ctags/python.c +0 -771
- data/ext/vendor/exuberant-ctags/qdos.c +0 -106
- data/ext/vendor/exuberant-ctags/read.c +0 -574
- data/ext/vendor/exuberant-ctags/read.h +0 -119
- data/ext/vendor/exuberant-ctags/readtags.c +0 -959
- data/ext/vendor/exuberant-ctags/readtags.h +0 -252
- data/ext/vendor/exuberant-ctags/rexx.c +0 -39
- data/ext/vendor/exuberant-ctags/routines.c +0 -914
- data/ext/vendor/exuberant-ctags/routines.h +0 -134
- data/ext/vendor/exuberant-ctags/ruby.c +0 -463
- data/ext/vendor/exuberant-ctags/scheme.c +0 -111
- data/ext/vendor/exuberant-ctags/sh.c +0 -115
- data/ext/vendor/exuberant-ctags/slang.c +0 -41
- data/ext/vendor/exuberant-ctags/sml.c +0 -212
- data/ext/vendor/exuberant-ctags/sort.c +0 -230
- data/ext/vendor/exuberant-ctags/sort.h +0 -32
- data/ext/vendor/exuberant-ctags/source.mak +0 -122
- data/ext/vendor/exuberant-ctags/sql.c +0 -2112
- data/ext/vendor/exuberant-ctags/strlist.c +0 -281
- data/ext/vendor/exuberant-ctags/strlist.h +0 -54
- data/ext/vendor/exuberant-ctags/tcl.c +0 -116
- data/ext/vendor/exuberant-ctags/tex.c +0 -524
- data/ext/vendor/exuberant-ctags/verilog.c +0 -340
- data/ext/vendor/exuberant-ctags/vhdl.c +0 -835
- data/ext/vendor/exuberant-ctags/vim.c +0 -636
- data/ext/vendor/exuberant-ctags/vstring.c +0 -232
- data/ext/vendor/exuberant-ctags/vstring.h +0 -85
- data/ext/vendor/exuberant-ctags/yacc.c +0 -40
- data/ext/vendor/fmemopen/README.md +0 -49
- data/ext/vendor/fmemopen/fmemopen.c +0 -92
- data/ext/vendor/fmemopen/fmemopen.h +0 -52
- data/ext/vendor/jansson-2.5/CHANGES +0 -554
- data/ext/vendor/jansson-2.5/LICENSE +0 -19
- data/ext/vendor/jansson-2.5/Makefile.am +0 -15
- data/ext/vendor/jansson-2.5/Makefile.in +0 -825
- data/ext/vendor/jansson-2.5/README.rst +0 -63
- data/ext/vendor/jansson-2.5/aclocal.m4 +0 -9674
- data/ext/vendor/jansson-2.5/config.guess +0 -1530
- data/ext/vendor/jansson-2.5/config.h.in +0 -84
- data/ext/vendor/jansson-2.5/config.sub +0 -1782
- data/ext/vendor/jansson-2.5/configure +0 -13931
- data/ext/vendor/jansson-2.5/configure.ac +0 -57
- data/ext/vendor/jansson-2.5/depcomp +0 -708
- data/ext/vendor/jansson-2.5/doc/Makefile.in +0 -401
- data/ext/vendor/jansson-2.5/doc/apiref.rst +0 -1487
- data/ext/vendor/jansson-2.5/doc/conf.py +0 -217
- data/ext/vendor/jansson-2.5/doc/conformance.rst +0 -114
- data/ext/vendor/jansson-2.5/doc/ext/refcounting.py +0 -59
- data/ext/vendor/jansson-2.5/doc/gettingstarted.rst +0 -237
- data/ext/vendor/jansson-2.5/doc/github_commits.c +0 -192
- data/ext/vendor/jansson-2.5/doc/portability.rst +0 -52
- data/ext/vendor/jansson-2.5/doc/tutorial.rst +0 -286
- data/ext/vendor/jansson-2.5/install-sh +0 -527
- data/ext/vendor/jansson-2.5/ltmain.sh +0 -9661
- data/ext/vendor/jansson-2.5/missing +0 -331
- data/ext/vendor/jansson-2.5/src/Makefile.am +0 -24
- data/ext/vendor/jansson-2.5/src/Makefile.in +0 -613
- data/ext/vendor/jansson-2.5/src/dump.c +0 -456
- data/ext/vendor/jansson-2.5/src/error.c +0 -63
- data/ext/vendor/jansson-2.5/src/hashtable.c +0 -360
- data/ext/vendor/jansson-2.5/src/hashtable.h +0 -180
- data/ext/vendor/jansson-2.5/src/jansson.def +0 -63
- data/ext/vendor/jansson-2.5/src/jansson.h +0 -281
- data/ext/vendor/jansson-2.5/src/jansson_config.h +0 -39
- data/ext/vendor/jansson-2.5/src/jansson_config.h.in +0 -39
- data/ext/vendor/jansson-2.5/src/jansson_private.h +0 -93
- data/ext/vendor/jansson-2.5/src/load.c +0 -1077
- data/ext/vendor/jansson-2.5/src/memory.c +0 -56
- data/ext/vendor/jansson-2.5/src/pack_unpack.c +0 -762
- data/ext/vendor/jansson-2.5/src/strbuffer.c +0 -116
- data/ext/vendor/jansson-2.5/src/strbuffer.h +0 -33
- data/ext/vendor/jansson-2.5/src/strconv.c +0 -134
- data/ext/vendor/jansson-2.5/src/utf.c +0 -190
- data/ext/vendor/jansson-2.5/src/utf.h +0 -39
- data/ext/vendor/jansson-2.5/src/value.c +0 -950
- data/ext/vendor/jansson-2.5/test/Makefile.in +0 -684
- data/ext/vendor/jansson-2.5/test/bin/Makefile.in +0 -498
- data/ext/vendor/jansson-2.5/test/bin/json_process.c +0 -349
- data/ext/vendor/jansson-2.5/test/run-suites +0 -50
- data/ext/vendor/jansson-2.5/test/scripts/run-tests.sh +0 -100
- data/ext/vendor/jansson-2.5/test/scripts/valgrind.sh +0 -35
- data/ext/vendor/jansson-2.5/test/suites/Makefile.in +0 -580
- data/ext/vendor/jansson-2.5/test/suites/api/Makefile.in +0 -632
- data/ext/vendor/jansson-2.5/test/suites/api/run +0 -36
- data/ext/vendor/jansson-2.5/test/suites/api/test_array.c +0 -432
- data/ext/vendor/jansson-2.5/test/suites/api/test_copy.c +0 -318
- data/ext/vendor/jansson-2.5/test/suites/api/test_dump.c +0 -190
- data/ext/vendor/jansson-2.5/test/suites/api/test_dump_callback.c +0 -81
- data/ext/vendor/jansson-2.5/test/suites/api/test_equal.c +0 -189
- data/ext/vendor/jansson-2.5/test/suites/api/test_load.c +0 -166
- data/ext/vendor/jansson-2.5/test/suites/api/test_loadb.c +0 -36
- data/ext/vendor/jansson-2.5/test/suites/api/test_memory_funcs.c +0 -82
- data/ext/vendor/jansson-2.5/test/suites/api/test_number.c +0 -73
- data/ext/vendor/jansson-2.5/test/suites/api/test_object.c +0 -511
- data/ext/vendor/jansson-2.5/test/suites/api/test_pack.c +0 -283
- data/ext/vendor/jansson-2.5/test/suites/api/test_simple.c +0 -199
- data/ext/vendor/jansson-2.5/test/suites/api/test_unpack.c +0 -373
- data/ext/vendor/jansson-2.5/test/suites/api/util.h +0 -74
- data/ext/vendor/jansson-2.5/test/suites/invalid-unicode/run +0 -27
- data/ext/vendor/jansson-2.5/test/suites/invalid/escaped-null-byte-in-string/error +0 -2
- data/ext/vendor/jansson-2.5/test/suites/invalid/escaped-null-byte-in-string/input +0 -1
- data/ext/vendor/jansson-2.5/test/suites/invalid/run +0 -57
- data/ext/vendor/jansson-2.5/test/suites/valid/run +0 -56
- data/ext/vendor/jansson-2.5/win32/jansson_config.h +0 -39
- data/ext/vendor/jansson-2.5/win32/vs2010/jansson.sln +0 -20
- data/ext/vendor/jansson-2.5/win32/vs2010/jansson.vcxproj +0 -108
- data/ext/vendor/jansson-2.5/win32/vs2010/jansson.vcxproj.filters +0 -69
- data/ext/vendor/jansson-2.5/win32/vs2010/jansson.vcxproj.user +0 -3
- data/lib/ctags/exuberant.rb +0 -87
@@ -0,0 +1,162 @@
|
|
1
|
+
/*
|
2
|
+
* MIO, an I/O abstraction layer replicating C file I/O API.
|
3
|
+
* Copyright (C) 2010 Colomban Wendling <ban@herbesfolles.org>
|
4
|
+
*
|
5
|
+
* This program is free software; you can redistribute it and/or modify
|
6
|
+
* it under the terms of the GNU General Public License as published by
|
7
|
+
* the Free Software Foundation; either version 2 of the License, or
|
8
|
+
* (at your option) any later version.
|
9
|
+
*
|
10
|
+
* This program is distributed in the hope that it will be useful,
|
11
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
+
* GNU General Public License for more details.
|
14
|
+
*
|
15
|
+
* You should have received a copy of the GNU General Public License along
|
16
|
+
* with this program; if not, write to the Free Software Foundation, Inc.,
|
17
|
+
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
18
|
+
*
|
19
|
+
*/
|
20
|
+
|
21
|
+
#ifndef MIO_H
|
22
|
+
#define MIO_H
|
23
|
+
|
24
|
+
#ifndef QUALIFIER
|
25
|
+
#include "general.h" /* must always come first */
|
26
|
+
#else
|
27
|
+
#include "gcc-attr.h"
|
28
|
+
#endif
|
29
|
+
|
30
|
+
#include <stdio.h>
|
31
|
+
#include <stdarg.h>
|
32
|
+
|
33
|
+
|
34
|
+
/**
|
35
|
+
* MIOType:
|
36
|
+
* @MIO_TYPE_FILE: #MIO object works on a file
|
37
|
+
* @MIO_TYPE_MEMORY: #MIO object works in-memory
|
38
|
+
*
|
39
|
+
* Existing implementations.
|
40
|
+
*/
|
41
|
+
enum _MIOType {
|
42
|
+
MIO_TYPE_FILE,
|
43
|
+
MIO_TYPE_MEMORY
|
44
|
+
};
|
45
|
+
|
46
|
+
typedef enum _MIOType MIOType;
|
47
|
+
typedef struct _MIO MIO;
|
48
|
+
typedef struct _MIOPos MIOPos;
|
49
|
+
|
50
|
+
/**
|
51
|
+
* MIOReallocFunc:
|
52
|
+
* @ptr: Pointer to the memory to resize
|
53
|
+
* @size: New size of the memory pointed by @ptr
|
54
|
+
*
|
55
|
+
* A function following the realloc() semantic.
|
56
|
+
*
|
57
|
+
* Returns: A pointer to the start of the new memory, or %NULL on failure.
|
58
|
+
*/
|
59
|
+
typedef void *(* MIOReallocFunc) (void * ptr, size_t size);
|
60
|
+
|
61
|
+
/**
|
62
|
+
* MIOFOpenFunc:
|
63
|
+
* @filename: The filename to open
|
64
|
+
* @mode: fopen() modes for opening @filename
|
65
|
+
*
|
66
|
+
* A function following the fclose() semantic, used to close a #FILE
|
67
|
+
* object.
|
68
|
+
*
|
69
|
+
* Returns: A new #FILE object, or %NULL on failure
|
70
|
+
*/
|
71
|
+
typedef FILE *(* MIOFOpenFunc) (const char *filename, const char *mode);
|
72
|
+
|
73
|
+
/**
|
74
|
+
* MIOFCloseFunc:
|
75
|
+
* @fp: An opened #FILE object
|
76
|
+
*
|
77
|
+
* A function following the fclose() semantic, used to close a #FILE
|
78
|
+
* object.
|
79
|
+
*
|
80
|
+
* Returns: 0 on success, EOF otherwise.
|
81
|
+
*/
|
82
|
+
typedef int (* MIOFCloseFunc) (FILE *fp);
|
83
|
+
|
84
|
+
/**
|
85
|
+
* MIODestroyNotify:
|
86
|
+
* @data: Data element being destroyed
|
87
|
+
*
|
88
|
+
* Specifies the type of function which is called when a data element is
|
89
|
+
* destroyed. It is passed the pointer to the data element and should free any
|
90
|
+
* memory and resources allocated for it.
|
91
|
+
*/
|
92
|
+
typedef void (*MIODestroyNotify) (void *data);
|
93
|
+
|
94
|
+
/**
|
95
|
+
* MIOPos:
|
96
|
+
*
|
97
|
+
* An object representing the state of a #MIO stream. This object can be
|
98
|
+
* statically allocated but all its fields are private and should not be
|
99
|
+
* accessed directly.
|
100
|
+
*/
|
101
|
+
struct _MIOPos {
|
102
|
+
/*< private >*/
|
103
|
+
MIOType type;
|
104
|
+
#ifdef MIO_DEBUG
|
105
|
+
void *tag;
|
106
|
+
#endif
|
107
|
+
union {
|
108
|
+
fpos_t file;
|
109
|
+
size_t mem;
|
110
|
+
} impl;
|
111
|
+
};
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
MIO *mio_new_file (const char *filename, const char *mode);
|
116
|
+
MIO *mio_new_file_full (const char *filename,
|
117
|
+
const char *mode,
|
118
|
+
MIOFOpenFunc open_func,
|
119
|
+
MIOFCloseFunc close_func);
|
120
|
+
MIO *mio_new_fp (FILE *fp, MIOFCloseFunc close_func);
|
121
|
+
MIO *mio_new_memory (unsigned char *data,
|
122
|
+
size_t size,
|
123
|
+
MIOReallocFunc realloc_func,
|
124
|
+
MIODestroyNotify free_func);
|
125
|
+
|
126
|
+
MIO *mio_new_mio (MIO *base, long start, size_t size);
|
127
|
+
MIO *mio_ref (MIO *mio);
|
128
|
+
|
129
|
+
int mio_free (MIO *mio);
|
130
|
+
FILE *mio_file_get_fp (MIO *mio);
|
131
|
+
unsigned char *mio_memory_get_data (MIO *mio, size_t *size);
|
132
|
+
size_t mio_read (MIO *mio,
|
133
|
+
void *ptr,
|
134
|
+
size_t size,
|
135
|
+
size_t nmemb);
|
136
|
+
size_t mio_write (MIO *mio,
|
137
|
+
const void *ptr,
|
138
|
+
size_t size,
|
139
|
+
size_t nmemb);
|
140
|
+
int mio_getc (MIO *mio);
|
141
|
+
char *mio_gets (MIO *mio, char *s, size_t size);
|
142
|
+
int mio_ungetc (MIO *mio, int ch);
|
143
|
+
int mio_putc (MIO *mio, int c);
|
144
|
+
int mio_puts (MIO *mio, const char *s);
|
145
|
+
|
146
|
+
int mio_vprintf (MIO *mio, const char *format, va_list ap) CTAGS_ATTR_PRINTF (2, 0);
|
147
|
+
int mio_printf (MIO *mio, const char *format, ...) CTAGS_ATTR_PRINTF (2, 3);
|
148
|
+
|
149
|
+
void mio_clearerr (MIO *mio);
|
150
|
+
int mio_eof (MIO *mio);
|
151
|
+
int mio_error (MIO *mio);
|
152
|
+
int mio_seek (MIO *mio, long offset, int whence);
|
153
|
+
long mio_tell (MIO *mio);
|
154
|
+
void mio_rewind (MIO *mio);
|
155
|
+
int mio_getpos (MIO *mio, MIOPos *pos);
|
156
|
+
int mio_setpos (MIO *mio, MIOPos *pos);
|
157
|
+
int mio_flush (MIO *mio);
|
158
|
+
|
159
|
+
void mio_attach_user_data (MIO *mio, void *user_data, MIODestroyNotify user_data_free_func);
|
160
|
+
void *mio_get_user_data (MIO *mio);
|
161
|
+
|
162
|
+
#endif /* MIO_H */
|
@@ -0,0 +1,109 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 1999-2002, Darren Hiebert
|
3
|
+
* Copyright 2009-2011 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
4
|
+
*
|
5
|
+
* This source code is released for free distribution under the terms of the
|
6
|
+
* GNU General Public License version 2 or (at your option) any later version.
|
7
|
+
*
|
8
|
+
* Defines external interface to scope nesting levels for tags.
|
9
|
+
*/
|
10
|
+
|
11
|
+
/*
|
12
|
+
* INCLUDE FILES
|
13
|
+
*/
|
14
|
+
#include "general.h" /* must always come first */
|
15
|
+
|
16
|
+
#include "main.h"
|
17
|
+
#include "debug.h"
|
18
|
+
#include "routines.h"
|
19
|
+
#include "nestlevel.h"
|
20
|
+
|
21
|
+
/* TODO: Alignment */
|
22
|
+
#define NL_SIZE(nls) (sizeof(NestingLevel) + (nls)->userDataSize)
|
23
|
+
#define NL_NTH(nls,n) (NestingLevel *)(((char *)((nls)->levels)) + ((n) * NL_SIZE (nls)))
|
24
|
+
|
25
|
+
/*
|
26
|
+
* FUNCTION DEFINITIONS
|
27
|
+
*/
|
28
|
+
|
29
|
+
extern NestingLevels *nestingLevelsNew(size_t userDataSize)
|
30
|
+
{
|
31
|
+
NestingLevels *nls = xCalloc (1, NestingLevels);
|
32
|
+
nls->userDataSize = userDataSize;
|
33
|
+
return nls;
|
34
|
+
}
|
35
|
+
|
36
|
+
extern void nestingLevelsFree(NestingLevels *nls)
|
37
|
+
{
|
38
|
+
int i;
|
39
|
+
NestingLevel *nl;
|
40
|
+
|
41
|
+
for (i = 0; i < nls->allocated; i++)
|
42
|
+
{
|
43
|
+
nl = NL_NTH(nls, i);
|
44
|
+
nl->corkIndex = CORK_NIL;
|
45
|
+
}
|
46
|
+
if (nls->levels) eFree(nls->levels);
|
47
|
+
eFree(nls);
|
48
|
+
}
|
49
|
+
|
50
|
+
extern NestingLevel * nestingLevelsPush(NestingLevels *nls, int corkIndex)
|
51
|
+
{
|
52
|
+
NestingLevel *nl = NULL;
|
53
|
+
|
54
|
+
if (nls->n >= nls->allocated)
|
55
|
+
{
|
56
|
+
nls->allocated++;
|
57
|
+
nls->levels = eRealloc(nls->levels,
|
58
|
+
nls->allocated * NL_SIZE (nls));
|
59
|
+
}
|
60
|
+
nl = NL_NTH(nls, nls->n);
|
61
|
+
nls->n++;
|
62
|
+
|
63
|
+
nl->corkIndex = corkIndex;
|
64
|
+
return nl;
|
65
|
+
}
|
66
|
+
|
67
|
+
extern NestingLevel *nestingLevelsTruncate(NestingLevels *nls, int depth, int corkIndex)
|
68
|
+
{
|
69
|
+
NestingLevel *nl;
|
70
|
+
|
71
|
+
nls->n = depth;
|
72
|
+
nl = nestingLevelsGetCurrent(nls);
|
73
|
+
nl->corkIndex = corkIndex;
|
74
|
+
return nl;
|
75
|
+
}
|
76
|
+
|
77
|
+
|
78
|
+
extern void nestingLevelsPop(NestingLevels *nls)
|
79
|
+
{
|
80
|
+
NestingLevel *nl = nestingLevelsGetCurrent(nls);
|
81
|
+
|
82
|
+
Assert (nl != NULL);
|
83
|
+
nl->corkIndex = CORK_NIL;
|
84
|
+
nls->n--;
|
85
|
+
}
|
86
|
+
|
87
|
+
extern NestingLevel *nestingLevelsGetCurrent(const NestingLevels *nls)
|
88
|
+
{
|
89
|
+
Assert (nls != NULL);
|
90
|
+
|
91
|
+
if (nls->n < 1)
|
92
|
+
return NULL;
|
93
|
+
|
94
|
+
return NL_NTH(nls, (nls->n - 1));
|
95
|
+
}
|
96
|
+
|
97
|
+
extern NestingLevel *nestingLevelsGetNth(const NestingLevels *nls, int n)
|
98
|
+
{
|
99
|
+
Assert (nls != NULL);
|
100
|
+
if (nls->n > n && n >= 0)
|
101
|
+
return NL_NTH(nls, n);
|
102
|
+
else
|
103
|
+
return NULL;
|
104
|
+
}
|
105
|
+
|
106
|
+
extern void *nestingLevelGetUserData (const NestingLevel *nl)
|
107
|
+
{
|
108
|
+
return (void *)nl->userData;
|
109
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 1999-2002, Darren Hiebert
|
3
|
+
* Copyright 2009-2011 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
4
|
+
*
|
5
|
+
* This source code is released for free distribution under the terms of the
|
6
|
+
* GNU General Public License version 2 or (at your option) any later version.
|
7
|
+
*
|
8
|
+
* Defines external interface to scope nesting levels for tags.
|
9
|
+
*/
|
10
|
+
#ifndef CTAGS_MAIN_NESTLEVEL_H
|
11
|
+
#define CTAGS_MAIN_NESTLEVEL_H
|
12
|
+
|
13
|
+
/*
|
14
|
+
* INCLUDE FILES
|
15
|
+
*/
|
16
|
+
#include "general.h" /* must always come first */
|
17
|
+
|
18
|
+
#include "vstring.h"
|
19
|
+
|
20
|
+
/*
|
21
|
+
* DATA DECLARATIONS
|
22
|
+
*/
|
23
|
+
typedef struct NestingLevel NestingLevel;
|
24
|
+
typedef struct NestingLevels NestingLevels;
|
25
|
+
|
26
|
+
struct NestingLevel
|
27
|
+
{
|
28
|
+
int corkIndex;
|
29
|
+
char userData [];
|
30
|
+
};
|
31
|
+
|
32
|
+
struct NestingLevels
|
33
|
+
{
|
34
|
+
void *levels;
|
35
|
+
int n; /* number of levels in use */
|
36
|
+
int allocated;
|
37
|
+
size_t userDataSize;
|
38
|
+
};
|
39
|
+
|
40
|
+
/*
|
41
|
+
* FUNCTION PROTOTYPES
|
42
|
+
*/
|
43
|
+
extern NestingLevels *nestingLevelsNew(size_t userDataSize);
|
44
|
+
extern void nestingLevelsFree(NestingLevels *nls);
|
45
|
+
extern NestingLevel *nestingLevelsPush(NestingLevels *nls, int corkIndex);
|
46
|
+
extern NestingLevel * nestingLevelsTruncate(NestingLevels *nls, int depth, int corkIndex);
|
47
|
+
extern void nestingLevelsPop(NestingLevels *nls);
|
48
|
+
extern NestingLevel *nestingLevelsGetCurrent(const NestingLevels *nls);
|
49
|
+
extern NestingLevel *nestingLevelsGetNth(const NestingLevels *nls, int n);
|
50
|
+
|
51
|
+
extern void *nestingLevelGetUserData (const NestingLevel *nl);
|
52
|
+
|
53
|
+
#endif /* CTAGS_MAIN_NESTLEVEL_H */
|
@@ -0,0 +1,79 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2016, Jiri Techet
|
3
|
+
*
|
4
|
+
* This source code is released for free distribution under the terms of the
|
5
|
+
* GNU General Public License version 2 or (at your option) any later version.
|
6
|
+
*
|
7
|
+
* Defines generic pool for object reuse reducing the amount of allocations
|
8
|
+
* and deallocations.
|
9
|
+
*/
|
10
|
+
|
11
|
+
/*
|
12
|
+
* INCLUDE FILES
|
13
|
+
*/
|
14
|
+
#include "general.h" /* must always come first */
|
15
|
+
|
16
|
+
#include "routines.h"
|
17
|
+
#include "objpool.h"
|
18
|
+
|
19
|
+
/*
|
20
|
+
* DATA DECLARATIONS
|
21
|
+
*/
|
22
|
+
|
23
|
+
struct sObjPool {
|
24
|
+
ptrArray *array;
|
25
|
+
unsigned int size;
|
26
|
+
objPoolCreateFunc createFunc;
|
27
|
+
objPoolDeleteFunc deleteFunc;
|
28
|
+
objPoolClearFunc clearFunc;
|
29
|
+
};
|
30
|
+
|
31
|
+
/*
|
32
|
+
* FUNCTION DEFINITIONS
|
33
|
+
*/
|
34
|
+
extern objPool *objPoolNew (unsigned int size,
|
35
|
+
objPoolCreateFunc createFunc, objPoolDeleteFunc deleteFunc, objPoolClearFunc clearFunc)
|
36
|
+
{
|
37
|
+
objPool* const result = xMalloc (1, objPool);
|
38
|
+
result->array = ptrArrayNew (deleteFunc);
|
39
|
+
result->size = size;
|
40
|
+
result->createFunc = createFunc;
|
41
|
+
result->deleteFunc = deleteFunc;
|
42
|
+
result->clearFunc = clearFunc;
|
43
|
+
return result;
|
44
|
+
}
|
45
|
+
|
46
|
+
extern void objPoolDelete (objPool *pool)
|
47
|
+
{
|
48
|
+
ptrArrayDelete (pool->array);
|
49
|
+
eFree (pool);
|
50
|
+
}
|
51
|
+
|
52
|
+
extern void *objPoolGet (objPool *pool)
|
53
|
+
{
|
54
|
+
void *obj;
|
55
|
+
|
56
|
+
if (ptrArrayCount (pool->array) > 0)
|
57
|
+
{
|
58
|
+
obj = ptrArrayLast (pool->array);
|
59
|
+
ptrArrayRemoveLast (pool->array);
|
60
|
+
}
|
61
|
+
else
|
62
|
+
obj = pool->createFunc ();
|
63
|
+
|
64
|
+
if (pool->clearFunc)
|
65
|
+
pool->clearFunc (obj);
|
66
|
+
|
67
|
+
return obj;
|
68
|
+
}
|
69
|
+
|
70
|
+
extern void objPoolPut (objPool *pool, void *obj)
|
71
|
+
{
|
72
|
+
if (obj == NULL)
|
73
|
+
return;
|
74
|
+
|
75
|
+
if (ptrArrayCount (pool->array) < pool->size)
|
76
|
+
ptrArrayAdd (pool->array, obj);
|
77
|
+
else
|
78
|
+
pool->deleteFunc (obj);
|
79
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2016, Jiri Techet
|
3
|
+
*
|
4
|
+
* This source code is released for free distribution under the terms of the
|
5
|
+
* GNU General Public License version 2 or (at your option) any later version.
|
6
|
+
*
|
7
|
+
* Defines generic pool for object reuse reducing the amount of allocations
|
8
|
+
* and deallocations.
|
9
|
+
*/
|
10
|
+
#ifndef CTAGS_MAIN_OBJPOOL_H
|
11
|
+
#define CTAGS_MAIN_OBJPOOL_H
|
12
|
+
|
13
|
+
/*
|
14
|
+
* INCLUDE FILES
|
15
|
+
*/
|
16
|
+
#include "general.h" /* must always come first */
|
17
|
+
|
18
|
+
#include "ptrarray.h"
|
19
|
+
|
20
|
+
/*
|
21
|
+
* DATA DECLARATIONS
|
22
|
+
*/
|
23
|
+
typedef void * (*objPoolCreateFunc) (void);
|
24
|
+
typedef void (*objPoolDeleteFunc) (void *data);
|
25
|
+
typedef void (*objPoolClearFunc) (void *data);
|
26
|
+
|
27
|
+
struct sObjPool;
|
28
|
+
typedef struct sObjPool objPool;
|
29
|
+
|
30
|
+
/*
|
31
|
+
* FUNCTION PROTOTYPES
|
32
|
+
*/
|
33
|
+
extern objPool *objPoolNew (unsigned int size,
|
34
|
+
objPoolCreateFunc createFunc, objPoolDeleteFunc deleteFunc, objPoolClearFunc clearFunc);
|
35
|
+
extern void objPoolDelete (objPool *pool);
|
36
|
+
extern void *objPoolGet (objPool *pool);
|
37
|
+
extern void objPoolPut (objPool *pool, void *obj);
|
38
|
+
|
39
|
+
#endif /* CTAGS_MAIN_OBJPOOL_H */
|
@@ -0,0 +1,3371 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 1996-2003, Darren Hiebert
|
3
|
+
*
|
4
|
+
* This source code is released for free distribution under the terms of the
|
5
|
+
* GNU General Public License version 2 or (at your option) any later version.
|
6
|
+
*
|
7
|
+
* This module contains functions to process command line options.
|
8
|
+
*/
|
9
|
+
|
10
|
+
/*
|
11
|
+
* INCLUDE FILES
|
12
|
+
*/
|
13
|
+
#include "general.h" /* must always come first */
|
14
|
+
|
15
|
+
#ifndef _GNU_SOURCE
|
16
|
+
# define _GNU_SOURCE /* for asprintf */
|
17
|
+
#endif
|
18
|
+
#include <stdlib.h>
|
19
|
+
#include <string.h>
|
20
|
+
#include <stdio.h>
|
21
|
+
#include <ctype.h> /* to declare isspace () */
|
22
|
+
|
23
|
+
#if defined(HAVE_SCANDIR)
|
24
|
+
#include <dirent.h>
|
25
|
+
#endif
|
26
|
+
|
27
|
+
#include "ctags.h"
|
28
|
+
#include "debug.h"
|
29
|
+
#include "field.h"
|
30
|
+
#include "main.h"
|
31
|
+
#define OPTION_WRITE
|
32
|
+
#include "options.h"
|
33
|
+
#include "parse.h"
|
34
|
+
#include "ptag.h"
|
35
|
+
#include "routines.h"
|
36
|
+
#include "xtag.h"
|
37
|
+
#include "routines.h"
|
38
|
+
#include "error.h"
|
39
|
+
#include "interactive.h"
|
40
|
+
#include "writer.h"
|
41
|
+
|
42
|
+
/*
|
43
|
+
* MACROS
|
44
|
+
*/
|
45
|
+
#define INVOCATION "Usage: %s [options] [file(s)]\n"
|
46
|
+
|
47
|
+
#define CTAGS_DATA_PATH_ENVIRONMENT "CTAGS_DATA_PATH"
|
48
|
+
#define CTAGS_LIBEXEC_PATH_ENVIRONMENT "CTAGS_LIBEXEC_PATH"
|
49
|
+
#define CTAGS_ENVIRONMENT "CTAGS"
|
50
|
+
#define ETAGS_ENVIRONMENT "ETAGS"
|
51
|
+
|
52
|
+
#define CTAGS_FILE "tags"
|
53
|
+
#define ETAGS_FILE "TAGS"
|
54
|
+
|
55
|
+
#ifndef ETAGS
|
56
|
+
# define ETAGS "etags" /* name which causes default use of to -e */
|
57
|
+
#endif
|
58
|
+
|
59
|
+
/* The following separators are permitted for list options.
|
60
|
+
*/
|
61
|
+
#define EXTENSION_SEPARATOR '.'
|
62
|
+
#define PATTERN_START '('
|
63
|
+
#define PATTERN_STOP ')'
|
64
|
+
#define IGNORE_SEPARATORS ", \t\n"
|
65
|
+
|
66
|
+
#ifndef DEFAULT_FILE_FORMAT
|
67
|
+
# define DEFAULT_FILE_FORMAT 2
|
68
|
+
#endif
|
69
|
+
|
70
|
+
#if defined (HAVE_OPENDIR) || defined (HAVE_FINDFIRST) || defined (HAVE__FINDFIRST)
|
71
|
+
# define RECURSE_SUPPORTED
|
72
|
+
#endif
|
73
|
+
|
74
|
+
#define isCompoundOption(c) (bool) (strchr ("fohiILpdDb", (c)) != NULL)
|
75
|
+
|
76
|
+
#define SUBDIR_OPTLIB "optlib"
|
77
|
+
#define SUBDIR_PRELOAD "preload"
|
78
|
+
#define SUBDIR_DRIVERS "drivers"
|
79
|
+
|
80
|
+
#define ENTER(STAGE) do { \
|
81
|
+
Assert (Stage <= OptionLoadingStage##STAGE); \
|
82
|
+
Stage = OptionLoadingStage##STAGE; \
|
83
|
+
} while (0)
|
84
|
+
#define ACCEPT(STAGE) (1UL << OptionLoadingStage##STAGE)
|
85
|
+
|
86
|
+
/*
|
87
|
+
* Data declarations
|
88
|
+
*/
|
89
|
+
|
90
|
+
enum eOptionLimits {
|
91
|
+
MaxHeaderExtensions = 100, /* maximum number of extensions in -h option */
|
92
|
+
MaxSupportedTagFormat = 2
|
93
|
+
};
|
94
|
+
|
95
|
+
typedef struct sOptionDescription {
|
96
|
+
int usedByEtags;
|
97
|
+
const char *description;
|
98
|
+
} optionDescription;
|
99
|
+
|
100
|
+
typedef void (*parametricOptionHandler) (const char *const option, const char *const parameter);
|
101
|
+
|
102
|
+
typedef const struct {
|
103
|
+
const char* name; /* name of option as specified by user */
|
104
|
+
parametricOptionHandler handler; /* routine to handle option */
|
105
|
+
bool initOnly; /* option must be specified before any files */
|
106
|
+
unsigned long acceptableStages;
|
107
|
+
} parametricOption;
|
108
|
+
|
109
|
+
typedef const struct sBooleanOption {
|
110
|
+
const char* name; /* name of option as specified by user */
|
111
|
+
bool* pValue; /* pointer to option value */
|
112
|
+
bool initOnly; /* option must be specified before any files */
|
113
|
+
unsigned long acceptableStages;
|
114
|
+
bool* (* redirect) (const struct sBooleanOption *const option);
|
115
|
+
} booleanOption;
|
116
|
+
|
117
|
+
/*
|
118
|
+
* DATA DEFINITIONS
|
119
|
+
*/
|
120
|
+
|
121
|
+
static bool NonOptionEncountered = false;
|
122
|
+
static stringList *OptionFiles;
|
123
|
+
|
124
|
+
typedef stringList searchPathList;
|
125
|
+
static searchPathList *OptlibPathList;
|
126
|
+
static searchPathList *PreloadPathList;
|
127
|
+
static searchPathList *DriversPathList;
|
128
|
+
|
129
|
+
static stringList* Excluded;
|
130
|
+
static bool FilesRequired = true;
|
131
|
+
static bool SkipConfiguration;
|
132
|
+
|
133
|
+
static const char *const HeaderExtensions [] = {
|
134
|
+
"h", "H", "hh", "hpp", "hxx", "h++", "inc", "def", NULL
|
135
|
+
};
|
136
|
+
|
137
|
+
optionValues Option = {
|
138
|
+
false, /* -a */
|
139
|
+
false, /* -B */
|
140
|
+
false, /* -e */
|
141
|
+
#ifdef MACROS_USE_PATTERNS
|
142
|
+
EX_PATTERN, /* -n, --excmd */
|
143
|
+
#else
|
144
|
+
EX_MIX, /* -n, --excmd */
|
145
|
+
#endif
|
146
|
+
false, /* -R */
|
147
|
+
SO_SORTED, /* -u, --sort */
|
148
|
+
false, /* -V */
|
149
|
+
false, /* -x */
|
150
|
+
.customXfmt = NULL,
|
151
|
+
NULL, /* -L */
|
152
|
+
NULL, /* -o */
|
153
|
+
NULL, /* -h */
|
154
|
+
NULL, /* --config-filename */
|
155
|
+
NULL, /* --etags-include */
|
156
|
+
DEFAULT_FILE_FORMAT,/* --format */
|
157
|
+
#ifdef HAVE_ICONV
|
158
|
+
NULL, /* --input-encoding */
|
159
|
+
NULL, /* --output-encoding */
|
160
|
+
#endif
|
161
|
+
LANG_AUTO, /* --lang */
|
162
|
+
true, /* --links */
|
163
|
+
false, /* --filter */
|
164
|
+
NULL, /* --filter-terminator */
|
165
|
+
false, /* --tag-relative */
|
166
|
+
false, /* --totals */
|
167
|
+
false, /* --line-directives */
|
168
|
+
false, /* --print-language */
|
169
|
+
false, /* --guess-language-eagerly(-G) */
|
170
|
+
false, /* --quiet */
|
171
|
+
false, /* --_allow-xcmd-in-homedir */
|
172
|
+
false, /* --_fatal-warnings */
|
173
|
+
.patternLengthLimit = 96,
|
174
|
+
.putFieldPrefix = false,
|
175
|
+
.maxRecursionDepth = 0xffffffff,
|
176
|
+
.machinable = false,
|
177
|
+
.withListHeader = true,
|
178
|
+
#ifdef DEBUG
|
179
|
+
0, 0 /* -d, -b */
|
180
|
+
#endif
|
181
|
+
};
|
182
|
+
|
183
|
+
static OptionLoadingStage Stage = OptionLoadingStageNone;
|
184
|
+
#define STAGE_ANY ~0UL
|
185
|
+
|
186
|
+
/*
|
187
|
+
- Locally used only
|
188
|
+
*/
|
189
|
+
|
190
|
+
static optionDescription LongOptionDescription [] = {
|
191
|
+
{1," -a Append the tags to an existing tag file."},
|
192
|
+
#ifdef DEBUG
|
193
|
+
{1," -b <line>"},
|
194
|
+
{1," Set break line."},
|
195
|
+
#endif
|
196
|
+
{0," -B Use backward searching patterns (?...?)."},
|
197
|
+
#ifdef DEBUG
|
198
|
+
{1," -d <level>"},
|
199
|
+
{1," Set debug level."},
|
200
|
+
#endif
|
201
|
+
{1," -D <macro>=<definition>"},
|
202
|
+
{1," (CPreProcessor) Give definition for macro."},
|
203
|
+
{0," -e Output tag file for use with Emacs."},
|
204
|
+
{1," -f <name>"},
|
205
|
+
{1," Write tags to specified file. Value of \"-\" writes tags to stdout"},
|
206
|
+
{1," [\"tags\"; or \"TAGS\" when -e supplied]."},
|
207
|
+
{0," -F Use forward searching patterns (/.../; default)."},
|
208
|
+
{1," -G Equivalent to --guess-language-eagerly."},
|
209
|
+
{1," -h <list>"},
|
210
|
+
{1," Specify list of file extensions to be treated as include files"},
|
211
|
+
{1," [\".h.H.hh.hpp.hxx.h++.inc.def\"]."},
|
212
|
+
{1," -I <list|@file>"},
|
213
|
+
{1," A list of tokens to be specially handled is read from either the"},
|
214
|
+
{1," command line or the specified file."},
|
215
|
+
{1," -L <file>"},
|
216
|
+
{1," A list of input file names is read from the specified file."},
|
217
|
+
{1," If specified as \"-\", then standard input is read."},
|
218
|
+
{0," -n Equivalent to --excmd=number."},
|
219
|
+
{0," -N Equivalent to --excmd=pattern."},
|
220
|
+
{1," -o Alternative for -f."},
|
221
|
+
#ifdef RECURSE_SUPPORTED
|
222
|
+
{1," -R Equivalent to --recurse."},
|
223
|
+
#else
|
224
|
+
{1," -R Not supported on this platform."},
|
225
|
+
#endif
|
226
|
+
{0," -u Equivalent to --sort=no."},
|
227
|
+
{1," -V Equivalent to --verbose."},
|
228
|
+
{1," -x Print a tabular cross reference file to standard output."},
|
229
|
+
{1," --alias-<LANG>=[+|-]aliasPattern"},
|
230
|
+
{1," Add a pattern detecting a name, can be used as an alternative name"},
|
231
|
+
{1," for LANG."},
|
232
|
+
{1," --append=[yes|no]"},
|
233
|
+
{1," Should tags should be appended to existing tag file [no]?"},
|
234
|
+
{1," --config-filename=fileName"},
|
235
|
+
{1," Use 'fileName' instead of 'ctags' in option file names."},
|
236
|
+
{1," --data-dir=[+]DIR"},
|
237
|
+
{1," Add or set DIR to data directory search path."},
|
238
|
+
{1," --etags-include=file"},
|
239
|
+
{1," Include reference to 'file' in Emacs-style tag file (requires -e)."},
|
240
|
+
{1," --exclude=pattern"},
|
241
|
+
{1," Exclude files and directories matching 'pattern'."},
|
242
|
+
{0," --excmd=number|pattern|mix"},
|
243
|
+
#ifdef MACROS_USE_PATTERNS
|
244
|
+
{0," Uses the specified type of EX command to locate tags [pattern]."},
|
245
|
+
#else
|
246
|
+
{0," Uses the specified type of EX command to locate tags [mix]."},
|
247
|
+
#endif
|
248
|
+
{1," --extra=[+|-]flags"},
|
249
|
+
{1," Include extra tag entries for selected information (flags: \"Ffq.\") [F]."},
|
250
|
+
{1," --fields=[+|-]flags"},
|
251
|
+
{1," Include selected extension fields (flags: \"afmikKlnsStzZ\") [fks]."},
|
252
|
+
{1," --fields-<LANG|*>=[+|-]flags"},
|
253
|
+
{1," Include selected <LANG> own extension fields"},
|
254
|
+
{1," (flags: --list-fields=<LANG>)."},
|
255
|
+
{1," --file-scope=[yes|no]"},
|
256
|
+
{1," Should tags scoped only for a single file (e.g. \"static\" tags)"},
|
257
|
+
{1," be included in the output [yes]?"},
|
258
|
+
{1," --filter=[yes|no]"},
|
259
|
+
{1," Behave as a filter, reading file names from standard input and"},
|
260
|
+
{1," writing tags to standard output [no]."},
|
261
|
+
{1," --filter-terminator=string"},
|
262
|
+
{1," Specify string to print to stdout following the tags for each file"},
|
263
|
+
{1," parsed when --filter is enabled."},
|
264
|
+
{0," --format=level"},
|
265
|
+
#if DEFAULT_FILE_FORMAT == 1
|
266
|
+
{0," Force output of specified tag file format [1]."},
|
267
|
+
#else
|
268
|
+
{0," Force output of specified tag file format [2]."},
|
269
|
+
#endif
|
270
|
+
{1," --guess-language-eagerly"},
|
271
|
+
{1," Guess the language of input file more eagerly"},
|
272
|
+
{1," (but taking longer time for guessing):"},
|
273
|
+
{1," o shebang, even if the input file is not executable,"},
|
274
|
+
{1," o emacs mode specification at the beginning and end of input file, and"},
|
275
|
+
{1," o vim syntax specification at the end of input file."},
|
276
|
+
{1," --help"},
|
277
|
+
{1," Print this option summary."},
|
278
|
+
{1," --if0=[yes|no]"},
|
279
|
+
{1," Should code within #if 0 conditional branches be parsed [no]?"},
|
280
|
+
#ifdef HAVE_JANSSON
|
281
|
+
{1," --interactive"},
|
282
|
+
{1," Enter interactive mode (json over stdio)."},
|
283
|
+
#endif
|
284
|
+
#ifdef HAVE_ICONV
|
285
|
+
{1," --input-encoding=encoding"},
|
286
|
+
{1," Specify encoding of all input files."},
|
287
|
+
{1," --input-encoding-<LANG>=encoding"},
|
288
|
+
{1," Specify encoding of the LANG input files."},
|
289
|
+
#endif
|
290
|
+
{1," --kinds-<LANG>=[+|-]kinds, or"},
|
291
|
+
{1," --<LANG>-kinds=[+|-]kinds"},
|
292
|
+
{1," Enable/disable tag kinds for language <LANG>."},
|
293
|
+
{1," --langdef=name"},
|
294
|
+
{1," Define a new language to be parsed with regular expressions."},
|
295
|
+
{1," --langmap=map(s)"},
|
296
|
+
{1," Override default mapping of language to input file extension."},
|
297
|
+
{1," --language-force=language"},
|
298
|
+
{1," Force all files to be interpreted using specified language."},
|
299
|
+
{1," --languages=[+|-]list"},
|
300
|
+
{1," Restrict files scanned for tags to those mapped to languages"},
|
301
|
+
{1," specified in the comma-separated 'list'. The list can contain any"},
|
302
|
+
{1," built-in or user-defined language [all]."},
|
303
|
+
{1," --libexec-dir=[+]DIR"},
|
304
|
+
{1," Add or set DIR to libexec directory search path."},
|
305
|
+
{1," --license"},
|
306
|
+
{1," Print details of software license."},
|
307
|
+
{0," --line-directives=[yes|no]"},
|
308
|
+
{0," Should #line directives be processed [no]?"},
|
309
|
+
{1," --links=[yes|no]"},
|
310
|
+
{1," Indicate whether symbolic links should be followed [yes]."},
|
311
|
+
{1," --list-aliases=[language|all]"},
|
312
|
+
{1," Output list of alias patterns."},
|
313
|
+
{1," --list-extensions=[language|all]"},
|
314
|
+
{1," Output list of language extensions in mapping."},
|
315
|
+
{1," --list-extra"},
|
316
|
+
{1," Output list of extra tag flags."},
|
317
|
+
{1," --list-features"},
|
318
|
+
{1," Output list of features."},
|
319
|
+
{1," --list-fields=[language|all]"},
|
320
|
+
{1," Output list of fields. This works with --machinable."},
|
321
|
+
{1," --list-file-kind"},
|
322
|
+
{1," List kind letter for file."},
|
323
|
+
{1," --list-kinds=[language|all]"},
|
324
|
+
{1," Output a list of all tag kinds for specified language or all."},
|
325
|
+
{1," --list-kinds-full=[language|all]"},
|
326
|
+
{1," List the details of all tag kinds for specified language or all"},
|
327
|
+
{1," For each line, associated language name is printed when \"all\" is"},
|
328
|
+
{1," specified as language. This works with --machinable."},
|
329
|
+
{1," --list-languages"},
|
330
|
+
{1," Output list of supported languages."},
|
331
|
+
{1," --list-maps=[language|all]"},
|
332
|
+
{1," Output list of language mappings(both extensions and patterns)."},
|
333
|
+
{1," --list-params=[language|all]"},
|
334
|
+
{1," Output list of language parameters. This works with --machinable."},
|
335
|
+
{1," --list-patterns=[language|all]"},
|
336
|
+
{1," Output list of language patterns in mapping."},
|
337
|
+
{0," --list-pseudo-tags"},
|
338
|
+
{0," Output list of pseudo tags."},
|
339
|
+
{1," --list-regex-flags"},
|
340
|
+
{1," Output list of flags which can be used in a regex parser definition."},
|
341
|
+
{1," --machinable=[yes|no]"},
|
342
|
+
{1," Use tab separated representation in --list- option output. [no]"},
|
343
|
+
{1," --list-extra, --list-fields, --list-kinds-full, and --list-params support this option."},
|
344
|
+
{1," Suitable for scripting. Specify before --list-* option."},
|
345
|
+
{1," --map-<LANG>=[+|-]pattern|extension"},
|
346
|
+
{1," Set or add(+) a map for <LANG>."},
|
347
|
+
{1," Unlike --langmap, only one pattern or one extension can be specified"},
|
348
|
+
{1," at once. Unlike, --langmap adding one affects the map of LANG; it does"},
|
349
|
+
{1," not affect the maps of the other languages."},
|
350
|
+
{1," --maxdepth=N"},
|
351
|
+
#ifdef RECURSE_SUPPORTED
|
352
|
+
{1," Specify maximum recursion depth."},
|
353
|
+
#else
|
354
|
+
{1," Not supported on this platform."},
|
355
|
+
#endif
|
356
|
+
{1," --options=file"},
|
357
|
+
{1," Specify file from which command line options should be read."},
|
358
|
+
#ifdef HAVE_ICONV
|
359
|
+
{1," --output-encoding=encoding"},
|
360
|
+
{1," The encoding to write the tag file in. Defaults to UTF-8 if --input-encoding"},
|
361
|
+
{1," is specified, otherwise no conversion is performed."},
|
362
|
+
#endif
|
363
|
+
{0," --output-format=ctags|etags|xref"
|
364
|
+
#ifdef HAVE_JANSSON
|
365
|
+
"|json"
|
366
|
+
#endif
|
367
|
+
},
|
368
|
+
{0," Specify the output format. [ctags]"},
|
369
|
+
{1," --param-<LANG>=name:argument"},
|
370
|
+
{1," Set <LANG> specific parameter. Available parameters can be listed with --list-params."},
|
371
|
+
{0," --pattern-length-limit=N"},
|
372
|
+
{0," Cutoff patterns of tag entries after N characters. Disable by setting to 0. [96]"},
|
373
|
+
{0," --print-language"},
|
374
|
+
{0," Don't make tags file but just print the guessed language name for"},
|
375
|
+
{0," input file."},
|
376
|
+
{0," --pseudo-tags=[+|-]ptag"},
|
377
|
+
{0," --pseudo-tags=*"},
|
378
|
+
{0," Enable/disable emitting pseudo tag named ptag."},
|
379
|
+
{0," if * is given, enable emitting all pseudo tags."},
|
380
|
+
{0," --put-field-prefix"},
|
381
|
+
{0," Put \"" CTAGS_FIELD_PREFIX "\" as prefix for the name of fields newly introduced in"},
|
382
|
+
{0," universal-ctags."},
|
383
|
+
{1," --quiet=[yes|no]"},
|
384
|
+
{0," Don't print NOTICE class messages [no]."},
|
385
|
+
{1," --recurse=[yes|no]"},
|
386
|
+
#ifdef RECURSE_SUPPORTED
|
387
|
+
{1," Recurse into directories supplied on command line [no]."},
|
388
|
+
#else
|
389
|
+
{1," Not supported on this platform."},
|
390
|
+
#endif
|
391
|
+
{1," --regex-<LANG>=/line_pattern/name_pattern/[flags]"},
|
392
|
+
{1," Define regular expression for locating tags in specific language."},
|
393
|
+
{0," --sort=[yes|no|foldcase]"},
|
394
|
+
{0," Should tags be sorted (optionally ignoring case) [yes]?"},
|
395
|
+
{0," --tag-relative=[yes|no]"},
|
396
|
+
{0," Should paths be relative to location of tag file [no; yes when -e]?"},
|
397
|
+
{1," --totals=[yes|no]"},
|
398
|
+
{1," Print statistics about input and tag files [no]."},
|
399
|
+
{1," --verbose=[yes|no]"},
|
400
|
+
{1," Enable verbose messages describing actions on each input file."},
|
401
|
+
{1," --version"},
|
402
|
+
{1," Print version identifier to standard output."},
|
403
|
+
{1," --with-list-header=[yes|no]"},
|
404
|
+
{1," Preprend the column descriptions in --list- output. [yes]"},
|
405
|
+
{1," --list-extra, --list-fields, --list-kinds-full, and --list-params support this option."},
|
406
|
+
{1," Specify before --list-* option."},
|
407
|
+
#ifdef HAVE_COPROC
|
408
|
+
{1," --xcmd-<LANG>=parser_command_path|parser_command_name"},
|
409
|
+
{1," Define external parser command path or name for specific language."},
|
410
|
+
#endif
|
411
|
+
{1," --_allow-xcmd-in-homedir"},
|
412
|
+
{1," Allow specifying --xcmd-<LANG> option in ~/.ctags and/or ~/.ctags/*."},
|
413
|
+
{1," By default it is not allowed. This option itself can be specified only"},
|
414
|
+
{1," in /etc or /usr/local/etc."},
|
415
|
+
{1," --_echo=msg"},
|
416
|
+
{1," Echo MSG to standard error. Useful to debug the chain"},
|
417
|
+
{1," of loading option files."},
|
418
|
+
{1," --_fatal-warnings"},
|
419
|
+
{1," Make all warnings fatal."},
|
420
|
+
{1," --_force-quit=[num]"},
|
421
|
+
{1," Quit when the option is processed. Useful to debug the chain"},
|
422
|
+
{1," of loading option files."},
|
423
|
+
{1," --_list-roles=[[language|all]:[kindletters|*]]"},
|
424
|
+
{1," Output list of all roles of tag kind(s) specified for language(s)."},
|
425
|
+
{1," e.g. --_list-roles=Make:I"},
|
426
|
+
{1," --_xformat=field_format"},
|
427
|
+
{1," Specify custom format for tabular cross reference (-x)."},
|
428
|
+
{1," Fields can be specified with letter listed in --list-fields."},
|
429
|
+
{1," e.g. --_xformat=%10N %10l:%K @ %-20F:%-20n"},
|
430
|
+
{1, NULL}
|
431
|
+
};
|
432
|
+
|
433
|
+
static const char* const License1 =
|
434
|
+
"This program is free software; you can redistribute it and/or\n"
|
435
|
+
"modify it under the terms of the GNU General Public License\n"
|
436
|
+
"as published by the Free Software Foundation; either version 2"
|
437
|
+
"of the License, or (at your option) any later version.\n"
|
438
|
+
"\n";
|
439
|
+
static const char* const License2 =
|
440
|
+
"This program is distributed in the hope that it will be useful,\n"
|
441
|
+
"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
|
442
|
+
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
|
443
|
+
"GNU General Public License for more details.\n"
|
444
|
+
"\n"
|
445
|
+
"You should have received a copy of the GNU General Public License\n"
|
446
|
+
"along with this program; if not, write to the Free Software\n"
|
447
|
+
"Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n";
|
448
|
+
|
449
|
+
/* Contains a set of strings describing the set of "features" compiled into
|
450
|
+
* the code.
|
451
|
+
*/
|
452
|
+
static const char *const Features [] = {
|
453
|
+
#ifdef WIN32
|
454
|
+
"win32",
|
455
|
+
#endif
|
456
|
+
"wildcards", /* Always available on universal ctags */
|
457
|
+
"regex", /* Always available on universal ctags */
|
458
|
+
#ifndef EXTERNAL_SORT
|
459
|
+
"internal-sort",
|
460
|
+
#endif
|
461
|
+
#ifdef CUSTOM_CONFIGURATION_FILE
|
462
|
+
"custom-conf",
|
463
|
+
#endif
|
464
|
+
#if defined (WIN32) && defined (UNIX_PATH_SEPARATOR)
|
465
|
+
"unix-path-separator",
|
466
|
+
#endif
|
467
|
+
#ifdef HAVE_ICONV
|
468
|
+
"multibyte",
|
469
|
+
#endif
|
470
|
+
#ifdef DEBUG
|
471
|
+
"debug",
|
472
|
+
#endif
|
473
|
+
#ifdef HAVE_SCANDIR
|
474
|
+
"option-directory",
|
475
|
+
#endif
|
476
|
+
#ifdef HAVE_COPROC
|
477
|
+
"coproc",
|
478
|
+
#endif
|
479
|
+
#ifdef HAVE_LIBXML
|
480
|
+
"xpath",
|
481
|
+
#endif
|
482
|
+
#ifdef HAVE_JANSSON
|
483
|
+
"json",
|
484
|
+
"interactive",
|
485
|
+
#endif
|
486
|
+
#ifdef HAVE_LIBYAML
|
487
|
+
"yaml",
|
488
|
+
#endif
|
489
|
+
NULL
|
490
|
+
};
|
491
|
+
|
492
|
+
static const char *const StageDescription [] = {
|
493
|
+
[OptionLoadingStageNone] = "not initialized",
|
494
|
+
[OptionLoadingStageCustom] = "custom file",
|
495
|
+
[OptionLoadingStageDosCnf] = "DOS .cnf file",
|
496
|
+
[OptionLoadingStageEtc] = "file under /etc (e.g. ctags.conf)",
|
497
|
+
[OptionLoadingStageLocalEtc] = "file under /usr/local/etc (e.g. ctags.conf)",
|
498
|
+
[OptionLoadingStageHomeRecursive] = "file(s) under HOME",
|
499
|
+
[OptionLoadingStageCurrentRecursive] = "file(s) under the current directory",
|
500
|
+
[OptionLoadingStagePreload] = "optlib preload files",
|
501
|
+
[OptionLoadingStageEnvVar] = "environment variable",
|
502
|
+
[OptionLoadingStageCmdline] = "command line",
|
503
|
+
};
|
504
|
+
|
505
|
+
/*
|
506
|
+
* FUNCTION PROTOTYPES
|
507
|
+
*/
|
508
|
+
static bool parseFileOptions (const char *const fileName);
|
509
|
+
static bool parseAllConfigurationFilesOptionsInDirectory (const char *const fileName,
|
510
|
+
stringList* const already_loaded_files);
|
511
|
+
static bool getBooleanOption (const char *const option, const char *const parameter);
|
512
|
+
|
513
|
+
/*
|
514
|
+
* FUNCTION DEFINITIONS
|
515
|
+
*/
|
516
|
+
|
517
|
+
|
518
|
+
static vString* getHome (void)
|
519
|
+
{
|
520
|
+
const char* const home = getenv ("HOME");
|
521
|
+
|
522
|
+
if (home)
|
523
|
+
return vStringNewInit (home);
|
524
|
+
else
|
525
|
+
{
|
526
|
+
#ifdef MSDOS_STYLE_PATH
|
527
|
+
/*
|
528
|
+
* Windows users don't usually set HOME.
|
529
|
+
* The OS sets HOMEDRIVE and HOMEPATH for them.
|
530
|
+
*/
|
531
|
+
const char* homeDrive = getenv ("HOMEDRIVE");
|
532
|
+
const char* homePath = getenv ("HOMEPATH");
|
533
|
+
if (homeDrive != NULL && homePath != NULL)
|
534
|
+
{
|
535
|
+
vString* const windowsHome = vStringNew ();
|
536
|
+
vStringCatS (windowsHome, homeDrive);
|
537
|
+
vStringCatS (windowsHome, homePath);
|
538
|
+
return windowsHome;
|
539
|
+
}
|
540
|
+
#endif
|
541
|
+
return NULL;
|
542
|
+
}
|
543
|
+
}
|
544
|
+
|
545
|
+
#if defined(_WIN32) && !(defined(__USE_MINGW_ANSI_STDIO) && defined(__MINGW64_VERSION_MAJOR))
|
546
|
+
|
547
|
+
/* Some versions of MinGW are missing _vscprintf's declaration, although they
|
548
|
+
* still provide the symbol in the import library.
|
549
|
+
*/
|
550
|
+
#ifdef __MINGW32__
|
551
|
+
_CRTIMP int _vscprintf(const char *format, va_list argptr);
|
552
|
+
#endif
|
553
|
+
|
554
|
+
#ifndef va_copy
|
555
|
+
#define va_copy(dest, src) (dest = src)
|
556
|
+
#endif
|
557
|
+
|
558
|
+
int asprintf(char **strp, const char *fmt, ...)
|
559
|
+
{
|
560
|
+
va_list args;
|
561
|
+
va_list args_copy;
|
562
|
+
int length;
|
563
|
+
size_t size;
|
564
|
+
|
565
|
+
va_start(args, fmt);
|
566
|
+
|
567
|
+
va_copy(args_copy, args);
|
568
|
+
|
569
|
+
#ifdef _WIN32
|
570
|
+
/* We need to use _vscprintf to calculate the length as vsnprintf returns -1
|
571
|
+
* if the number of characters to write is greater than count.
|
572
|
+
*/
|
573
|
+
length = _vscprintf(fmt, args_copy);
|
574
|
+
#else
|
575
|
+
char dummy;
|
576
|
+
length = vsnprintf(&dummy, sizeof dummy, fmt, args_copy);
|
577
|
+
#endif
|
578
|
+
|
579
|
+
va_end(args_copy);
|
580
|
+
|
581
|
+
Assert(length >= 0);
|
582
|
+
size = length + 1;
|
583
|
+
|
584
|
+
*strp = malloc(size);
|
585
|
+
if (!*strp) {
|
586
|
+
return -1;
|
587
|
+
}
|
588
|
+
|
589
|
+
va_start(args, fmt);
|
590
|
+
vsnprintf(*strp, size, fmt, args);
|
591
|
+
va_end(args);
|
592
|
+
|
593
|
+
return length;
|
594
|
+
}
|
595
|
+
#endif
|
596
|
+
|
597
|
+
extern void verbose (const char *const format, ...)
|
598
|
+
{
|
599
|
+
if (Option.verbose)
|
600
|
+
{
|
601
|
+
va_list ap;
|
602
|
+
va_start (ap, format);
|
603
|
+
vfprintf (stderr, format, ap);
|
604
|
+
va_end (ap);
|
605
|
+
}
|
606
|
+
}
|
607
|
+
|
608
|
+
extern void notice (const char *const format, ...)
|
609
|
+
{
|
610
|
+
if (!Option.quiet)
|
611
|
+
{
|
612
|
+
va_list ap;
|
613
|
+
fprintf (stderr, "%s: Notice: ", getExecutableName ());
|
614
|
+
va_start (ap, format);
|
615
|
+
vfprintf (stderr, format, ap);
|
616
|
+
va_end (ap);
|
617
|
+
fputs ("\n", stderr);
|
618
|
+
}
|
619
|
+
}
|
620
|
+
|
621
|
+
|
622
|
+
static char *stringCopy (const char *const string)
|
623
|
+
{
|
624
|
+
char* result = NULL;
|
625
|
+
if (string != NULL)
|
626
|
+
result = eStrdup (string);
|
627
|
+
return result;
|
628
|
+
}
|
629
|
+
|
630
|
+
static void freeString (char **const pString)
|
631
|
+
{
|
632
|
+
if (*pString != NULL)
|
633
|
+
{
|
634
|
+
eFree (*pString);
|
635
|
+
*pString = NULL;
|
636
|
+
}
|
637
|
+
}
|
638
|
+
|
639
|
+
extern void freeList (stringList** const pList)
|
640
|
+
{
|
641
|
+
if (*pList != NULL)
|
642
|
+
{
|
643
|
+
stringListDelete (*pList);
|
644
|
+
*pList = NULL;
|
645
|
+
}
|
646
|
+
}
|
647
|
+
|
648
|
+
extern void setDefaultTagFileName (void)
|
649
|
+
{
|
650
|
+
if (Option.tagFileName != NULL)
|
651
|
+
; /* accept given name */
|
652
|
+
else if (Option.etags)
|
653
|
+
Option.tagFileName = stringCopy (ETAGS_FILE);
|
654
|
+
else
|
655
|
+
Option.tagFileName = stringCopy (CTAGS_FILE);
|
656
|
+
}
|
657
|
+
|
658
|
+
extern bool filesRequired (void)
|
659
|
+
{
|
660
|
+
bool result = FilesRequired;
|
661
|
+
if (Option.recurse)
|
662
|
+
result = false;
|
663
|
+
return result;
|
664
|
+
}
|
665
|
+
|
666
|
+
extern void checkOptions (void)
|
667
|
+
{
|
668
|
+
const char* notice;
|
669
|
+
if (Option.xref && (Option.customXfmt == NULL))
|
670
|
+
{
|
671
|
+
notice = "xref output";
|
672
|
+
if (isXtagEnabled(XTAG_FILE_NAMES))
|
673
|
+
{
|
674
|
+
error (WARNING, "%s disables file name tags", notice);
|
675
|
+
enableXtag (XTAG_FILE_NAMES, false);
|
676
|
+
}
|
677
|
+
}
|
678
|
+
if (Option.append)
|
679
|
+
{
|
680
|
+
notice = "append mode is not compatible with";
|
681
|
+
if (isDestinationStdout ())
|
682
|
+
error (FATAL, "%s tags to stdout", notice);
|
683
|
+
}
|
684
|
+
if (Option.filter)
|
685
|
+
{
|
686
|
+
notice = "filter mode";
|
687
|
+
if (Option.printTotals)
|
688
|
+
{
|
689
|
+
error (WARNING, "%s disables totals", notice);
|
690
|
+
Option.printTotals = false;
|
691
|
+
}
|
692
|
+
if (Option.tagFileName != NULL)
|
693
|
+
error (WARNING, "%s ignores output tag file name", notice);
|
694
|
+
}
|
695
|
+
}
|
696
|
+
|
697
|
+
extern langType getLanguageComponentInOption (const char *const option,
|
698
|
+
const char *const prefix)
|
699
|
+
{
|
700
|
+
size_t prefix_len;
|
701
|
+
langType language;
|
702
|
+
const char *lang;
|
703
|
+
char *colon = NULL;
|
704
|
+
size_t lang_len = 0;
|
705
|
+
|
706
|
+
Assert (prefix && prefix[0]);
|
707
|
+
Assert (option);
|
708
|
+
|
709
|
+
prefix_len = strlen (prefix);
|
710
|
+
if (strncmp (option, prefix, prefix_len) != 0)
|
711
|
+
return LANG_IGNORE;
|
712
|
+
else
|
713
|
+
{
|
714
|
+
lang = option + prefix_len;
|
715
|
+
if (lang [0] == '\0')
|
716
|
+
return LANG_IGNORE;
|
717
|
+
}
|
718
|
+
|
719
|
+
/* --para-<LANG>:<PARAM>=... */
|
720
|
+
colon = strchr (lang, ':');
|
721
|
+
if (colon)
|
722
|
+
lang_len = colon - lang;
|
723
|
+
language = getNamedLanguage (lang, lang_len);
|
724
|
+
if (language == LANG_IGNORE)
|
725
|
+
error (FATAL, "Unknown language \"%s\" in \"%s\" option", lang, option);
|
726
|
+
|
727
|
+
return language;
|
728
|
+
}
|
729
|
+
|
730
|
+
static void setEtagsMode (void)
|
731
|
+
{
|
732
|
+
Option.etags = true;
|
733
|
+
Option.sorted = SO_UNSORTED;
|
734
|
+
Option.lineDirectives = false;
|
735
|
+
Option.tagRelative = true;
|
736
|
+
setTagWriter (WRITER_ETAGS);
|
737
|
+
}
|
738
|
+
|
739
|
+
extern void testEtagsInvocation (void)
|
740
|
+
{
|
741
|
+
char* const execName = eStrdup (getExecutableName ());
|
742
|
+
char* const etags = eStrdup (ETAGS);
|
743
|
+
#ifdef CASE_INSENSITIVE_FILENAMES
|
744
|
+
toLowerString (execName);
|
745
|
+
toLowerString (etags);
|
746
|
+
#endif
|
747
|
+
if (strstr (execName, etags) != NULL)
|
748
|
+
{
|
749
|
+
verbose ("Running in etags mode\n");
|
750
|
+
setEtagsMode ();
|
751
|
+
}
|
752
|
+
eFree (execName);
|
753
|
+
eFree (etags);
|
754
|
+
}
|
755
|
+
|
756
|
+
static void setXrefMode (void)
|
757
|
+
{
|
758
|
+
Option.xref = true;
|
759
|
+
setTagWriter (WRITER_XREF);
|
760
|
+
}
|
761
|
+
|
762
|
+
#ifdef HAVE_JANSSON
|
763
|
+
static void setJsonMode (void)
|
764
|
+
{
|
765
|
+
enablePtag (PTAG_JSON_OUTPUT_VERSION, true);
|
766
|
+
setTagWriter (WRITER_JSON);
|
767
|
+
}
|
768
|
+
#endif
|
769
|
+
|
770
|
+
/*
|
771
|
+
* Cooked argument parsing
|
772
|
+
*/
|
773
|
+
|
774
|
+
static void parseShortOption (cookedArgs *const args)
|
775
|
+
{
|
776
|
+
args->simple [0] = *args->shortOptions++;
|
777
|
+
args->simple [1] = '\0';
|
778
|
+
args->item = eStrdup (args->simple);
|
779
|
+
if (! isCompoundOption (*args->simple))
|
780
|
+
args->parameter = "";
|
781
|
+
else if (*args->shortOptions == '\0')
|
782
|
+
{
|
783
|
+
argForth (args->args);
|
784
|
+
if (argOff (args->args))
|
785
|
+
args->parameter = NULL;
|
786
|
+
else
|
787
|
+
args->parameter = argItem (args->args);
|
788
|
+
args->shortOptions = NULL;
|
789
|
+
}
|
790
|
+
else
|
791
|
+
{
|
792
|
+
args->parameter = args->shortOptions;
|
793
|
+
args->shortOptions = NULL;
|
794
|
+
}
|
795
|
+
}
|
796
|
+
|
797
|
+
static void parseLongOption (cookedArgs *const args, const char *item)
|
798
|
+
{
|
799
|
+
const char* const equal = strchr (item, '=');
|
800
|
+
if (equal == NULL)
|
801
|
+
{
|
802
|
+
args->item = eStrdup (item);
|
803
|
+
args->parameter = "";
|
804
|
+
}
|
805
|
+
else
|
806
|
+
{
|
807
|
+
args->item = eStrndup (item, equal - item);
|
808
|
+
args->parameter = equal + 1;
|
809
|
+
}
|
810
|
+
Assert (args->item != NULL);
|
811
|
+
Assert (args->parameter != NULL);
|
812
|
+
}
|
813
|
+
|
814
|
+
static void cArgRead (cookedArgs *const current)
|
815
|
+
{
|
816
|
+
char* item;
|
817
|
+
|
818
|
+
Assert (current != NULL);
|
819
|
+
if (! argOff (current->args))
|
820
|
+
{
|
821
|
+
item = argItem (current->args);
|
822
|
+
current->shortOptions = NULL;
|
823
|
+
Assert (item != NULL);
|
824
|
+
if (strncmp (item, "--", (size_t) 2) == 0)
|
825
|
+
{
|
826
|
+
current->isOption = true;
|
827
|
+
current->longOption = true;
|
828
|
+
parseLongOption (current, item + 2);
|
829
|
+
Assert (current->item != NULL);
|
830
|
+
Assert (current->parameter != NULL);
|
831
|
+
}
|
832
|
+
else if (*item == '-')
|
833
|
+
{
|
834
|
+
current->isOption = true;
|
835
|
+
current->longOption = false;
|
836
|
+
current->shortOptions = item + 1;
|
837
|
+
parseShortOption (current);
|
838
|
+
}
|
839
|
+
else
|
840
|
+
{
|
841
|
+
current->isOption = false;
|
842
|
+
current->longOption = false;
|
843
|
+
current->item = eStrdup (item);
|
844
|
+
current->parameter = NULL;
|
845
|
+
}
|
846
|
+
}
|
847
|
+
}
|
848
|
+
|
849
|
+
extern cookedArgs* cArgNewFromString (const char* string)
|
850
|
+
{
|
851
|
+
cookedArgs* const result = xMalloc (1, cookedArgs);
|
852
|
+
memset (result, 0, sizeof (cookedArgs));
|
853
|
+
result->args = argNewFromString (string);
|
854
|
+
cArgRead (result);
|
855
|
+
return result;
|
856
|
+
}
|
857
|
+
|
858
|
+
extern cookedArgs* cArgNewFromArgv (char* const* const argv)
|
859
|
+
{
|
860
|
+
cookedArgs* const result = xMalloc (1, cookedArgs);
|
861
|
+
memset (result, 0, sizeof (cookedArgs));
|
862
|
+
result->args = argNewFromArgv (argv);
|
863
|
+
cArgRead (result);
|
864
|
+
return result;
|
865
|
+
}
|
866
|
+
|
867
|
+
extern cookedArgs* cArgNewFromFile (FILE* const fp)
|
868
|
+
{
|
869
|
+
cookedArgs* const result = xMalloc (1, cookedArgs);
|
870
|
+
memset (result, 0, sizeof (cookedArgs));
|
871
|
+
result->args = argNewFromFile (fp);
|
872
|
+
cArgRead (result);
|
873
|
+
return result;
|
874
|
+
}
|
875
|
+
|
876
|
+
extern cookedArgs* cArgNewFromLineFile (FILE* const fp)
|
877
|
+
{
|
878
|
+
cookedArgs* const result = xMalloc (1, cookedArgs);
|
879
|
+
memset (result, 0, sizeof (cookedArgs));
|
880
|
+
result->args = argNewFromLineFile (fp);
|
881
|
+
cArgRead (result);
|
882
|
+
return result;
|
883
|
+
}
|
884
|
+
|
885
|
+
extern void cArgDelete (cookedArgs* const current)
|
886
|
+
{
|
887
|
+
Assert (current != NULL);
|
888
|
+
argDelete (current->args);
|
889
|
+
if (current->item != NULL)
|
890
|
+
eFree (current->item);
|
891
|
+
memset (current, 0, sizeof (cookedArgs));
|
892
|
+
eFree (current);
|
893
|
+
}
|
894
|
+
|
895
|
+
static bool cArgOptionPending (cookedArgs* const current)
|
896
|
+
{
|
897
|
+
bool result = false;
|
898
|
+
if (current->shortOptions != NULL)
|
899
|
+
if (*current->shortOptions != '\0')
|
900
|
+
result = true;
|
901
|
+
return result;
|
902
|
+
}
|
903
|
+
|
904
|
+
extern bool cArgOff (cookedArgs* const current)
|
905
|
+
{
|
906
|
+
Assert (current != NULL);
|
907
|
+
return (bool) (argOff (current->args) && ! cArgOptionPending (current));
|
908
|
+
}
|
909
|
+
|
910
|
+
extern bool cArgIsOption (cookedArgs* const current)
|
911
|
+
{
|
912
|
+
Assert (current != NULL);
|
913
|
+
return current->isOption;
|
914
|
+
}
|
915
|
+
|
916
|
+
extern const char* cArgItem (cookedArgs* const current)
|
917
|
+
{
|
918
|
+
Assert (current != NULL);
|
919
|
+
return current->item;
|
920
|
+
}
|
921
|
+
|
922
|
+
extern void cArgForth (cookedArgs* const current)
|
923
|
+
{
|
924
|
+
Assert (current != NULL);
|
925
|
+
Assert (! cArgOff (current));
|
926
|
+
if (current->item != NULL)
|
927
|
+
eFree (current->item);
|
928
|
+
if (cArgOptionPending (current))
|
929
|
+
parseShortOption (current);
|
930
|
+
else
|
931
|
+
{
|
932
|
+
Assert (! argOff (current->args));
|
933
|
+
argForth (current->args);
|
934
|
+
if (! argOff (current->args))
|
935
|
+
cArgRead (current);
|
936
|
+
else
|
937
|
+
{
|
938
|
+
current->isOption = false;
|
939
|
+
current->longOption = false;
|
940
|
+
current->shortOptions = NULL;
|
941
|
+
current->item = NULL;
|
942
|
+
current->parameter = NULL;
|
943
|
+
}
|
944
|
+
}
|
945
|
+
}
|
946
|
+
|
947
|
+
/*
|
948
|
+
* File extension and language mapping
|
949
|
+
*/
|
950
|
+
|
951
|
+
static void addExtensionList (
|
952
|
+
stringList *const slist, const char *const elist, const bool clear)
|
953
|
+
{
|
954
|
+
char *const extensionList = eStrdup (elist);
|
955
|
+
const char *extension = NULL;
|
956
|
+
bool first = true;
|
957
|
+
|
958
|
+
if (clear)
|
959
|
+
{
|
960
|
+
verbose (" clearing\n");
|
961
|
+
stringListClear (slist);
|
962
|
+
}
|
963
|
+
verbose (" adding: ");
|
964
|
+
if (elist != NULL && *elist != '\0')
|
965
|
+
{
|
966
|
+
extension = extensionList;
|
967
|
+
if (elist [0] == EXTENSION_SEPARATOR)
|
968
|
+
++extension;
|
969
|
+
}
|
970
|
+
while (extension != NULL)
|
971
|
+
{
|
972
|
+
char *separator = strchr (extension, EXTENSION_SEPARATOR);
|
973
|
+
if (separator != NULL)
|
974
|
+
*separator = '\0';
|
975
|
+
verbose ("%s%s", first ? "" : ", ",
|
976
|
+
*extension == '\0' ? "(NONE)" : extension);
|
977
|
+
stringListAdd (slist, vStringNewInit (extension));
|
978
|
+
first = false;
|
979
|
+
if (separator == NULL)
|
980
|
+
extension = NULL;
|
981
|
+
else
|
982
|
+
extension = separator + 1;
|
983
|
+
}
|
984
|
+
BEGIN_VERBOSE(vfp);
|
985
|
+
{
|
986
|
+
fprintf (vfp, "\n now: ");
|
987
|
+
stringListPrint (slist, vfp);
|
988
|
+
putc ('\n', vfp);
|
989
|
+
}
|
990
|
+
END_VERBOSE();
|
991
|
+
}
|
992
|
+
|
993
|
+
static bool isFalse (const char *parameter)
|
994
|
+
{
|
995
|
+
return (bool) (
|
996
|
+
strcasecmp (parameter, "0" ) == 0 ||
|
997
|
+
strcasecmp (parameter, "n" ) == 0 ||
|
998
|
+
strcasecmp (parameter, "no" ) == 0 ||
|
999
|
+
strcasecmp (parameter, "off") == 0);
|
1000
|
+
}
|
1001
|
+
|
1002
|
+
static bool isTrue (const char *parameter)
|
1003
|
+
{
|
1004
|
+
return (bool) (
|
1005
|
+
strcasecmp (parameter, "1" ) == 0 ||
|
1006
|
+
strcasecmp (parameter, "y" ) == 0 ||
|
1007
|
+
strcasecmp (parameter, "yes") == 0 ||
|
1008
|
+
strcasecmp (parameter, "on" ) == 0);
|
1009
|
+
}
|
1010
|
+
|
1011
|
+
/* Determines whether the specified file name is considered to be a header
|
1012
|
+
* file for the purposes of determining whether enclosed tags are global or
|
1013
|
+
* static.
|
1014
|
+
*/
|
1015
|
+
extern bool isIncludeFile (const char *const fileName)
|
1016
|
+
{
|
1017
|
+
bool result = false;
|
1018
|
+
const char *const extension = fileExtension (fileName);
|
1019
|
+
if (Option.headerExt != NULL)
|
1020
|
+
result = stringListExtensionMatched (Option.headerExt, extension);
|
1021
|
+
return result;
|
1022
|
+
}
|
1023
|
+
|
1024
|
+
/*
|
1025
|
+
* Specific option processing
|
1026
|
+
*/
|
1027
|
+
|
1028
|
+
static void processConfigFilenameOption (
|
1029
|
+
const char *const option CTAGS_ATTR_UNUSED, const char *const parameter)
|
1030
|
+
{
|
1031
|
+
freeString (&Option.configFilename);
|
1032
|
+
Option.configFilename = stringCopy (parameter);
|
1033
|
+
}
|
1034
|
+
|
1035
|
+
static void processEtagsInclude (
|
1036
|
+
const char *const option, const char *const parameter)
|
1037
|
+
{
|
1038
|
+
if (! Option.etags)
|
1039
|
+
error (FATAL, "Etags must be enabled to use \"%s\" option", option);
|
1040
|
+
else
|
1041
|
+
{
|
1042
|
+
vString *const file = vStringNewInit (parameter);
|
1043
|
+
if (Option.etagsInclude == NULL)
|
1044
|
+
Option.etagsInclude = stringListNew ();
|
1045
|
+
stringListAdd (Option.etagsInclude, file);
|
1046
|
+
FilesRequired = false;
|
1047
|
+
}
|
1048
|
+
}
|
1049
|
+
|
1050
|
+
static void processExcludeOption (
|
1051
|
+
const char *const option CTAGS_ATTR_UNUSED, const char *const parameter)
|
1052
|
+
{
|
1053
|
+
const char *const fileName = parameter + 1;
|
1054
|
+
if (parameter [0] == '\0')
|
1055
|
+
freeList (&Excluded);
|
1056
|
+
else if (parameter [0] == '@')
|
1057
|
+
{
|
1058
|
+
stringList* const sl = stringListNewFromFile (fileName);
|
1059
|
+
if (sl == NULL)
|
1060
|
+
error (FATAL | PERROR, "cannot open \"%s\"", fileName);
|
1061
|
+
if (Excluded == NULL)
|
1062
|
+
Excluded = sl;
|
1063
|
+
else
|
1064
|
+
stringListCombine (Excluded, sl);
|
1065
|
+
verbose (" adding exclude patterns from %s\n", fileName);
|
1066
|
+
}
|
1067
|
+
else
|
1068
|
+
{
|
1069
|
+
vString *const item = vStringNewInit (parameter);
|
1070
|
+
if (Excluded == NULL)
|
1071
|
+
Excluded = stringListNew ();
|
1072
|
+
stringListAdd (Excluded, item);
|
1073
|
+
verbose (" adding exclude pattern: %s\n", parameter);
|
1074
|
+
}
|
1075
|
+
}
|
1076
|
+
|
1077
|
+
extern bool isExcludedFile (const char* const name)
|
1078
|
+
{
|
1079
|
+
const char* base = baseFilename (name);
|
1080
|
+
bool result = false;
|
1081
|
+
if (Excluded != NULL)
|
1082
|
+
{
|
1083
|
+
result = stringListFileMatched (Excluded, base);
|
1084
|
+
if (! result && name != base)
|
1085
|
+
result = stringListFileMatched (Excluded, name);
|
1086
|
+
}
|
1087
|
+
return result;
|
1088
|
+
}
|
1089
|
+
|
1090
|
+
static void processExcmdOption (
|
1091
|
+
const char *const option, const char *const parameter)
|
1092
|
+
{
|
1093
|
+
switch (*parameter)
|
1094
|
+
{
|
1095
|
+
case 'm': Option.locate = EX_MIX; break;
|
1096
|
+
case 'n': Option.locate = EX_LINENUM; break;
|
1097
|
+
case 'p': Option.locate = EX_PATTERN; break;
|
1098
|
+
default:
|
1099
|
+
error (FATAL, "Invalid value for \"%s\" option", option);
|
1100
|
+
break;
|
1101
|
+
}
|
1102
|
+
}
|
1103
|
+
|
1104
|
+
static void resetXtags (bool mode)
|
1105
|
+
{
|
1106
|
+
int i;
|
1107
|
+
for (i = 0; i < XTAG_COUNT; i++)
|
1108
|
+
enableXtag (i, mode);
|
1109
|
+
}
|
1110
|
+
|
1111
|
+
static void processExtraTagsOption (
|
1112
|
+
const char *const option, const char *const parameter)
|
1113
|
+
{
|
1114
|
+
xtagType t;
|
1115
|
+
const char *p = parameter;
|
1116
|
+
bool mode = true;
|
1117
|
+
int c;
|
1118
|
+
static vString *longName;
|
1119
|
+
bool inLongName = false;
|
1120
|
+
const char *x;
|
1121
|
+
|
1122
|
+
if (*p == '*')
|
1123
|
+
{
|
1124
|
+
resetXtags (true);
|
1125
|
+
p++;
|
1126
|
+
}
|
1127
|
+
else if (*p != '+' && *p != '-')
|
1128
|
+
resetXtags (false);
|
1129
|
+
|
1130
|
+
longName = vStringNewOrClear (longName);
|
1131
|
+
|
1132
|
+
while ((c = *p++) != '\0')
|
1133
|
+
{
|
1134
|
+
switch (c)
|
1135
|
+
{
|
1136
|
+
case '+':
|
1137
|
+
if (inLongName)
|
1138
|
+
vStringPut (longName, c);
|
1139
|
+
else
|
1140
|
+
mode = true;
|
1141
|
+
break;
|
1142
|
+
case '-':
|
1143
|
+
if (inLongName)
|
1144
|
+
vStringPut (longName, c);
|
1145
|
+
else
|
1146
|
+
mode = false;
|
1147
|
+
break;
|
1148
|
+
case '{':
|
1149
|
+
if (inLongName)
|
1150
|
+
error(FATAL,
|
1151
|
+
"unexpected character in extra specification: \'%c\'",
|
1152
|
+
c);
|
1153
|
+
inLongName = true;
|
1154
|
+
break;
|
1155
|
+
case '}':
|
1156
|
+
if (!inLongName)
|
1157
|
+
error(FATAL,
|
1158
|
+
"unexpected character in extra specification: \'%c\'",
|
1159
|
+
c);
|
1160
|
+
x = vStringValue (longName);
|
1161
|
+
t = getXtagTypeForName (x);
|
1162
|
+
|
1163
|
+
if (t == XTAG_UNKNOWN)
|
1164
|
+
error(WARNING, "Unsupported parameter '{%s}' for \"%s\" option",
|
1165
|
+
x, option);
|
1166
|
+
else
|
1167
|
+
enableXtag (t, mode);
|
1168
|
+
|
1169
|
+
inLongName = false;
|
1170
|
+
vStringClear (longName);
|
1171
|
+
break;
|
1172
|
+
default:
|
1173
|
+
if (inLongName)
|
1174
|
+
vStringPut (longName, c);
|
1175
|
+
else
|
1176
|
+
{
|
1177
|
+
t = getXtagTypeForLetter (c);
|
1178
|
+
if (t == XTAG_UNKNOWN)
|
1179
|
+
error(WARNING, "Unsupported parameter '%c' for \"%s\" option",
|
1180
|
+
c, option);
|
1181
|
+
else
|
1182
|
+
enableXtag (t, mode);
|
1183
|
+
}
|
1184
|
+
break;
|
1185
|
+
}
|
1186
|
+
}
|
1187
|
+
}
|
1188
|
+
|
1189
|
+
static void resetFieldsOption (langType lang, bool mode)
|
1190
|
+
{
|
1191
|
+
int i;
|
1192
|
+
|
1193
|
+
for (i = 0; i < countFields (); ++i)
|
1194
|
+
if ((lang == LANG_AUTO) || (lang == getFieldOwner (i)))
|
1195
|
+
enableField (i, mode, false);
|
1196
|
+
}
|
1197
|
+
|
1198
|
+
static void processFieldsOption (
|
1199
|
+
const char *const option, const char *const parameter)
|
1200
|
+
{
|
1201
|
+
const char *p = parameter;
|
1202
|
+
bool mode = true;
|
1203
|
+
int c;
|
1204
|
+
fieldType t;
|
1205
|
+
|
1206
|
+
static vString * longName;
|
1207
|
+
bool inLongName = false;
|
1208
|
+
|
1209
|
+
longName = vStringNewOrClear (longName);
|
1210
|
+
|
1211
|
+
if (*p == '*')
|
1212
|
+
{
|
1213
|
+
resetFieldsOption (LANG_IGNORE, true);
|
1214
|
+
p++;
|
1215
|
+
}
|
1216
|
+
else if (*p != '+' && *p != '-')
|
1217
|
+
resetFieldsOption (LANG_IGNORE, false);
|
1218
|
+
|
1219
|
+
while ((c = *p++) != '\0') switch (c)
|
1220
|
+
{
|
1221
|
+
case '+':
|
1222
|
+
if (inLongName)
|
1223
|
+
vStringPut (longName, c);
|
1224
|
+
else
|
1225
|
+
mode = true;
|
1226
|
+
break;
|
1227
|
+
case '-':
|
1228
|
+
if (inLongName)
|
1229
|
+
vStringPut (longName, c);
|
1230
|
+
else
|
1231
|
+
mode = false;
|
1232
|
+
break;
|
1233
|
+
case '{':
|
1234
|
+
if (inLongName)
|
1235
|
+
error(FATAL,
|
1236
|
+
"unexpected character in field specification: \'%c\'",
|
1237
|
+
c);
|
1238
|
+
inLongName = true;
|
1239
|
+
break;
|
1240
|
+
case '}':
|
1241
|
+
if (!inLongName)
|
1242
|
+
error(FATAL,
|
1243
|
+
"unexpected character in field specification: \'%c\'",
|
1244
|
+
c);
|
1245
|
+
|
1246
|
+
{
|
1247
|
+
const char *f = vStringValue (longName);
|
1248
|
+
t = getFieldTypeForNameAndLanguage (f, LANG_IGNORE);
|
1249
|
+
}
|
1250
|
+
|
1251
|
+
if (t == FIELD_UNKNOWN)
|
1252
|
+
error(FATAL, "nosuch field: \'%s\'", vStringValue (longName));
|
1253
|
+
|
1254
|
+
enableField (t, mode, true);
|
1255
|
+
|
1256
|
+
inLongName = false;
|
1257
|
+
vStringClear (longName);
|
1258
|
+
break;
|
1259
|
+
default :
|
1260
|
+
if (inLongName)
|
1261
|
+
vStringPut (longName, c);
|
1262
|
+
else
|
1263
|
+
{
|
1264
|
+
t = getFieldTypeForOption (c);
|
1265
|
+
if (t == FIELD_UNKNOWN)
|
1266
|
+
error(WARNING, "Unsupported parameter '%c' for \"%s\" option",
|
1267
|
+
c, option);
|
1268
|
+
else
|
1269
|
+
enableField (t, mode, true);
|
1270
|
+
}
|
1271
|
+
break;
|
1272
|
+
}
|
1273
|
+
}
|
1274
|
+
|
1275
|
+
static void processFilterTerminatorOption (
|
1276
|
+
const char *const option CTAGS_ATTR_UNUSED, const char *const parameter)
|
1277
|
+
{
|
1278
|
+
freeString (&Option.filterTerminator);
|
1279
|
+
Option.filterTerminator = stringCopy (parameter);
|
1280
|
+
}
|
1281
|
+
|
1282
|
+
static void processFormatOption (
|
1283
|
+
const char *const option, const char *const parameter)
|
1284
|
+
{
|
1285
|
+
unsigned int format;
|
1286
|
+
|
1287
|
+
if (sscanf (parameter, "%u", &format) < 1)
|
1288
|
+
error (FATAL, "Invalid value for \"%s\" option",option);
|
1289
|
+
else if (format <= (unsigned int) MaxSupportedTagFormat)
|
1290
|
+
Option.tagFileFormat = format;
|
1291
|
+
else
|
1292
|
+
error (FATAL, "Unsupported value for \"%s\" option", option);
|
1293
|
+
}
|
1294
|
+
|
1295
|
+
#ifdef HAVE_ICONV
|
1296
|
+
static void processInputEncodingOption(const char *const option,
|
1297
|
+
const char *const parameter)
|
1298
|
+
{
|
1299
|
+
if (Option.inputEncoding)
|
1300
|
+
eFree (Option.inputEncoding);
|
1301
|
+
else
|
1302
|
+
{
|
1303
|
+
if (!Option.outputEncoding)
|
1304
|
+
Option.outputEncoding = eStrdup("UTF-8");
|
1305
|
+
}
|
1306
|
+
Option.inputEncoding = eStrdup(parameter);
|
1307
|
+
}
|
1308
|
+
|
1309
|
+
static void processOutputEncodingOption(const char *const option,
|
1310
|
+
const char *const parameter)
|
1311
|
+
{
|
1312
|
+
if (Option.outputEncoding)
|
1313
|
+
eFree (Option.outputEncoding);
|
1314
|
+
Option.outputEncoding = eStrdup(parameter);
|
1315
|
+
}
|
1316
|
+
#endif
|
1317
|
+
|
1318
|
+
static void printInvocationDescription (void)
|
1319
|
+
{
|
1320
|
+
printf (INVOCATION, getExecutableName ());
|
1321
|
+
}
|
1322
|
+
|
1323
|
+
static void printOptionDescriptions (const optionDescription *const optDesc)
|
1324
|
+
{
|
1325
|
+
int i;
|
1326
|
+
for (i = 0 ; optDesc [i].description != NULL ; ++i)
|
1327
|
+
{
|
1328
|
+
if (! Option.etags || optDesc [i].usedByEtags)
|
1329
|
+
puts (optDesc [i].description);
|
1330
|
+
}
|
1331
|
+
}
|
1332
|
+
|
1333
|
+
static void printFeatureList (void)
|
1334
|
+
{
|
1335
|
+
int i;
|
1336
|
+
|
1337
|
+
for (i = 0 ; Features [i] != NULL ; ++i)
|
1338
|
+
{
|
1339
|
+
if (i == 0)
|
1340
|
+
printf (" Optional compiled features: ");
|
1341
|
+
if (strcmp (Features [i], "regex") != 0 || checkRegex ())
|
1342
|
+
printf ("%s+%s", (i>0 ? ", " : ""), Features [i]);
|
1343
|
+
#ifdef CUSTOM_CONFIGURATION_FILE
|
1344
|
+
if (strcmp (Features [i], "custom-conf") == 0)
|
1345
|
+
printf ("=%s", CUSTOM_CONFIGURATION_FILE);
|
1346
|
+
#endif
|
1347
|
+
}
|
1348
|
+
if (i > 0)
|
1349
|
+
putchar ('\n');
|
1350
|
+
}
|
1351
|
+
|
1352
|
+
|
1353
|
+
static void processListFeaturesOption(const char *const option CTAGS_ATTR_UNUSED,
|
1354
|
+
const char *const parameter CTAGS_ATTR_UNUSED)
|
1355
|
+
{
|
1356
|
+
int i;
|
1357
|
+
|
1358
|
+
for (i = 0 ; Features [i] != NULL ; ++i)
|
1359
|
+
if (strcmp (Features [i], "regex") != 0 || checkRegex ())
|
1360
|
+
printf ("%s\n", Features [i]);
|
1361
|
+
if (i == 0)
|
1362
|
+
putchar ('\n');
|
1363
|
+
exit (0);
|
1364
|
+
}
|
1365
|
+
|
1366
|
+
static void processListFieldsOption(const char *const option CTAGS_ATTR_UNUSED,
|
1367
|
+
const char *const parameter)
|
1368
|
+
{
|
1369
|
+
if (parameter [0] == '\0' || strcasecmp (parameter, "all") == 0)
|
1370
|
+
{
|
1371
|
+
initializeParser (LANG_AUTO);
|
1372
|
+
printFields (LANG_AUTO);
|
1373
|
+
}
|
1374
|
+
else
|
1375
|
+
{
|
1376
|
+
langType language = getNamedLanguage (parameter, 0);
|
1377
|
+
if (language == LANG_IGNORE)
|
1378
|
+
error (FATAL, "Unknown language \"%s\" in \"%s\" option", parameter, option);
|
1379
|
+
else
|
1380
|
+
{
|
1381
|
+
initializeParser (language);
|
1382
|
+
printFields (language);
|
1383
|
+
}
|
1384
|
+
|
1385
|
+
}
|
1386
|
+
exit (0);
|
1387
|
+
}
|
1388
|
+
|
1389
|
+
static void printProgramIdentification (void)
|
1390
|
+
{
|
1391
|
+
if ((ctags_repoinfo == NULL)
|
1392
|
+
|| (strcmp (ctags_repoinfo, PROGRAM_VERSION) == 0))
|
1393
|
+
printf ("%s %s, %s %s\n",
|
1394
|
+
PROGRAM_NAME, PROGRAM_VERSION,
|
1395
|
+
PROGRAM_COPYRIGHT, AUTHOR_NAME);
|
1396
|
+
else
|
1397
|
+
printf ("%s %s(%s), %s %s\n",
|
1398
|
+
PROGRAM_NAME, PROGRAM_VERSION, ctags_repoinfo,
|
1399
|
+
PROGRAM_COPYRIGHT, AUTHOR_NAME);
|
1400
|
+
printf ("Universal Ctags is derived from Exuberant Ctags.\n");
|
1401
|
+
printf ("Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert\n");
|
1402
|
+
|
1403
|
+
printf (" Compiled: %s, %s\n", __DATE__, __TIME__);
|
1404
|
+
printf (" URL: %s\n", PROGRAM_URL);
|
1405
|
+
|
1406
|
+
printFeatureList ();
|
1407
|
+
}
|
1408
|
+
|
1409
|
+
static void processHelpOption (
|
1410
|
+
const char *const option CTAGS_ATTR_UNUSED,
|
1411
|
+
const char *const parameter CTAGS_ATTR_UNUSED)
|
1412
|
+
{
|
1413
|
+
printProgramIdentification ();
|
1414
|
+
putchar ('\n');
|
1415
|
+
printInvocationDescription ();
|
1416
|
+
putchar ('\n');
|
1417
|
+
printOptionDescriptions (LongOptionDescription);
|
1418
|
+
exit (0);
|
1419
|
+
}
|
1420
|
+
|
1421
|
+
static void processInteractiveOption (
|
1422
|
+
const char *const option CTAGS_ATTR_UNUSED,
|
1423
|
+
const char *const parameter CTAGS_ATTR_UNUSED)
|
1424
|
+
{
|
1425
|
+
Option.interactive = true;
|
1426
|
+
Option.sorted = SO_UNSORTED;
|
1427
|
+
setMainLoop (interactiveLoop, NULL);
|
1428
|
+
setErrorPrinter (jsonErrorPrinter, NULL);
|
1429
|
+
setTagWriter (WRITER_JSON);
|
1430
|
+
enablePtag (PTAG_JSON_OUTPUT_VERSION, true);
|
1431
|
+
}
|
1432
|
+
|
1433
|
+
static void processIf0Option (const char *const option,
|
1434
|
+
const char *const parameter)
|
1435
|
+
{
|
1436
|
+
bool if0 = getBooleanOption (option, parameter);
|
1437
|
+
langType lang = getNamedLanguage ("CPreProcessor", 0);
|
1438
|
+
const char *arg = if0? "true": "false";
|
1439
|
+
|
1440
|
+
applyParameter (lang, "if0", arg);
|
1441
|
+
}
|
1442
|
+
|
1443
|
+
static void processLanguageForceOption (
|
1444
|
+
const char *const option, const char *const parameter)
|
1445
|
+
{
|
1446
|
+
langType language;
|
1447
|
+
if (strcasecmp (parameter, "auto") == 0)
|
1448
|
+
language = LANG_AUTO;
|
1449
|
+
else
|
1450
|
+
language = getNamedLanguage (parameter, 0);
|
1451
|
+
|
1452
|
+
if (strcmp (option, "lang") == 0 || strcmp (option, "language") == 0)
|
1453
|
+
error (WARNING,
|
1454
|
+
"\"--%s\" option is obsolete; use \"--language-force\" instead",
|
1455
|
+
option);
|
1456
|
+
if (language == LANG_IGNORE)
|
1457
|
+
error (FATAL, "Unknown language \"%s\" in \"%s\" option", parameter, option);
|
1458
|
+
else
|
1459
|
+
Option.language = language;
|
1460
|
+
}
|
1461
|
+
static char* skipPastMap (char* p)
|
1462
|
+
{
|
1463
|
+
while (*p != EXTENSION_SEPARATOR &&
|
1464
|
+
*p != PATTERN_START && *p != ',' && *p != '\0')
|
1465
|
+
++p;
|
1466
|
+
return p;
|
1467
|
+
}
|
1468
|
+
|
1469
|
+
/* Parses the mapping beginning at `map', adds it to the language map, and
|
1470
|
+
* returns first character past the map.
|
1471
|
+
*/
|
1472
|
+
static char* extractMapFromParameter (const langType language,
|
1473
|
+
char* parameter,
|
1474
|
+
char** tail,
|
1475
|
+
bool* pattern_p,
|
1476
|
+
char* (* skip) (char *))
|
1477
|
+
{
|
1478
|
+
char* p = NULL;
|
1479
|
+
const char first = *parameter;
|
1480
|
+
char tmp;
|
1481
|
+
char* result;
|
1482
|
+
|
1483
|
+
if (first == EXTENSION_SEPARATOR) /* extension map */
|
1484
|
+
{
|
1485
|
+
*pattern_p = false;
|
1486
|
+
|
1487
|
+
++parameter;
|
1488
|
+
p = (* skip) (parameter);
|
1489
|
+
if (*p == '\0')
|
1490
|
+
{
|
1491
|
+
result = eStrdup (parameter);
|
1492
|
+
*tail = parameter + strlen (parameter);
|
1493
|
+
return result;
|
1494
|
+
}
|
1495
|
+
else
|
1496
|
+
{
|
1497
|
+
tmp = *p;
|
1498
|
+
*p = '\0';
|
1499
|
+
result = eStrdup (parameter);
|
1500
|
+
*p = tmp;
|
1501
|
+
*tail = p;
|
1502
|
+
return result;
|
1503
|
+
}
|
1504
|
+
}
|
1505
|
+
else if (first == PATTERN_START) /* pattern map */
|
1506
|
+
{
|
1507
|
+
*pattern_p = true;
|
1508
|
+
|
1509
|
+
++parameter;
|
1510
|
+
for (p = parameter ; *p != PATTERN_STOP && *p != '\0' ; ++p)
|
1511
|
+
{
|
1512
|
+
if (*p == '\\' && *(p + 1) == PATTERN_STOP)
|
1513
|
+
++p;
|
1514
|
+
}
|
1515
|
+
if (*p == '\0')
|
1516
|
+
error (FATAL, "Unterminated file name pattern for %s language",
|
1517
|
+
getLanguageName (language));
|
1518
|
+
else
|
1519
|
+
{
|
1520
|
+
tmp = *p;
|
1521
|
+
*p = '\0';
|
1522
|
+
result = eStrdup (parameter);
|
1523
|
+
*p = tmp;
|
1524
|
+
*tail = p + 1;
|
1525
|
+
return result;
|
1526
|
+
}
|
1527
|
+
}
|
1528
|
+
|
1529
|
+
return NULL;
|
1530
|
+
}
|
1531
|
+
|
1532
|
+
static char* addLanguageMap (const langType language, char* map_parameter,
|
1533
|
+
bool exclusiveInAllLanguages)
|
1534
|
+
{
|
1535
|
+
char* p = NULL;
|
1536
|
+
bool pattern_p;
|
1537
|
+
char* map;
|
1538
|
+
|
1539
|
+
map = extractMapFromParameter (language, map_parameter, &p, &pattern_p, skipPastMap);
|
1540
|
+
if (map && pattern_p == false)
|
1541
|
+
addLanguageExtensionMap (language, map, exclusiveInAllLanguages);
|
1542
|
+
else if (map && pattern_p == true)
|
1543
|
+
addLanguagePatternMap (language, map, exclusiveInAllLanguages);
|
1544
|
+
else
|
1545
|
+
error (FATAL, "Badly formed language map for %s language",
|
1546
|
+
getLanguageName (language));
|
1547
|
+
|
1548
|
+
if (map)
|
1549
|
+
eFree (map);
|
1550
|
+
return p;
|
1551
|
+
}
|
1552
|
+
|
1553
|
+
static char* removeLanguageMap (const langType language, char* map_parameter)
|
1554
|
+
{
|
1555
|
+
char* p = NULL;
|
1556
|
+
bool pattern_p;
|
1557
|
+
char* map;
|
1558
|
+
|
1559
|
+
map = extractMapFromParameter (language, map_parameter, &p, &pattern_p, skipPastMap);
|
1560
|
+
if (map && pattern_p == false)
|
1561
|
+
removeLanguageExtensionMap (language, map);
|
1562
|
+
else if (map && pattern_p == true)
|
1563
|
+
removeLanguagePatternMap (language, map);
|
1564
|
+
else
|
1565
|
+
error (FATAL, "Badly formed language map for %s language",
|
1566
|
+
getLanguageName (language));
|
1567
|
+
|
1568
|
+
if (map)
|
1569
|
+
eFree (map);
|
1570
|
+
return p;
|
1571
|
+
}
|
1572
|
+
|
1573
|
+
static char* processLanguageMap (char* map)
|
1574
|
+
{
|
1575
|
+
char* const separator = strchr (map, ':');
|
1576
|
+
char* result = NULL;
|
1577
|
+
if (separator != NULL)
|
1578
|
+
{
|
1579
|
+
langType language;
|
1580
|
+
char *list = separator + 1;
|
1581
|
+
bool clear = false;
|
1582
|
+
*separator = '\0';
|
1583
|
+
language = getNamedLanguage (map, 0);
|
1584
|
+
if (language != LANG_IGNORE)
|
1585
|
+
{
|
1586
|
+
const char *const deflt = "default";
|
1587
|
+
char* p;
|
1588
|
+
if (*list == '+')
|
1589
|
+
++list;
|
1590
|
+
else
|
1591
|
+
clear = true;
|
1592
|
+
for (p = list ; *p != ',' && *p != '\0' ; ++p) /*no-op*/ ;
|
1593
|
+
if ((size_t) (p - list) == strlen (deflt) &&
|
1594
|
+
strncasecmp (list, deflt, p - list) == 0)
|
1595
|
+
{
|
1596
|
+
verbose (" Restoring default %s language map: ", getLanguageName (language));
|
1597
|
+
installLanguageMapDefault (language);
|
1598
|
+
list = p;
|
1599
|
+
}
|
1600
|
+
else
|
1601
|
+
{
|
1602
|
+
if (clear)
|
1603
|
+
{
|
1604
|
+
verbose (" Setting %s language map:", getLanguageName (language));
|
1605
|
+
clearLanguageMap (language);
|
1606
|
+
}
|
1607
|
+
else
|
1608
|
+
verbose (" Adding to %s language map:", getLanguageName (language));
|
1609
|
+
while (list != NULL && *list != '\0' && *list != ',')
|
1610
|
+
list = addLanguageMap (language, list, true);
|
1611
|
+
verbose ("\n");
|
1612
|
+
}
|
1613
|
+
if (list != NULL && *list == ',')
|
1614
|
+
++list;
|
1615
|
+
result = list;
|
1616
|
+
}
|
1617
|
+
}
|
1618
|
+
return result;
|
1619
|
+
}
|
1620
|
+
|
1621
|
+
static void processLanguageMapOption (
|
1622
|
+
const char *const option, const char *const parameter)
|
1623
|
+
{
|
1624
|
+
char *const maps = eStrdup (parameter);
|
1625
|
+
char *map = maps;
|
1626
|
+
|
1627
|
+
if (strcmp (parameter, "default") == 0)
|
1628
|
+
{
|
1629
|
+
verbose (" Restoring default language maps:\n");
|
1630
|
+
installLanguageMapDefaults ();
|
1631
|
+
}
|
1632
|
+
else while (map != NULL && *map != '\0')
|
1633
|
+
{
|
1634
|
+
char* const next = processLanguageMap (map);
|
1635
|
+
if (next == NULL)
|
1636
|
+
error (WARNING, "Unknown language \"%s\" in \"%s\" option", parameter, option);
|
1637
|
+
map = next;
|
1638
|
+
}
|
1639
|
+
eFree (maps);
|
1640
|
+
}
|
1641
|
+
|
1642
|
+
static void processLanguagesOption (
|
1643
|
+
const char *const option, const char *const parameter)
|
1644
|
+
{
|
1645
|
+
char *const langs = eStrdup (parameter);
|
1646
|
+
enum { Add, Remove, Replace } mode = Replace;
|
1647
|
+
bool first = true;
|
1648
|
+
char *lang = langs;
|
1649
|
+
const char* prefix = "";
|
1650
|
+
verbose (" Enabled languages: ");
|
1651
|
+
while (lang != NULL)
|
1652
|
+
{
|
1653
|
+
char *const end = strchr (lang, ',');
|
1654
|
+
if (lang [0] == '+')
|
1655
|
+
{
|
1656
|
+
++lang;
|
1657
|
+
mode = Add;
|
1658
|
+
prefix = "+ ";
|
1659
|
+
}
|
1660
|
+
else if (lang [0] == '-')
|
1661
|
+
{
|
1662
|
+
++lang;
|
1663
|
+
mode = Remove;
|
1664
|
+
prefix = "- ";
|
1665
|
+
}
|
1666
|
+
if (mode == Replace)
|
1667
|
+
enableLanguages (false);
|
1668
|
+
if (end != NULL)
|
1669
|
+
*end = '\0';
|
1670
|
+
if (lang [0] != '\0')
|
1671
|
+
{
|
1672
|
+
if (strcmp (lang, "all") == 0)
|
1673
|
+
enableLanguages ((bool) (mode != Remove));
|
1674
|
+
else
|
1675
|
+
{
|
1676
|
+
const langType language = getNamedLanguage (lang, 0);
|
1677
|
+
if (language == LANG_IGNORE)
|
1678
|
+
error (WARNING, "Unknown language \"%s\" in \"%s\" option", lang, option);
|
1679
|
+
else
|
1680
|
+
enableLanguage (language, (bool) (mode != Remove));
|
1681
|
+
}
|
1682
|
+
verbose ("%s%s%s", (first ? "" : ", "), prefix, lang);
|
1683
|
+
prefix = "";
|
1684
|
+
first = false;
|
1685
|
+
if (mode == Replace)
|
1686
|
+
mode = Add;
|
1687
|
+
}
|
1688
|
+
lang = (end != NULL ? end + 1 : NULL);
|
1689
|
+
}
|
1690
|
+
verbose ("\n");
|
1691
|
+
eFree (langs);
|
1692
|
+
}
|
1693
|
+
|
1694
|
+
extern bool processMapOption (
|
1695
|
+
const char *const option, const char *const parameter)
|
1696
|
+
{
|
1697
|
+
langType language;
|
1698
|
+
const char* spec;
|
1699
|
+
char* map_parameter;
|
1700
|
+
bool clear = false;
|
1701
|
+
char op;
|
1702
|
+
|
1703
|
+
language = getLanguageComponentInOption (option, "map-");
|
1704
|
+
if (language == LANG_IGNORE)
|
1705
|
+
return false;
|
1706
|
+
|
1707
|
+
if (parameter == NULL || parameter [0] == '\0')
|
1708
|
+
error (FATAL, "no parameter is given for %s", option);
|
1709
|
+
|
1710
|
+
spec = parameter;
|
1711
|
+
if (*spec == '+' || *spec == '-')
|
1712
|
+
{
|
1713
|
+
op = *spec;
|
1714
|
+
spec++;
|
1715
|
+
}
|
1716
|
+
else
|
1717
|
+
{
|
1718
|
+
op = '\0';
|
1719
|
+
clear = true;
|
1720
|
+
}
|
1721
|
+
|
1722
|
+
if (clear)
|
1723
|
+
{
|
1724
|
+
verbose (" Setting %s language map:", getLanguageName (language));
|
1725
|
+
clearLanguageMap (language);
|
1726
|
+
op = '+';
|
1727
|
+
}
|
1728
|
+
else
|
1729
|
+
verbose (" %s %s %s %s language map:",
|
1730
|
+
op == '+'? "Adding": "Removing",
|
1731
|
+
spec,
|
1732
|
+
op == '+'? "to": "from",
|
1733
|
+
getLanguageName (language));
|
1734
|
+
map_parameter = eStrdup (spec);
|
1735
|
+
|
1736
|
+
if (op == '+')
|
1737
|
+
addLanguageMap (language, map_parameter, false);
|
1738
|
+
else if (op == '-')
|
1739
|
+
removeLanguageMap (language, map_parameter);
|
1740
|
+
else
|
1741
|
+
Assert ("Should not reach here" == NULL);
|
1742
|
+
|
1743
|
+
eFree (map_parameter);
|
1744
|
+
verbose ("\n");
|
1745
|
+
|
1746
|
+
return true;
|
1747
|
+
}
|
1748
|
+
|
1749
|
+
extern bool processParamOption (
|
1750
|
+
const char *const option, const char *const value)
|
1751
|
+
{
|
1752
|
+
langType language;
|
1753
|
+
const char* name;
|
1754
|
+
const char* sep;
|
1755
|
+
|
1756
|
+
language = getLanguageComponentInOption (option, "param-");
|
1757
|
+
if (language == LANG_IGNORE)
|
1758
|
+
return false;
|
1759
|
+
|
1760
|
+
sep = option + strlen ("param-") + strlen (getLanguageName (language));
|
1761
|
+
if (*sep != ':')
|
1762
|
+
error (FATAL, "no separator(:) is given for %s=%s", option, value);
|
1763
|
+
name = sep + 1;
|
1764
|
+
|
1765
|
+
if (value == NULL || value [0] == '\0')
|
1766
|
+
error (FATAL, "no parameter is given for %s", option);
|
1767
|
+
|
1768
|
+
applyParameter (language, name, value);
|
1769
|
+
|
1770
|
+
return true;
|
1771
|
+
}
|
1772
|
+
|
1773
|
+
static void processLicenseOption (
|
1774
|
+
const char *const option CTAGS_ATTR_UNUSED,
|
1775
|
+
const char *const parameter CTAGS_ATTR_UNUSED)
|
1776
|
+
{
|
1777
|
+
printProgramIdentification ();
|
1778
|
+
puts ("");
|
1779
|
+
puts (License1);
|
1780
|
+
puts (License2);
|
1781
|
+
exit (0);
|
1782
|
+
}
|
1783
|
+
|
1784
|
+
static void processListAliasesOption (
|
1785
|
+
const char *const option, const char *const parameter)
|
1786
|
+
{
|
1787
|
+
if (parameter [0] == '\0' || strcasecmp (parameter, "all") == 0)
|
1788
|
+
printLanguageAliases (LANG_AUTO);
|
1789
|
+
else
|
1790
|
+
{
|
1791
|
+
langType language = getNamedLanguage (parameter, 0);
|
1792
|
+
if (language == LANG_IGNORE)
|
1793
|
+
error (FATAL, "Unknown language \"%s\" in \"%s\" option", parameter, option);
|
1794
|
+
else
|
1795
|
+
printLanguageAliases (language);
|
1796
|
+
}
|
1797
|
+
exit (0);
|
1798
|
+
}
|
1799
|
+
|
1800
|
+
static void processListExtraOption (
|
1801
|
+
const char *const option CTAGS_ATTR_UNUSED, const char *const parameter CTAGS_ATTR_UNUSED)
|
1802
|
+
{
|
1803
|
+
printXtags ();
|
1804
|
+
exit (0);
|
1805
|
+
}
|
1806
|
+
|
1807
|
+
static void processListFileKindOption (
|
1808
|
+
const char *const option, const char *const parameter)
|
1809
|
+
{
|
1810
|
+
if (parameter [0] == '\0' || strcasecmp (parameter, "all") == 0)
|
1811
|
+
printLanguageFileKind (LANG_AUTO);
|
1812
|
+
else
|
1813
|
+
{
|
1814
|
+
langType language = getNamedLanguage (parameter, 0);
|
1815
|
+
if (language == LANG_IGNORE)
|
1816
|
+
error (FATAL, "Unknown language \"%s\" in \"%s\" option", parameter, option);
|
1817
|
+
else
|
1818
|
+
printLanguageFileKind (language);
|
1819
|
+
}
|
1820
|
+
exit (0);
|
1821
|
+
}
|
1822
|
+
|
1823
|
+
static void processListKindsOption (
|
1824
|
+
const char *const option, const char *const parameter)
|
1825
|
+
{
|
1826
|
+
bool print_all = (strcmp (option, "list-kinds-full") == 0)? true: false;
|
1827
|
+
|
1828
|
+
if (parameter [0] == '\0' || strcasecmp (parameter, "all") == 0)
|
1829
|
+
printLanguageKinds (LANG_AUTO, print_all);
|
1830
|
+
else
|
1831
|
+
{
|
1832
|
+
langType language = getNamedLanguage (parameter, 0);
|
1833
|
+
if (language == LANG_IGNORE)
|
1834
|
+
error (FATAL, "Unknown language \"%s\" in \"%s\" option", parameter, option);
|
1835
|
+
else
|
1836
|
+
printLanguageKinds (language, print_all);
|
1837
|
+
}
|
1838
|
+
exit (0);
|
1839
|
+
}
|
1840
|
+
|
1841
|
+
static void processListParametersOption (const char *const option,
|
1842
|
+
const char *const parameter)
|
1843
|
+
{
|
1844
|
+
if (parameter [0] == '\0' || strcasecmp (parameter, "all") == 0)
|
1845
|
+
printLanguageParameters (LANG_AUTO);
|
1846
|
+
else
|
1847
|
+
{
|
1848
|
+
langType language = getNamedLanguage (parameter, 0);
|
1849
|
+
if (language == LANG_IGNORE)
|
1850
|
+
error (FATAL, "Unknown language \"%s\" in \"%s\" option", parameter, option);
|
1851
|
+
else
|
1852
|
+
printLanguageParameters (language);
|
1853
|
+
}
|
1854
|
+
exit (0);
|
1855
|
+
}
|
1856
|
+
|
1857
|
+
|
1858
|
+
static void processListMapsOptionForType (const char *const option CTAGS_ATTR_UNUSED,
|
1859
|
+
const char *const parameter,
|
1860
|
+
langmapType type)
|
1861
|
+
{
|
1862
|
+
if (parameter [0] == '\0' || strcasecmp (parameter, "all") == 0)
|
1863
|
+
printLanguageMaps (LANG_AUTO, type);
|
1864
|
+
else
|
1865
|
+
{
|
1866
|
+
langType language = getNamedLanguage (parameter, 0);
|
1867
|
+
if (language == LANG_IGNORE)
|
1868
|
+
error (FATAL, "Unknown language \"%s\" in \"%s\" option", parameter, option);
|
1869
|
+
else
|
1870
|
+
printLanguageMaps (language, type);
|
1871
|
+
}
|
1872
|
+
exit (0);
|
1873
|
+
}
|
1874
|
+
|
1875
|
+
static void processListExtensionsOption (const char *const option,
|
1876
|
+
const char *const parameter)
|
1877
|
+
{
|
1878
|
+
processListMapsOptionForType (option, parameter, LMAP_EXTENSION);
|
1879
|
+
}
|
1880
|
+
|
1881
|
+
static void processListPatternsOption (const char *const option,
|
1882
|
+
const char *const parameter)
|
1883
|
+
{
|
1884
|
+
processListMapsOptionForType (option, parameter, LMAP_PATTERN);
|
1885
|
+
}
|
1886
|
+
|
1887
|
+
static void processListMapsOption (
|
1888
|
+
const char *const option CTAGS_ATTR_UNUSED,
|
1889
|
+
const char *const parameter CTAGS_ATTR_UNUSED)
|
1890
|
+
{
|
1891
|
+
processListMapsOptionForType (option, parameter, LMAP_ALL);
|
1892
|
+
}
|
1893
|
+
|
1894
|
+
static void processListLanguagesOption (
|
1895
|
+
const char *const option CTAGS_ATTR_UNUSED,
|
1896
|
+
const char *const parameter CTAGS_ATTR_UNUSED)
|
1897
|
+
{
|
1898
|
+
printLanguageList ();
|
1899
|
+
exit (0);
|
1900
|
+
}
|
1901
|
+
|
1902
|
+
static void processListPseudoTagsOptions (
|
1903
|
+
const char *const option CTAGS_ATTR_UNUSED,
|
1904
|
+
const char *const parameter CTAGS_ATTR_UNUSED)
|
1905
|
+
{
|
1906
|
+
int i;
|
1907
|
+
for (i = 0; i < PTAG_COUNT; i++)
|
1908
|
+
printPtag (i);
|
1909
|
+
exit (0);
|
1910
|
+
}
|
1911
|
+
|
1912
|
+
static void processListRegexFlagsOptions (
|
1913
|
+
const char *const option CTAGS_ATTR_UNUSED,
|
1914
|
+
const char *const parameter CTAGS_ATTR_UNUSED)
|
1915
|
+
{
|
1916
|
+
printRegexFlags ();
|
1917
|
+
exit (0);
|
1918
|
+
}
|
1919
|
+
|
1920
|
+
static void processListRolesOptions (const char *const option CTAGS_ATTR_UNUSED,
|
1921
|
+
const char *const parameter)
|
1922
|
+
{
|
1923
|
+
const char* sep;
|
1924
|
+
const char *kindletters;
|
1925
|
+
langType lang;
|
1926
|
+
|
1927
|
+
|
1928
|
+
if (parameter == NULL || parameter[0] == '\0')
|
1929
|
+
{
|
1930
|
+
printLanguageRoles (LANG_AUTO, "*");
|
1931
|
+
exit (0);
|
1932
|
+
}
|
1933
|
+
|
1934
|
+
sep = strchr (parameter, '.');
|
1935
|
+
|
1936
|
+
if (sep == NULL || sep [1] == '\0')
|
1937
|
+
{
|
1938
|
+
vString* vstr = vStringNewInit (parameter);
|
1939
|
+
vStringCatS (vstr, (sep? "*": ".*"));
|
1940
|
+
processListRolesOptions (option, vStringValue (vstr));
|
1941
|
+
/* The control should never reache here. */
|
1942
|
+
}
|
1943
|
+
|
1944
|
+
kindletters = sep + 1;
|
1945
|
+
if (strncmp (parameter, "all.", 4) == 0
|
1946
|
+
|| strncmp (parameter, "*.", 1) == 0
|
1947
|
+
|| strncmp (parameter, ".", 1) == 0)
|
1948
|
+
lang = LANG_AUTO;
|
1949
|
+
else
|
1950
|
+
{
|
1951
|
+
lang = getNamedLanguage (parameter, sep - parameter);
|
1952
|
+
if (lang == LANG_IGNORE)
|
1953
|
+
error (FATAL, "Unknown language \"%s\" in \"%s\"", parameter, option);
|
1954
|
+
}
|
1955
|
+
printLanguageRoles (lang, kindletters);
|
1956
|
+
exit (0);
|
1957
|
+
}
|
1958
|
+
static void freeSearchPathList (searchPathList** pathList)
|
1959
|
+
{
|
1960
|
+
stringListClear (*pathList);
|
1961
|
+
stringListDelete (*pathList);
|
1962
|
+
*pathList = NULL;
|
1963
|
+
}
|
1964
|
+
|
1965
|
+
static void verboseSearchPathList (const searchPathList* pathList, const char *const varname)
|
1966
|
+
{
|
1967
|
+
unsigned int i;
|
1968
|
+
|
1969
|
+
verbose ("Install %s:\n", varname);
|
1970
|
+
for (i = 0; i < stringListCount (pathList); ++i)
|
1971
|
+
verbose (" %s\n", vStringValue (stringListItem (pathList, i)));
|
1972
|
+
}
|
1973
|
+
|
1974
|
+
static vString* expandOnSearchPathList (searchPathList *pathList, const char* leaf,
|
1975
|
+
bool (* check) (const char *const))
|
1976
|
+
{
|
1977
|
+
unsigned int i;
|
1978
|
+
|
1979
|
+
for (i = 0; i < stringListCount (pathList); ++i)
|
1980
|
+
{
|
1981
|
+
const char* const body = vStringValue (stringListItem (pathList, i));
|
1982
|
+
char* tmp = combinePathAndFile (body, leaf);
|
1983
|
+
|
1984
|
+
if ((* check) (tmp))
|
1985
|
+
{
|
1986
|
+
vString *r = vStringNewOwn (tmp);
|
1987
|
+
return r;
|
1988
|
+
}
|
1989
|
+
else
|
1990
|
+
eFree (tmp);
|
1991
|
+
}
|
1992
|
+
return NULL;
|
1993
|
+
}
|
1994
|
+
|
1995
|
+
static bool isDirectory (const char *const dirName)
|
1996
|
+
{
|
1997
|
+
fileStatus *status = eStat (dirName);
|
1998
|
+
return status->exists && status->isDirectory;
|
1999
|
+
}
|
2000
|
+
|
2001
|
+
static vString* expandOnOptlibPathList (const char* leaf)
|
2002
|
+
{
|
2003
|
+
vString* r;
|
2004
|
+
vString* leaf_with_suffix;
|
2005
|
+
|
2006
|
+
leaf_with_suffix = vStringNewInit (leaf);
|
2007
|
+
vStringCatS (leaf_with_suffix, ".d");
|
2008
|
+
|
2009
|
+
r = expandOnSearchPathList (OptlibPathList, vStringValue (leaf_with_suffix),
|
2010
|
+
isDirectory);
|
2011
|
+
|
2012
|
+
if (!r)
|
2013
|
+
{
|
2014
|
+
vStringCopyS (leaf_with_suffix, leaf);
|
2015
|
+
vStringCatS (leaf_with_suffix, ".conf");
|
2016
|
+
r = expandOnSearchPathList (OptlibPathList, vStringValue (leaf_with_suffix),
|
2017
|
+
doesFileExist);
|
2018
|
+
}
|
2019
|
+
|
2020
|
+
if (!r)
|
2021
|
+
{
|
2022
|
+
vStringCopyS (leaf_with_suffix, leaf);
|
2023
|
+
vStringCatS (leaf_with_suffix, ".ctags");
|
2024
|
+
r = expandOnSearchPathList (OptlibPathList, vStringValue (leaf_with_suffix),
|
2025
|
+
doesFileExist);
|
2026
|
+
}
|
2027
|
+
|
2028
|
+
#ifdef MSDOS_STYLE_PATH
|
2029
|
+
if (!r)
|
2030
|
+
{
|
2031
|
+
vStringCopyS (leaf_with_suffix, leaf);
|
2032
|
+
vStringCatS (leaf_with_suffix, ".cnf");
|
2033
|
+
r = expandOnSearchPathList (OptlibPathList, vStringValue (leaf_with_suffix),
|
2034
|
+
doesFileExist);
|
2035
|
+
}
|
2036
|
+
#endif
|
2037
|
+
|
2038
|
+
vStringDelete (leaf_with_suffix);
|
2039
|
+
|
2040
|
+
return r;
|
2041
|
+
}
|
2042
|
+
|
2043
|
+
extern vString* expandOnDriversPathList (const char* leaf)
|
2044
|
+
{
|
2045
|
+
return expandOnSearchPathList (DriversPathList, leaf, doesExecutableExist);
|
2046
|
+
}
|
2047
|
+
|
2048
|
+
static void processOptionFile (
|
2049
|
+
const char *const option, const char *const parameter)
|
2050
|
+
{
|
2051
|
+
const char* path;
|
2052
|
+
vString* vpath = NULL;
|
2053
|
+
fileStatus *status;
|
2054
|
+
|
2055
|
+
if (parameter [0] == '\0')
|
2056
|
+
error (FATAL, "no option file supplied for \"%s\"", option);
|
2057
|
+
|
2058
|
+
if (parameter [0] != '/' && parameter [0] != '.')
|
2059
|
+
{
|
2060
|
+
vpath = expandOnOptlibPathList (parameter);
|
2061
|
+
path = vpath? vStringValue (vpath): parameter;
|
2062
|
+
}
|
2063
|
+
else
|
2064
|
+
path = parameter;
|
2065
|
+
|
2066
|
+
status = eStat (path);
|
2067
|
+
if (!status->exists)
|
2068
|
+
{
|
2069
|
+
error (FATAL | PERROR, "cannot stat \"%s\"", path);
|
2070
|
+
}
|
2071
|
+
else if (status->isDirectory)
|
2072
|
+
{
|
2073
|
+
if (!parseAllConfigurationFilesOptionsInDirectory (path, NULL))
|
2074
|
+
error (FATAL | PERROR, "cannot open option directory \"%s\"", path);
|
2075
|
+
}
|
2076
|
+
else
|
2077
|
+
{
|
2078
|
+
if (!parseFileOptions (path))
|
2079
|
+
error (FATAL | PERROR, "cannot open option file \"%s\"", path);
|
2080
|
+
}
|
2081
|
+
|
2082
|
+
eStatFree (status);
|
2083
|
+
if (vpath)
|
2084
|
+
vStringDelete (vpath);
|
2085
|
+
}
|
2086
|
+
|
2087
|
+
static void processOutputFormat (const char *const option CTAGS_ATTR_UNUSED,
|
2088
|
+
const char *const parameter)
|
2089
|
+
{
|
2090
|
+
if (parameter [0] == '\0')
|
2091
|
+
error (FATAL, "no output format name supplied for \"%s\"", option);
|
2092
|
+
|
2093
|
+
if (strcmp (parameter, "ctags") == 0)
|
2094
|
+
;
|
2095
|
+
else if (strcmp (parameter, "etags") == 0)
|
2096
|
+
setEtagsMode ();
|
2097
|
+
else if (strcmp (parameter, "xref") == 0)
|
2098
|
+
setXrefMode ();
|
2099
|
+
#ifdef HAVE_JANSSON
|
2100
|
+
else if (strcmp (parameter, "json") == 0)
|
2101
|
+
setJsonMode ();
|
2102
|
+
#endif
|
2103
|
+
else
|
2104
|
+
error (FATAL, "unknown output format name supplied for \"%s=%s\"", option, parameter);
|
2105
|
+
}
|
2106
|
+
|
2107
|
+
static void processPseudoTags (const char *const option CTAGS_ATTR_UNUSED,
|
2108
|
+
const char *const parameter)
|
2109
|
+
{
|
2110
|
+
const char *p = parameter;
|
2111
|
+
bool s;
|
2112
|
+
ptagType t;
|
2113
|
+
|
2114
|
+
if (*p == '*')
|
2115
|
+
{
|
2116
|
+
int i;
|
2117
|
+
for (i = 0; i < PTAG_COUNT; i++)
|
2118
|
+
enablePtag (i, true);
|
2119
|
+
return;
|
2120
|
+
}
|
2121
|
+
|
2122
|
+
if (*p == '-')
|
2123
|
+
{
|
2124
|
+
s= false;
|
2125
|
+
p++;
|
2126
|
+
}
|
2127
|
+
else if (*p == '+')
|
2128
|
+
{
|
2129
|
+
s = true;
|
2130
|
+
p++;
|
2131
|
+
}
|
2132
|
+
else
|
2133
|
+
{
|
2134
|
+
unsigned int i;
|
2135
|
+
|
2136
|
+
s = true;
|
2137
|
+
for (i = 0; i < PTAG_COUNT; i++)
|
2138
|
+
enablePtag (i, false);
|
2139
|
+
if (*p == '\0')
|
2140
|
+
return;
|
2141
|
+
}
|
2142
|
+
|
2143
|
+
t = getPtagTypeForName (p);
|
2144
|
+
if (t == PTAG_UNKNOWN)
|
2145
|
+
error (FATAL, "Unknown pseudo tag name: %s", p);
|
2146
|
+
|
2147
|
+
enablePtag (t, s);
|
2148
|
+
}
|
2149
|
+
|
2150
|
+
static void processSortOption (
|
2151
|
+
const char *const option, const char *const parameter)
|
2152
|
+
{
|
2153
|
+
if (isFalse (parameter))
|
2154
|
+
Option.sorted = SO_UNSORTED;
|
2155
|
+
else if (isTrue (parameter))
|
2156
|
+
Option.sorted = SO_SORTED;
|
2157
|
+
else if (strcasecmp (parameter, "f") == 0 ||
|
2158
|
+
strcasecmp (parameter, "fold") == 0 ||
|
2159
|
+
strcasecmp (parameter, "foldcase") == 0)
|
2160
|
+
Option.sorted = SO_FOLDSORTED;
|
2161
|
+
else
|
2162
|
+
error (FATAL, "Invalid value for \"%s\" option", option);
|
2163
|
+
}
|
2164
|
+
|
2165
|
+
static void installHeaderListDefaults (void)
|
2166
|
+
{
|
2167
|
+
Option.headerExt = stringListNewFromArgv (HeaderExtensions);
|
2168
|
+
|
2169
|
+
BEGIN_VERBOSE(vfp);
|
2170
|
+
{
|
2171
|
+
fprintf (vfp, " Setting default header extensions: ");
|
2172
|
+
stringListPrint (Option.headerExt, vfp);
|
2173
|
+
putc ('\n', vfp);
|
2174
|
+
}
|
2175
|
+
END_VERBOSE();
|
2176
|
+
}
|
2177
|
+
|
2178
|
+
static void processHeaderListOption (const int option, const char *parameter)
|
2179
|
+
{
|
2180
|
+
/* Check to make sure that the user did not enter "ctags -h *.c"
|
2181
|
+
* by testing to see if the list is a filename that exists.
|
2182
|
+
*/
|
2183
|
+
if (doesFileExist (parameter))
|
2184
|
+
error (FATAL, "-%c: Invalid list", option);
|
2185
|
+
if (strcmp (parameter, "default") == 0)
|
2186
|
+
installHeaderListDefaults ();
|
2187
|
+
else
|
2188
|
+
{
|
2189
|
+
bool clear = true;
|
2190
|
+
|
2191
|
+
if (parameter [0] == '+')
|
2192
|
+
{
|
2193
|
+
++parameter;
|
2194
|
+
clear = false;
|
2195
|
+
}
|
2196
|
+
if (Option.headerExt == NULL)
|
2197
|
+
Option.headerExt = stringListNew ();
|
2198
|
+
verbose (" Header Extensions:\n");
|
2199
|
+
addExtensionList (Option.headerExt, parameter, clear);
|
2200
|
+
}
|
2201
|
+
}
|
2202
|
+
|
2203
|
+
/*
|
2204
|
+
* Token ignore processing
|
2205
|
+
*/
|
2206
|
+
static void readIgnoreList (const char *const list)
|
2207
|
+
{
|
2208
|
+
langType lang = getNamedLanguage ("CPreProcessor", 0);
|
2209
|
+
char* newList = stringCopy (list);
|
2210
|
+
const char *token = strtok (newList, IGNORE_SEPARATORS);
|
2211
|
+
|
2212
|
+
while (token != NULL)
|
2213
|
+
{
|
2214
|
+
applyParameter (lang, "ignore", token);
|
2215
|
+
token = strtok (NULL, IGNORE_SEPARATORS);
|
2216
|
+
}
|
2217
|
+
eFree (newList);
|
2218
|
+
}
|
2219
|
+
|
2220
|
+
static void addIgnoreListFromFile (const char *const fileName)
|
2221
|
+
{
|
2222
|
+
langType lang = getNamedLanguage ("CPreProcessor", 0);
|
2223
|
+
|
2224
|
+
stringList* tokens = stringListNewFromFile (fileName);
|
2225
|
+
if (tokens == NULL)
|
2226
|
+
error (FATAL | PERROR, "cannot open \"%s\"", fileName);
|
2227
|
+
|
2228
|
+
int c = stringListCount(tokens);
|
2229
|
+
int i;
|
2230
|
+
|
2231
|
+
for(i=0;i<c;i++)
|
2232
|
+
{
|
2233
|
+
vString * s = stringListItem(tokens,i);
|
2234
|
+
applyParameter (lang, "ignore", vStringValue(s));
|
2235
|
+
}
|
2236
|
+
|
2237
|
+
stringListDelete(tokens);
|
2238
|
+
}
|
2239
|
+
|
2240
|
+
static void processIgnoreOption (const char *const list, int IgnoreOrDefine)
|
2241
|
+
{
|
2242
|
+
langType lang = getNamedLanguage ("CPreProcessor", 0);
|
2243
|
+
|
2244
|
+
if (IgnoreOrDefine == 'D')
|
2245
|
+
applyParameter (lang, "define", list);
|
2246
|
+
else if (strchr ("@./\\", list [0]) != NULL)
|
2247
|
+
{
|
2248
|
+
const char* fileName = (*list == '@') ? list + 1 : list;
|
2249
|
+
addIgnoreListFromFile (fileName);
|
2250
|
+
}
|
2251
|
+
#if defined (WIN32)
|
2252
|
+
else if (isalpha (list [0]) && list [1] == ':')
|
2253
|
+
addIgnoreListFromFile (list);
|
2254
|
+
#endif
|
2255
|
+
else if (strcmp (list, "-") == 0)
|
2256
|
+
applyParameter (lang, "ignore", NULL);
|
2257
|
+
else
|
2258
|
+
readIgnoreList (list);
|
2259
|
+
}
|
2260
|
+
|
2261
|
+
static void processEchoOption (const char *const option, const char *const parameter)
|
2262
|
+
{
|
2263
|
+
if (parameter == NULL || parameter[0] == '\0')
|
2264
|
+
error (FATAL, "Something message is needed for \"%s\" option", option);
|
2265
|
+
notice ("%s", parameter);
|
2266
|
+
}
|
2267
|
+
|
2268
|
+
static void processForceQuitOption (const char *const option CTAGS_ATTR_UNUSED,
|
2269
|
+
const char *const parameter)
|
2270
|
+
{
|
2271
|
+
int s;
|
2272
|
+
if (parameter == NULL || parameter[0] == '\0' || !strToInt(parameter, 0, &s))
|
2273
|
+
s = 0;
|
2274
|
+
exit (s);
|
2275
|
+
}
|
2276
|
+
|
2277
|
+
static void processVersionOption (
|
2278
|
+
const char *const option CTAGS_ATTR_UNUSED,
|
2279
|
+
const char *const parameter CTAGS_ATTR_UNUSED)
|
2280
|
+
{
|
2281
|
+
printProgramIdentification ();
|
2282
|
+
exit (0);
|
2283
|
+
}
|
2284
|
+
|
2285
|
+
static void processXformatOption (const char *const option CTAGS_ATTR_UNUSED,
|
2286
|
+
const char *const parameter)
|
2287
|
+
{
|
2288
|
+
if (Option.customXfmt)
|
2289
|
+
fmtDelete (Option.customXfmt);
|
2290
|
+
|
2291
|
+
Option.customXfmt = fmtNew (parameter);
|
2292
|
+
}
|
2293
|
+
|
2294
|
+
static void resetPathList (searchPathList** pathList, const char *const varname)
|
2295
|
+
{
|
2296
|
+
freeSearchPathList (pathList);
|
2297
|
+
verbose ("Reset %s\n", varname);
|
2298
|
+
*pathList = stringListNew ();
|
2299
|
+
}
|
2300
|
+
|
2301
|
+
static void resetDataPathList (void)
|
2302
|
+
{
|
2303
|
+
resetPathList (&OptlibPathList, "OptlibPathList");
|
2304
|
+
}
|
2305
|
+
|
2306
|
+
static void resetLibexecPathList (void)
|
2307
|
+
{
|
2308
|
+
resetPathList (&DriversPathList, "DriversPathList");
|
2309
|
+
}
|
2310
|
+
|
2311
|
+
static void appendToPathList (const char *const dir, const char *const subdir, searchPathList* const pathList, const char *const varname,
|
2312
|
+
bool report_in_verboe, const char* const action)
|
2313
|
+
{
|
2314
|
+
char* path;
|
2315
|
+
|
2316
|
+
path = combinePathAndFile (dir, subdir);
|
2317
|
+
if (report_in_verboe)
|
2318
|
+
verbose ("%s %s to %s\n", action, path, varname);
|
2319
|
+
stringListAdd (pathList, vStringNewOwn (path));
|
2320
|
+
}
|
2321
|
+
|
2322
|
+
static void prependToPathList (const char *const dir, const char *const subdir, searchPathList* const pathList, const char *const varname,
|
2323
|
+
bool report_in_verboe, const char* const action)
|
2324
|
+
{
|
2325
|
+
stringListReverse (pathList);
|
2326
|
+
appendToPathList(dir, subdir, pathList, varname, report_in_verboe, action);
|
2327
|
+
stringListReverse (pathList);
|
2328
|
+
|
2329
|
+
}
|
2330
|
+
|
2331
|
+
static void appendToDataPathList (const char *const dir, bool from_cmdline)
|
2332
|
+
{
|
2333
|
+
appendToPathList (dir, SUBDIR_OPTLIB, OptlibPathList, "OptlibPathList",
|
2334
|
+
from_cmdline, from_cmdline? "Append": NULL);
|
2335
|
+
|
2336
|
+
if (!from_cmdline)
|
2337
|
+
appendToPathList (dir, SUBDIR_PRELOAD, PreloadPathList, "PreloadPathList",
|
2338
|
+
false, NULL);
|
2339
|
+
}
|
2340
|
+
|
2341
|
+
static void appendToLibexecPathList (const char *const dir, bool from_cmdline)
|
2342
|
+
{
|
2343
|
+
appendToPathList (dir, SUBDIR_DRIVERS, DriversPathList, "DriversPathList",
|
2344
|
+
from_cmdline, from_cmdline? "Append": NULL);
|
2345
|
+
}
|
2346
|
+
|
2347
|
+
static void prependToDataPathList (const char *const dir, bool from_cmdline)
|
2348
|
+
{
|
2349
|
+
prependToPathList (dir, SUBDIR_OPTLIB, OptlibPathList, "OptlibPathList",
|
2350
|
+
from_cmdline, from_cmdline? "Prepend": NULL);
|
2351
|
+
if (!from_cmdline)
|
2352
|
+
prependToPathList (dir, SUBDIR_PRELOAD, PreloadPathList, "PreloadPathList",
|
2353
|
+
false, NULL);
|
2354
|
+
}
|
2355
|
+
|
2356
|
+
static void prependToLibexecPathList (const char *const dir, bool from_cmdline)
|
2357
|
+
{
|
2358
|
+
prependToPathList (dir, SUBDIR_DRIVERS, DriversPathList, "DriversPathList",
|
2359
|
+
from_cmdline, from_cmdline? "Prepend": NULL);
|
2360
|
+
}
|
2361
|
+
|
2362
|
+
static void processDataDir (
|
2363
|
+
const char *const option, const char *const parameter)
|
2364
|
+
{
|
2365
|
+
const char* path;
|
2366
|
+
|
2367
|
+
if (parameter == NULL || parameter[0] == '\0')
|
2368
|
+
error (FATAL, "Path for a directory is needed for \"%s\" option", option);
|
2369
|
+
|
2370
|
+
if (parameter[0] == '+')
|
2371
|
+
{
|
2372
|
+
path = parameter + 1;
|
2373
|
+
prependToDataPathList (path, true);
|
2374
|
+
}
|
2375
|
+
else if (!strcmp (parameter, "NONE"))
|
2376
|
+
resetDataPathList ();
|
2377
|
+
else
|
2378
|
+
{
|
2379
|
+
resetDataPathList ();
|
2380
|
+
path = parameter;
|
2381
|
+
appendToDataPathList (path, true);
|
2382
|
+
}
|
2383
|
+
}
|
2384
|
+
|
2385
|
+
static void processLibexecDir (const char *const option,
|
2386
|
+
const char *const parameter)
|
2387
|
+
{
|
2388
|
+
const char* path;
|
2389
|
+
|
2390
|
+
if (parameter == NULL || parameter[0] == '\0')
|
2391
|
+
error (FATAL, "Path for a directory is needed for \"%s\" option", option);
|
2392
|
+
|
2393
|
+
if (parameter[0] == '+')
|
2394
|
+
{
|
2395
|
+
path = parameter + 1;
|
2396
|
+
prependToLibexecPathList (path, true);
|
2397
|
+
}
|
2398
|
+
else if (!strcmp (parameter, "NONE"))
|
2399
|
+
resetLibexecPathList ();
|
2400
|
+
else
|
2401
|
+
{
|
2402
|
+
resetLibexecPathList ();
|
2403
|
+
path = parameter;
|
2404
|
+
appendToLibexecPathList (path, true);
|
2405
|
+
}
|
2406
|
+
}
|
2407
|
+
|
2408
|
+
static void processMaxRecursionDepthOption (const char *const option, const char *const parameter)
|
2409
|
+
{
|
2410
|
+
if (parameter == NULL || parameter[0] == '\0')
|
2411
|
+
error (FATAL, "A parameter is needed after \"%s\" option", option);
|
2412
|
+
|
2413
|
+
if (atol (parameter) < 1)
|
2414
|
+
error (FATAL, "-%s: Invalid maximum recursion depth", option);
|
2415
|
+
|
2416
|
+
Option.maxRecursionDepth = atol(parameter);
|
2417
|
+
}
|
2418
|
+
|
2419
|
+
static void processPatternLengthLimit(const char *const option, const char *const parameter)
|
2420
|
+
{
|
2421
|
+
if (parameter == NULL || parameter[0] == '\0')
|
2422
|
+
error (FATAL, "A parameter is needed after \"%s\" option", option);
|
2423
|
+
|
2424
|
+
if (!strToUInt(parameter, 0, &Option.patternLengthLimit))
|
2425
|
+
error (FATAL, "-%s: Invalid pattern length limit", option);
|
2426
|
+
}
|
2427
|
+
|
2428
|
+
static bool* redirectToXtag(const booleanOption *const option)
|
2429
|
+
{
|
2430
|
+
/* WARNING/TODO: This function breaks capsulization. */
|
2431
|
+
xtagType t = (xtagType)option->pValue;
|
2432
|
+
bool default_value = isXtagEnabled (t);
|
2433
|
+
|
2434
|
+
enableXtag (t, default_value);
|
2435
|
+
|
2436
|
+
return &(getXtagDesc (t)->enabled);
|
2437
|
+
}
|
2438
|
+
|
2439
|
+
/*
|
2440
|
+
* Option tables
|
2441
|
+
*/
|
2442
|
+
|
2443
|
+
static parametricOption ParametricOptions [] = {
|
2444
|
+
{ "config-filename", processConfigFilenameOption, true, STAGE_ANY },
|
2445
|
+
{ "data-dir", processDataDir, false, STAGE_ANY },
|
2446
|
+
{ "etags-include", processEtagsInclude, false, STAGE_ANY },
|
2447
|
+
{ "exclude", processExcludeOption, false, STAGE_ANY },
|
2448
|
+
{ "excmd", processExcmdOption, false, STAGE_ANY },
|
2449
|
+
{ "extra", processExtraTagsOption, false, STAGE_ANY },
|
2450
|
+
{ "fields", processFieldsOption, false, STAGE_ANY },
|
2451
|
+
{ "filter-terminator", processFilterTerminatorOption, true, STAGE_ANY },
|
2452
|
+
{ "format", processFormatOption, true, STAGE_ANY },
|
2453
|
+
{ "help", processHelpOption, true, STAGE_ANY },
|
2454
|
+
#ifdef HAVE_JANSSON
|
2455
|
+
{ "interactive", processInteractiveOption, true, STAGE_ANY },
|
2456
|
+
#endif
|
2457
|
+
{ "if0", processIf0Option, false, STAGE_ANY },
|
2458
|
+
#ifdef HAVE_ICONV
|
2459
|
+
{ "input-encoding", processInputEncodingOption, false, STAGE_ANY },
|
2460
|
+
{ "output-encoding", processOutputEncodingOption, false, STAGE_ANY },
|
2461
|
+
#endif
|
2462
|
+
{ "lang", processLanguageForceOption, false, STAGE_ANY },
|
2463
|
+
{ "language", processLanguageForceOption, false, STAGE_ANY },
|
2464
|
+
{ "language-force", processLanguageForceOption, false, STAGE_ANY },
|
2465
|
+
{ "languages", processLanguagesOption, false, STAGE_ANY },
|
2466
|
+
{ "langdef", processLanguageDefineOption, false, STAGE_ANY },
|
2467
|
+
{ "langmap", processLanguageMapOption, false, STAGE_ANY },
|
2468
|
+
{ "libexec-dir", processLibexecDir, false, STAGE_ANY },
|
2469
|
+
{ "license", processLicenseOption, true, STAGE_ANY },
|
2470
|
+
{ "list-aliases", processListAliasesOption, true, STAGE_ANY },
|
2471
|
+
{ "list-extensions", processListExtensionsOption, true, STAGE_ANY },
|
2472
|
+
{ "list-extra", processListExtraOption, true, STAGE_ANY },
|
2473
|
+
{ "list-features", processListFeaturesOption, true, STAGE_ANY },
|
2474
|
+
{ "list-fields", processListFieldsOption, true, STAGE_ANY },
|
2475
|
+
{ "list-file-kind", processListFileKindOption, true, STAGE_ANY },
|
2476
|
+
{ "list-kinds", processListKindsOption, true, STAGE_ANY },
|
2477
|
+
{ "list-kinds-full", processListKindsOption, true, STAGE_ANY },
|
2478
|
+
{ "list-languages", processListLanguagesOption, true, STAGE_ANY },
|
2479
|
+
{ "list-maps", processListMapsOption, true, STAGE_ANY },
|
2480
|
+
{ "list-params", processListParametersOption, true, STAGE_ANY },
|
2481
|
+
{ "list-patterns", processListPatternsOption, true, STAGE_ANY },
|
2482
|
+
{ "list-pseudo-tags", processListPseudoTagsOptions, true, STAGE_ANY },
|
2483
|
+
{ "list-regex-flags", processListRegexFlagsOptions, true, STAGE_ANY },
|
2484
|
+
{ "_list-roles", processListRolesOptions, true, STAGE_ANY },
|
2485
|
+
{ "maxdepth", processMaxRecursionDepthOption, true, STAGE_ANY },
|
2486
|
+
{ "options", processOptionFile, false, STAGE_ANY },
|
2487
|
+
{ "output-format", processOutputFormat, true, STAGE_ANY },
|
2488
|
+
{ "pattern-length-limit", processPatternLengthLimit, true, STAGE_ANY },
|
2489
|
+
{ "pseudo-tags", processPseudoTags, false, STAGE_ANY },
|
2490
|
+
{ "sort", processSortOption, true, STAGE_ANY },
|
2491
|
+
{ "version", processVersionOption, true, STAGE_ANY },
|
2492
|
+
{ "_echo", processEchoOption, false, STAGE_ANY },
|
2493
|
+
{ "_force-quit", processForceQuitOption, false, STAGE_ANY },
|
2494
|
+
{ "_xformat", processXformatOption, false, STAGE_ANY },
|
2495
|
+
};
|
2496
|
+
|
2497
|
+
static booleanOption BooleanOptions [] = {
|
2498
|
+
{ "append", &Option.append, true, STAGE_ANY },
|
2499
|
+
{ "file-scope", ((bool *)XTAG_FILE_SCOPE), false, STAGE_ANY, redirectToXtag },
|
2500
|
+
{ "file-tags", ((bool *)XTAG_FILE_NAMES), false, STAGE_ANY, redirectToXtag },
|
2501
|
+
{ "filter", &Option.filter, true, STAGE_ANY },
|
2502
|
+
{ "guess-language-eagerly", &Option.guessLanguageEagerly, false, STAGE_ANY },
|
2503
|
+
{ "line-directives",&Option.lineDirectives, false, STAGE_ANY },
|
2504
|
+
{ "links", &Option.followLinks, false, STAGE_ANY },
|
2505
|
+
{ "machinable", &Option.machinable, true, STAGE_ANY },
|
2506
|
+
{ "put-field-prefix", &Option.putFieldPrefix, false, STAGE_ANY },
|
2507
|
+
{ "print-language", &Option.printLanguage, true, STAGE_ANY },
|
2508
|
+
{ "quiet", &Option.quiet, false, STAGE_ANY },
|
2509
|
+
#ifdef RECURSE_SUPPORTED
|
2510
|
+
{ "recurse", &Option.recurse, false, STAGE_ANY },
|
2511
|
+
#endif
|
2512
|
+
{ "tag-relative", &Option.tagRelative, true, STAGE_ANY },
|
2513
|
+
{ "totals", &Option.printTotals, true, STAGE_ANY },
|
2514
|
+
{ "verbose", &Option.verbose, false, STAGE_ANY },
|
2515
|
+
{ "with-list-header", &Option.withListHeader, true, STAGE_ANY },
|
2516
|
+
{ "_allow-xcmd-in-homedir", &Option.allowXcmdInHomeDir, true, ACCEPT(Etc)|ACCEPT(LocalEtc) },
|
2517
|
+
{ "_fatal-warnings",&Option.fatalWarnings, false, STAGE_ANY },
|
2518
|
+
};
|
2519
|
+
|
2520
|
+
/*
|
2521
|
+
* Generic option parsing
|
2522
|
+
*/
|
2523
|
+
|
2524
|
+
static void checkOptionOrder (const char* const option, bool longOption)
|
2525
|
+
{
|
2526
|
+
if (NonOptionEncountered)
|
2527
|
+
error (FATAL, "-%s%s option may not follow a file name", longOption? "-": "", option);
|
2528
|
+
}
|
2529
|
+
|
2530
|
+
static bool processParametricOption (
|
2531
|
+
const char *const option, const char *const parameter)
|
2532
|
+
{
|
2533
|
+
const int count = sizeof (ParametricOptions) / sizeof (parametricOption);
|
2534
|
+
bool found = false;
|
2535
|
+
int i;
|
2536
|
+
|
2537
|
+
for (i = 0 ; i < count && ! found ; ++i)
|
2538
|
+
{
|
2539
|
+
parametricOption* const entry = &ParametricOptions [i];
|
2540
|
+
if (strcmp (option, entry->name) == 0)
|
2541
|
+
{
|
2542
|
+
found = true;
|
2543
|
+
if (!(entry->acceptableStages & (1UL << Stage)))
|
2544
|
+
{
|
2545
|
+
error (WARNING, "Cannot use --%s option in %s",
|
2546
|
+
option, StageDescription[Stage]);
|
2547
|
+
break;
|
2548
|
+
}
|
2549
|
+
if (entry->initOnly)
|
2550
|
+
checkOptionOrder (option, true);
|
2551
|
+
(entry->handler) (option, parameter);
|
2552
|
+
}
|
2553
|
+
}
|
2554
|
+
return found;
|
2555
|
+
}
|
2556
|
+
|
2557
|
+
static bool getBooleanOption (
|
2558
|
+
const char *const option, const char *const parameter)
|
2559
|
+
{
|
2560
|
+
bool selection = true;
|
2561
|
+
|
2562
|
+
if (parameter [0] == '\0')
|
2563
|
+
selection = true;
|
2564
|
+
else if (isFalse (parameter))
|
2565
|
+
selection = false;
|
2566
|
+
else if (isTrue (parameter))
|
2567
|
+
selection = true;
|
2568
|
+
else
|
2569
|
+
error (FATAL, "Invalid value for \"%s\" option", option);
|
2570
|
+
|
2571
|
+
return selection;
|
2572
|
+
}
|
2573
|
+
|
2574
|
+
static bool processBooleanOption (
|
2575
|
+
const char *const option, const char *const parameter)
|
2576
|
+
{
|
2577
|
+
const int count = sizeof (BooleanOptions) / sizeof (booleanOption);
|
2578
|
+
bool found = false;
|
2579
|
+
int i;
|
2580
|
+
|
2581
|
+
for (i = 0 ; i < count && ! found ; ++i)
|
2582
|
+
{
|
2583
|
+
booleanOption* const entry = &BooleanOptions [i];
|
2584
|
+
bool *slot;
|
2585
|
+
if (strcmp (option, entry->name) == 0)
|
2586
|
+
{
|
2587
|
+
found = true;
|
2588
|
+
if (!(entry->acceptableStages & (1UL << Stage)))
|
2589
|
+
{
|
2590
|
+
error (WARNING, "Cannot use --%s option in %s",
|
2591
|
+
option, StageDescription[Stage]);
|
2592
|
+
break;
|
2593
|
+
}
|
2594
|
+
if (entry->initOnly)
|
2595
|
+
checkOptionOrder (option, true);
|
2596
|
+
if (entry->redirect)
|
2597
|
+
slot = entry->redirect (entry);
|
2598
|
+
else
|
2599
|
+
slot = entry->pValue;
|
2600
|
+
*slot = getBooleanOption (option, parameter);
|
2601
|
+
}
|
2602
|
+
}
|
2603
|
+
return found;
|
2604
|
+
}
|
2605
|
+
|
2606
|
+
static void enableLanguageField (langType language, const char *field, bool mode)
|
2607
|
+
{
|
2608
|
+
|
2609
|
+
fieldType t;
|
2610
|
+
|
2611
|
+
t = getFieldTypeForNameAndLanguage (field, language);
|
2612
|
+
if (t == FIELD_UNKNOWN)
|
2613
|
+
error(FATAL, "no such field: \'%s\'", field);
|
2614
|
+
enableField (t, mode, (language != LANG_AUTO));
|
2615
|
+
if (language == LANG_AUTO)
|
2616
|
+
{
|
2617
|
+
fieldType ftype_next = t;
|
2618
|
+
|
2619
|
+
while ((ftype_next = nextSiblingField (ftype_next)) != FIELD_UNKNOWN)
|
2620
|
+
enableField (ftype_next, mode, (language != LANG_AUTO));
|
2621
|
+
}
|
2622
|
+
}
|
2623
|
+
|
2624
|
+
static bool processLangSpecificFieldsOption (const char *const option,
|
2625
|
+
const char *const parameter)
|
2626
|
+
{
|
2627
|
+
#define PREFIX "fields-"
|
2628
|
+
#define PREFIX_LEN strlen(PREFIX)
|
2629
|
+
const char* lang;
|
2630
|
+
size_t len;
|
2631
|
+
langType language = LANG_IGNORE;
|
2632
|
+
const char *p = parameter;
|
2633
|
+
int c;
|
2634
|
+
static vString * longName;
|
2635
|
+
bool mode = true;
|
2636
|
+
const char *f;
|
2637
|
+
bool inLongName = false;
|
2638
|
+
|
2639
|
+
if ( strncmp (option, PREFIX, PREFIX_LEN) != 0 )
|
2640
|
+
return false;
|
2641
|
+
|
2642
|
+
lang = option + PREFIX_LEN;
|
2643
|
+
len = strlen (lang);
|
2644
|
+
if (len == 0)
|
2645
|
+
error (FATAL, "No language given in \"%s\" option", option);
|
2646
|
+
else if (len == 1 && lang[0] == '*')
|
2647
|
+
language = LANG_AUTO;
|
2648
|
+
else
|
2649
|
+
language = getNamedLanguage (lang, len);
|
2650
|
+
|
2651
|
+
if (language == LANG_IGNORE)
|
2652
|
+
{
|
2653
|
+
error (WARNING, "Unknown language: %s (ignoring \"--%s\")", lang, option);
|
2654
|
+
/* The option is consumed in tihs function. */
|
2655
|
+
return true;
|
2656
|
+
}
|
2657
|
+
|
2658
|
+
initializeParser (language);
|
2659
|
+
|
2660
|
+
if (*p == '*')
|
2661
|
+
{
|
2662
|
+
resetFieldsOption (language, true);
|
2663
|
+
p++;
|
2664
|
+
}
|
2665
|
+
else if (*p == '{')
|
2666
|
+
resetFieldsOption (language, false);
|
2667
|
+
else if (*p != '+' && *p != '-')
|
2668
|
+
error (WARNING, "Wrong per language field specification: %s", p);
|
2669
|
+
|
2670
|
+
longName = vStringNewOrClear (longName);
|
2671
|
+
while ((c = *p++) != '\0')
|
2672
|
+
{
|
2673
|
+
switch (c)
|
2674
|
+
{
|
2675
|
+
case '+':
|
2676
|
+
if (inLongName)
|
2677
|
+
vStringPut (longName, c);
|
2678
|
+
else
|
2679
|
+
mode = true;
|
2680
|
+
break;
|
2681
|
+
case '-':
|
2682
|
+
if (inLongName)
|
2683
|
+
vStringPut (longName, c);
|
2684
|
+
else
|
2685
|
+
mode = false;
|
2686
|
+
break;
|
2687
|
+
case '{':
|
2688
|
+
if (inLongName)
|
2689
|
+
error (FATAL,
|
2690
|
+
"unexpected character in field specification: \'%c\'",
|
2691
|
+
c);
|
2692
|
+
inLongName = true;
|
2693
|
+
break;
|
2694
|
+
case '}':
|
2695
|
+
if (!inLongName)
|
2696
|
+
error (FATAL,
|
2697
|
+
"unexpected character in field specification: \'%c\'",
|
2698
|
+
c);
|
2699
|
+
|
2700
|
+
f = vStringValue (longName);
|
2701
|
+
enableLanguageField (language, f, mode);
|
2702
|
+
inLongName = false;
|
2703
|
+
vStringClear (longName);
|
2704
|
+
break;
|
2705
|
+
default:
|
2706
|
+
if (inLongName)
|
2707
|
+
vStringPut (longName, c);
|
2708
|
+
else
|
2709
|
+
error (FATAL,
|
2710
|
+
"only long name can be used in per language field spec: \'%c\'",
|
2711
|
+
c);
|
2712
|
+
break;
|
2713
|
+
}
|
2714
|
+
}
|
2715
|
+
return true;
|
2716
|
+
}
|
2717
|
+
|
2718
|
+
static void processLongOption (
|
2719
|
+
const char *const option, const char *const parameter)
|
2720
|
+
{
|
2721
|
+
Assert (parameter != NULL);
|
2722
|
+
Assert (option != NULL);
|
2723
|
+
|
2724
|
+
if (parameter [0] == '\0')
|
2725
|
+
verbose (" Option: --%s\n", option);
|
2726
|
+
else
|
2727
|
+
verbose (" Option: --%s=%s\n", option, parameter);
|
2728
|
+
|
2729
|
+
if (processBooleanOption (option, parameter))
|
2730
|
+
;
|
2731
|
+
else if (processLangSpecificFieldsOption(option, parameter))
|
2732
|
+
;
|
2733
|
+
else if (processParametricOption (option, parameter))
|
2734
|
+
;
|
2735
|
+
else if (processKindOption (option, parameter))
|
2736
|
+
;
|
2737
|
+
else if (processAliasOption (option, parameter))
|
2738
|
+
;
|
2739
|
+
else if (processRegexOption (option, parameter))
|
2740
|
+
;
|
2741
|
+
else if (processXcmdOption (option, parameter, Stage))
|
2742
|
+
;
|
2743
|
+
else if (processMapOption (option, parameter))
|
2744
|
+
;
|
2745
|
+
else if (processParamOption (option, parameter))
|
2746
|
+
;
|
2747
|
+
#ifdef HAVE_ICONV
|
2748
|
+
else if (processLanguageEncodingOption (option, parameter))
|
2749
|
+
;
|
2750
|
+
#endif
|
2751
|
+
#ifndef RECURSE_SUPPORTED
|
2752
|
+
else if (strcmp (option, "recurse") == 0)
|
2753
|
+
error (WARNING, "%s option not supported on this host", option);
|
2754
|
+
#endif
|
2755
|
+
else
|
2756
|
+
error (FATAL, "Unknown option: --%s", option);
|
2757
|
+
}
|
2758
|
+
|
2759
|
+
static void processShortOption (
|
2760
|
+
const char *const option, const char *const parameter)
|
2761
|
+
{
|
2762
|
+
if (parameter == NULL || parameter [0] == '\0')
|
2763
|
+
verbose (" Option: -%s\n", option);
|
2764
|
+
else
|
2765
|
+
verbose (" Option: -%s %s\n", option, parameter);
|
2766
|
+
|
2767
|
+
if (isCompoundOption (*option) && (parameter == NULL || parameter [0] == '\0'))
|
2768
|
+
error (FATAL, "Missing parameter for \"%s\" option", option);
|
2769
|
+
else switch (*option)
|
2770
|
+
{
|
2771
|
+
case '?':
|
2772
|
+
processHelpOption ("?", NULL);
|
2773
|
+
exit (0);
|
2774
|
+
break;
|
2775
|
+
case 'a':
|
2776
|
+
checkOptionOrder (option, false);
|
2777
|
+
Option.append = true;
|
2778
|
+
break;
|
2779
|
+
#ifdef DEBUG
|
2780
|
+
case 'b':
|
2781
|
+
if (atol (parameter) < 0)
|
2782
|
+
error (FATAL, "-%s: Invalid line number", option);
|
2783
|
+
Option.breakLine = atol (parameter);
|
2784
|
+
break;
|
2785
|
+
case 'd':
|
2786
|
+
if (!strToLong(parameter, 0, &Option.debugLevel))
|
2787
|
+
error (FATAL, "-%s: Invalid debug level", option);
|
2788
|
+
|
2789
|
+
if (debug (DEBUG_STATUS))
|
2790
|
+
Option.verbose = true;
|
2791
|
+
break;
|
2792
|
+
#endif
|
2793
|
+
case 'B':
|
2794
|
+
Option.backward = true;
|
2795
|
+
break;
|
2796
|
+
case 'D':
|
2797
|
+
processIgnoreOption (parameter, *option);
|
2798
|
+
break;
|
2799
|
+
case 'e':
|
2800
|
+
checkOptionOrder (option, false);
|
2801
|
+
setEtagsMode ();
|
2802
|
+
break;
|
2803
|
+
case 'f':
|
2804
|
+
case 'o':
|
2805
|
+
checkOptionOrder (option, false);
|
2806
|
+
if (Option.tagFileName != NULL)
|
2807
|
+
{
|
2808
|
+
error (WARNING,
|
2809
|
+
"-%s option specified more than once, last value used",
|
2810
|
+
option);
|
2811
|
+
freeString (&Option.tagFileName);
|
2812
|
+
}
|
2813
|
+
else if (parameter [0] == '-' && parameter [1] != '\0')
|
2814
|
+
error (FATAL, "output file name may not begin with a '-'");
|
2815
|
+
Option.tagFileName = stringCopy (parameter);
|
2816
|
+
break;
|
2817
|
+
case 'F':
|
2818
|
+
Option.backward = false;
|
2819
|
+
break;
|
2820
|
+
case 'G':
|
2821
|
+
Option.guessLanguageEagerly = true;
|
2822
|
+
break;
|
2823
|
+
case 'h':
|
2824
|
+
processHeaderListOption (*option, parameter);
|
2825
|
+
break;
|
2826
|
+
case 'I':
|
2827
|
+
processIgnoreOption (parameter, *option);
|
2828
|
+
break;
|
2829
|
+
case 'L':
|
2830
|
+
if (Option.fileList != NULL)
|
2831
|
+
{
|
2832
|
+
error (WARNING,
|
2833
|
+
"-%s option specified more than once, last value used",
|
2834
|
+
option);
|
2835
|
+
freeString (&Option.fileList);
|
2836
|
+
}
|
2837
|
+
Option.fileList = stringCopy (parameter);
|
2838
|
+
break;
|
2839
|
+
case 'n':
|
2840
|
+
Option.locate = EX_LINENUM;
|
2841
|
+
break;
|
2842
|
+
case 'N':
|
2843
|
+
Option.locate = EX_PATTERN;
|
2844
|
+
break;
|
2845
|
+
case 'R':
|
2846
|
+
#ifdef RECURSE_SUPPORTED
|
2847
|
+
Option.recurse = true;
|
2848
|
+
#else
|
2849
|
+
error (WARNING, "-%s option not supported on this host", option);
|
2850
|
+
#endif
|
2851
|
+
break;
|
2852
|
+
case 'u':
|
2853
|
+
checkOptionOrder (option, false);
|
2854
|
+
Option.sorted = SO_UNSORTED;
|
2855
|
+
break;
|
2856
|
+
case 'V':
|
2857
|
+
Option.verbose = true;
|
2858
|
+
break;
|
2859
|
+
case 'w':
|
2860
|
+
/* silently ignored */
|
2861
|
+
break;
|
2862
|
+
case 'x':
|
2863
|
+
checkOptionOrder (option, false);
|
2864
|
+
setXrefMode ();
|
2865
|
+
break;
|
2866
|
+
default:
|
2867
|
+
error (FATAL, "Unknown option: -%s", option);
|
2868
|
+
break;
|
2869
|
+
}
|
2870
|
+
}
|
2871
|
+
|
2872
|
+
static void parseOption (cookedArgs* const args)
|
2873
|
+
{
|
2874
|
+
Assert (! cArgOff (args));
|
2875
|
+
if (args->isOption)
|
2876
|
+
{
|
2877
|
+
if (args->longOption)
|
2878
|
+
processLongOption (args->item, args->parameter);
|
2879
|
+
else
|
2880
|
+
{
|
2881
|
+
const char *parameter = args->parameter;
|
2882
|
+
while (*parameter == ' ')
|
2883
|
+
++parameter;
|
2884
|
+
processShortOption (args->item, parameter);
|
2885
|
+
}
|
2886
|
+
cArgForth (args);
|
2887
|
+
}
|
2888
|
+
}
|
2889
|
+
|
2890
|
+
static void parseOptions (cookedArgs* const args)
|
2891
|
+
{
|
2892
|
+
while (! cArgOff (args) && cArgIsOption (args))
|
2893
|
+
parseOption (args);
|
2894
|
+
if (! cArgOff (args) && ! cArgIsOption (args))
|
2895
|
+
NonOptionEncountered = true;
|
2896
|
+
}
|
2897
|
+
|
2898
|
+
extern void parseCmdlineOptions (cookedArgs* const args)
|
2899
|
+
{
|
2900
|
+
ENTER (Cmdline);
|
2901
|
+
parseOptions (args);
|
2902
|
+
}
|
2903
|
+
|
2904
|
+
static bool checkSameFile (const char *const fileName, void * userData)
|
2905
|
+
{
|
2906
|
+
return isSameFile ((const char* const) userData, fileName);
|
2907
|
+
}
|
2908
|
+
|
2909
|
+
static bool parseFileOptions (const char* const fileName)
|
2910
|
+
{
|
2911
|
+
bool fileFound = false;
|
2912
|
+
const char* const format = "Considering option file %s: %s\n";
|
2913
|
+
if (stringListHasTest (OptionFiles, checkSameFile, (void *) fileName))
|
2914
|
+
{
|
2915
|
+
verbose (format, fileName, "already considered");
|
2916
|
+
fileFound = true;
|
2917
|
+
}
|
2918
|
+
else
|
2919
|
+
{
|
2920
|
+
FILE* const fp = fopen (fileName, "r");
|
2921
|
+
if (fp == NULL)
|
2922
|
+
verbose (format, fileName, "not found");
|
2923
|
+
else
|
2924
|
+
{
|
2925
|
+
cookedArgs* const args = cArgNewFromLineFile (fp);
|
2926
|
+
vString* file = vStringNewInit (fileName);
|
2927
|
+
stringListAdd (OptionFiles, file);
|
2928
|
+
verbose (format, fileName, "reading...");
|
2929
|
+
parseOptions (args);
|
2930
|
+
if (NonOptionEncountered)
|
2931
|
+
error (WARNING, "Ignoring non-option in %s\n", fileName);
|
2932
|
+
cArgDelete (args);
|
2933
|
+
fclose (fp);
|
2934
|
+
fileFound = true;
|
2935
|
+
}
|
2936
|
+
}
|
2937
|
+
return fileFound;
|
2938
|
+
}
|
2939
|
+
|
2940
|
+
/* Actions to be taken before reading any other options */
|
2941
|
+
extern void previewFirstOption (cookedArgs* const args)
|
2942
|
+
{
|
2943
|
+
while (cArgIsOption (args))
|
2944
|
+
{
|
2945
|
+
if (strcmp (args->item, "V") == 0
|
2946
|
+
|| strcmp (args->item, "verbose") == 0
|
2947
|
+
|| strcmp (args->item, "config-filename") == 0
|
2948
|
+
|| strcmp (args->item, "quiet") == 0)
|
2949
|
+
parseOption (args);
|
2950
|
+
else if (strcmp (args->item, "options") == 0 &&
|
2951
|
+
strcmp (args->parameter, "NONE") == 0)
|
2952
|
+
{
|
2953
|
+
notice ("No options will be read from files or environment");
|
2954
|
+
SkipConfiguration = true;
|
2955
|
+
cArgForth (args);
|
2956
|
+
}
|
2957
|
+
else
|
2958
|
+
break;
|
2959
|
+
}
|
2960
|
+
}
|
2961
|
+
|
2962
|
+
static void parseConfigurationFileOptionsInDirectoryWithLeafname (const char* directory, const char* leafname)
|
2963
|
+
{
|
2964
|
+
char* pathname = combinePathAndFile (directory, leafname);
|
2965
|
+
parseFileOptions (pathname);
|
2966
|
+
eFree (pathname);
|
2967
|
+
}
|
2968
|
+
|
2969
|
+
static void parseConfigurationFileOptionsInDirectory (const char* directory)
|
2970
|
+
{
|
2971
|
+
char *leafname = NULL;
|
2972
|
+
|
2973
|
+
if (asprintf (&leafname,".%s",(Option.configFilename)?Option.configFilename:"ctags") == -1)
|
2974
|
+
{
|
2975
|
+
error (FATAL, "error in asprintf");
|
2976
|
+
}
|
2977
|
+
parseConfigurationFileOptionsInDirectoryWithLeafname (directory, leafname);
|
2978
|
+
free (leafname);
|
2979
|
+
#ifdef MSDOS_STYLE_PATH
|
2980
|
+
if (asprintf (&leafname,"%s.cnf",(Option.configFilename)?Option.configFilename:"ctags") == -1)
|
2981
|
+
{
|
2982
|
+
error (FATAL, "error in asprintf");
|
2983
|
+
}
|
2984
|
+
parseConfigurationFileOptionsInDirectoryWithLeafname (directory, leafname);
|
2985
|
+
free (leafname);
|
2986
|
+
#endif
|
2987
|
+
}
|
2988
|
+
|
2989
|
+
#if defined(HAVE_SCANDIR)
|
2990
|
+
static int ignore_dot_file(const struct dirent* dent)
|
2991
|
+
{
|
2992
|
+
/* Ignore a file which name is started from dot. */
|
2993
|
+
if (*dent->d_name == '.')
|
2994
|
+
return 0;
|
2995
|
+
else
|
2996
|
+
return 1;
|
2997
|
+
}
|
2998
|
+
|
2999
|
+
static int accept_only_dot_d(const struct dirent* dent)
|
3000
|
+
{
|
3001
|
+
size_t len;
|
3002
|
+
|
3003
|
+
/* accept only a directory ended with ".d" */
|
3004
|
+
len = strlen(dent->d_name);
|
3005
|
+
|
3006
|
+
if (len < 3)
|
3007
|
+
return 0;
|
3008
|
+
return !strcmp(dent->d_name + (len - 2), ".d");
|
3009
|
+
}
|
3010
|
+
|
3011
|
+
static int accept_only_dot_ctags(const struct dirent* dent)
|
3012
|
+
{
|
3013
|
+
size_t len;
|
3014
|
+
|
3015
|
+
/* accept only a file ended with ".conf" or ".ctags" */
|
3016
|
+
len = strlen(dent->d_name);
|
3017
|
+
|
3018
|
+
if (len < 6)
|
3019
|
+
return 0;
|
3020
|
+
if (strcmp(dent->d_name + (len - 5), ".conf") == 0)
|
3021
|
+
return 1;
|
3022
|
+
|
3023
|
+
if (len < 7)
|
3024
|
+
return 0;
|
3025
|
+
if (strcmp(dent->d_name + (len - 6), ".ctags") == 0)
|
3026
|
+
return 1;
|
3027
|
+
|
3028
|
+
return 0;
|
3029
|
+
}
|
3030
|
+
|
3031
|
+
static bool parseAllConfigurationFilesOptionsInDirectory (const char* const dirName,
|
3032
|
+
stringList* const already_loaded_files)
|
3033
|
+
{
|
3034
|
+
struct dirent **dents;
|
3035
|
+
int i, n;
|
3036
|
+
|
3037
|
+
n = scandir (dirName, &dents, ignore_dot_file, alphasort);
|
3038
|
+
if (n < 0)
|
3039
|
+
return false;
|
3040
|
+
|
3041
|
+
for (i = 0; i < n; i++)
|
3042
|
+
{
|
3043
|
+
char* path;
|
3044
|
+
fileStatus *s;
|
3045
|
+
|
3046
|
+
if (already_loaded_files && stringListHas (already_loaded_files, dents[i]->d_name))
|
3047
|
+
continue;
|
3048
|
+
else if (already_loaded_files)
|
3049
|
+
stringListAdd (already_loaded_files, vStringNewInit (dents[i]->d_name));
|
3050
|
+
|
3051
|
+
path = combinePathAndFile (dirName, dents[i]->d_name);
|
3052
|
+
s = eStat (path);
|
3053
|
+
|
3054
|
+
if (s->exists && s->isDirectory && accept_only_dot_d(dents[i]))
|
3055
|
+
parseAllConfigurationFilesOptionsInDirectory (path,
|
3056
|
+
already_loaded_files);
|
3057
|
+
else if (s->exists && accept_only_dot_ctags(dents[i]))
|
3058
|
+
parseConfigurationFileOptionsInDirectoryWithLeafname (dirName,
|
3059
|
+
dents[i]->d_name);
|
3060
|
+
eStatFree (s);
|
3061
|
+
free (dents[i]);
|
3062
|
+
eFree (path);
|
3063
|
+
}
|
3064
|
+
free (dents);
|
3065
|
+
return true;
|
3066
|
+
}
|
3067
|
+
#else
|
3068
|
+
static bool parseAllConfigurationFilesOptionsInDirectory (const char* const dirName,
|
3069
|
+
stringList* const already_loaded_files)
|
3070
|
+
{
|
3071
|
+
return false;
|
3072
|
+
}
|
3073
|
+
#endif
|
3074
|
+
|
3075
|
+
static void preload (const searchPathList *const pathList)
|
3076
|
+
{
|
3077
|
+
unsigned int i;
|
3078
|
+
stringList* loaded;
|
3079
|
+
|
3080
|
+
loaded = stringListNew ();
|
3081
|
+
for (i = 0; i < stringListCount (pathList); ++i)
|
3082
|
+
{
|
3083
|
+
const char* const dir = vStringValue (stringListItem (pathList, i));
|
3084
|
+
parseAllConfigurationFilesOptionsInDirectory (dir, loaded);
|
3085
|
+
}
|
3086
|
+
stringListClear (loaded);
|
3087
|
+
stringListDelete (loaded);
|
3088
|
+
}
|
3089
|
+
|
3090
|
+
static void parseConfigurationFileOptions (void)
|
3091
|
+
{
|
3092
|
+
vString *home;
|
3093
|
+
/* We parse .ctags on all systems, and additionally ctags.cnf on DOS. */
|
3094
|
+
char *filename = NULL;
|
3095
|
+
const char *filename_body;
|
3096
|
+
|
3097
|
+
#ifdef CUSTOM_CONFIGURATION_FILE
|
3098
|
+
ENTER(Custom);
|
3099
|
+
parseFileOptions (CUSTOM_CONFIGURATION_FILE);
|
3100
|
+
#endif
|
3101
|
+
filename_body = (Option.configFilename)?Option.configFilename:"ctags";
|
3102
|
+
#ifdef MSDOS_STYLE_PATH
|
3103
|
+
|
3104
|
+
if (asprintf (&filename,"/%s.cnf", filename_body) == -1)
|
3105
|
+
{
|
3106
|
+
error (FATAL, "error in asprintf");
|
3107
|
+
}
|
3108
|
+
ENTER(DosCnf);
|
3109
|
+
parseFileOptions (filename);
|
3110
|
+
free (filename);
|
3111
|
+
#endif
|
3112
|
+
if (asprintf (&filename,"/etc/%s.conf", filename_body) == -1)
|
3113
|
+
{
|
3114
|
+
error (FATAL, "error in asprintf");
|
3115
|
+
}
|
3116
|
+
ENTER(Etc);
|
3117
|
+
parseFileOptions (filename);
|
3118
|
+
free (filename);
|
3119
|
+
|
3120
|
+
if (asprintf (&filename,"/usr/local/etc/%s.conf", filename_body) == -1)
|
3121
|
+
{
|
3122
|
+
error (FATAL, "error in asprintf");
|
3123
|
+
}
|
3124
|
+
ENTER(LocalEtc);
|
3125
|
+
parseFileOptions (filename);
|
3126
|
+
free (filename);
|
3127
|
+
|
3128
|
+
home = getHome ();
|
3129
|
+
if (home != NULL)
|
3130
|
+
{
|
3131
|
+
ENTER(HomeRecursive);
|
3132
|
+
parseConfigurationFileOptionsInDirectory (vStringValue (home));
|
3133
|
+
vStringDelete (home);
|
3134
|
+
}
|
3135
|
+
|
3136
|
+
ENTER(CurrentRecursive);
|
3137
|
+
parseConfigurationFileOptionsInDirectory (".");
|
3138
|
+
|
3139
|
+
ENTER(Preload);
|
3140
|
+
preload (PreloadPathList);
|
3141
|
+
}
|
3142
|
+
|
3143
|
+
static void parseEnvironmentOptions (void)
|
3144
|
+
{
|
3145
|
+
const char *envOptions = NULL;
|
3146
|
+
const char* var = NULL;
|
3147
|
+
|
3148
|
+
ENTER(EnvVar);
|
3149
|
+
if (Option.etags)
|
3150
|
+
{
|
3151
|
+
var = ETAGS_ENVIRONMENT;
|
3152
|
+
envOptions = getenv (var);
|
3153
|
+
}
|
3154
|
+
if (envOptions == NULL)
|
3155
|
+
{
|
3156
|
+
var = CTAGS_ENVIRONMENT;
|
3157
|
+
envOptions = getenv (var);
|
3158
|
+
}
|
3159
|
+
if (envOptions != NULL && envOptions [0] != '\0')
|
3160
|
+
{
|
3161
|
+
cookedArgs* const args = cArgNewFromString (envOptions);
|
3162
|
+
verbose ("Reading options from $CTAGS\n");
|
3163
|
+
parseOptions (args);
|
3164
|
+
cArgDelete (args);
|
3165
|
+
if (NonOptionEncountered)
|
3166
|
+
error (WARNING, "Ignoring non-option in %s variable", var);
|
3167
|
+
}
|
3168
|
+
}
|
3169
|
+
|
3170
|
+
extern void readOptionConfiguration (void)
|
3171
|
+
{
|
3172
|
+
if (! SkipConfiguration)
|
3173
|
+
{
|
3174
|
+
parseConfigurationFileOptions ();
|
3175
|
+
parseEnvironmentOptions ();
|
3176
|
+
}
|
3177
|
+
}
|
3178
|
+
|
3179
|
+
static void installDataPathList (void)
|
3180
|
+
{
|
3181
|
+
char* dataPath = getenv (CTAGS_DATA_PATH_ENVIRONMENT);
|
3182
|
+
|
3183
|
+
OptlibPathList = stringListNew ();
|
3184
|
+
PreloadPathList = stringListNew ();
|
3185
|
+
|
3186
|
+
if (dataPath)
|
3187
|
+
{
|
3188
|
+
char* needle;
|
3189
|
+
|
3190
|
+
while (dataPath[0])
|
3191
|
+
{
|
3192
|
+
needle = strchr (dataPath, ':');
|
3193
|
+
if (needle)
|
3194
|
+
*needle = '\0';
|
3195
|
+
|
3196
|
+
appendToDataPathList (dataPath, false);
|
3197
|
+
|
3198
|
+
if (needle)
|
3199
|
+
{
|
3200
|
+
*needle = ':';
|
3201
|
+
dataPath = needle + 1;
|
3202
|
+
}
|
3203
|
+
else
|
3204
|
+
break;
|
3205
|
+
}
|
3206
|
+
}
|
3207
|
+
|
3208
|
+
{
|
3209
|
+
vString *home = getHome ();
|
3210
|
+
if (home != NULL)
|
3211
|
+
{
|
3212
|
+
char *ctags_d;
|
3213
|
+
|
3214
|
+
ctags_d = combinePathAndFile (vStringValue (home), ".ctags.d");
|
3215
|
+
|
3216
|
+
appendToDataPathList (ctags_d, false);
|
3217
|
+
eFree (ctags_d);
|
3218
|
+
vStringDelete (home);
|
3219
|
+
}
|
3220
|
+
}
|
3221
|
+
#ifdef PKGSYSCONFDIR
|
3222
|
+
appendToDataPathList (PKGSYSCONFDIR, false);
|
3223
|
+
#endif
|
3224
|
+
}
|
3225
|
+
|
3226
|
+
static void installLibexecPathList (void)
|
3227
|
+
{
|
3228
|
+
char* libexecPath = getenv (CTAGS_LIBEXEC_PATH_ENVIRONMENT);
|
3229
|
+
|
3230
|
+
DriversPathList = stringListNew ();
|
3231
|
+
|
3232
|
+
if (libexecPath)
|
3233
|
+
{
|
3234
|
+
char* needle;
|
3235
|
+
|
3236
|
+
while (libexecPath[0])
|
3237
|
+
{
|
3238
|
+
needle = strchr (libexecPath, ':');
|
3239
|
+
if (needle)
|
3240
|
+
*needle = '\0';
|
3241
|
+
|
3242
|
+
appendToDataPathList (libexecPath, false);
|
3243
|
+
|
3244
|
+
if (needle)
|
3245
|
+
{
|
3246
|
+
*needle = ':';
|
3247
|
+
libexecPath = needle + 1;
|
3248
|
+
}
|
3249
|
+
else
|
3250
|
+
break;
|
3251
|
+
}
|
3252
|
+
}
|
3253
|
+
|
3254
|
+
{
|
3255
|
+
vString *home = getHome ();
|
3256
|
+
if (home != NULL)
|
3257
|
+
{
|
3258
|
+
char *ctags_d;
|
3259
|
+
|
3260
|
+
ctags_d = combinePathAndFile (vStringValue (home), ".ctags.d");
|
3261
|
+
|
3262
|
+
appendToLibexecPathList (ctags_d, false);
|
3263
|
+
eFree (ctags_d);
|
3264
|
+
vStringDelete (home);
|
3265
|
+
}
|
3266
|
+
}
|
3267
|
+
|
3268
|
+
#ifdef PKGLIBEXECDIR
|
3269
|
+
appendToLibexecPathList (PKGLIBEXECDIR, false);
|
3270
|
+
#endif
|
3271
|
+
}
|
3272
|
+
|
3273
|
+
/*
|
3274
|
+
* Option initialization
|
3275
|
+
*/
|
3276
|
+
|
3277
|
+
extern void initOptions (void)
|
3278
|
+
{
|
3279
|
+
OptionFiles = stringListNew ();
|
3280
|
+
installDataPathList ();
|
3281
|
+
installLibexecPathList ();
|
3282
|
+
verboseSearchPathList (OptlibPathList, "OptlibPathList");
|
3283
|
+
verboseSearchPathList (PreloadPathList, "PreloadPathList");
|
3284
|
+
verboseSearchPathList (DriversPathList, "DriversPathList");
|
3285
|
+
|
3286
|
+
verbose ("Setting option defaults\n");
|
3287
|
+
installHeaderListDefaults ();
|
3288
|
+
verbose (" Installing default language mappings:\n");
|
3289
|
+
installLanguageMapDefaults ();
|
3290
|
+
verbose (" Installing default language aliases:\n");
|
3291
|
+
installLanguageAliasesDefaults ();
|
3292
|
+
|
3293
|
+
/* always excluded by default */
|
3294
|
+
verbose (" Installing default exclude patterns:\n");
|
3295
|
+
processExcludeOption (NULL, "{arch}");
|
3296
|
+
processExcludeOption (NULL, ".arch-ids");
|
3297
|
+
processExcludeOption (NULL, ".arch-inventory");
|
3298
|
+
processExcludeOption (NULL, "autom4te.cache");
|
3299
|
+
processExcludeOption (NULL, "BitKeeper");
|
3300
|
+
processExcludeOption (NULL, ".bzr");
|
3301
|
+
processExcludeOption (NULL, ".bzrignore");
|
3302
|
+
processExcludeOption (NULL, "CVS");
|
3303
|
+
processExcludeOption (NULL, ".cvsignore");
|
3304
|
+
processExcludeOption (NULL, "_darcs");
|
3305
|
+
processExcludeOption (NULL, ".deps");
|
3306
|
+
processExcludeOption (NULL, "EIFGEN");
|
3307
|
+
processExcludeOption (NULL, ".git");
|
3308
|
+
processExcludeOption (NULL, ".gitignore");
|
3309
|
+
processExcludeOption (NULL, ".gitattributes");
|
3310
|
+
processExcludeOption (NULL, ".hg");
|
3311
|
+
processExcludeOption (NULL, ".hgignore");
|
3312
|
+
processExcludeOption (NULL, "PENDING");
|
3313
|
+
processExcludeOption (NULL, "RCS");
|
3314
|
+
processExcludeOption (NULL, "RESYNC");
|
3315
|
+
processExcludeOption (NULL, "SCCS");
|
3316
|
+
processExcludeOption (NULL, ".svn");
|
3317
|
+
processExcludeOption (NULL, "*~");
|
3318
|
+
processExcludeOption (NULL, ".*.swp");
|
3319
|
+
|
3320
|
+
/* Exclude binary files
|
3321
|
+
* -----------------------------------------------
|
3322
|
+
*
|
3323
|
+
* TODO
|
3324
|
+
*
|
3325
|
+
* It will be interesting if ctags can extract
|
3326
|
+
* symbols from these binaries.
|
3327
|
+
*
|
3328
|
+
* --langdef=nm --regex-nm=...
|
3329
|
+
* --langdef=elf --pre-processor-elf=/bin/nm ...
|
3330
|
+
*
|
3331
|
+
* vim/emacs users never wants the cursor to jump to
|
3332
|
+
* a binary file but may wants to utilize the symbol
|
3333
|
+
* information for completion.
|
3334
|
+
*
|
3335
|
+
* https://bitbucket.org/haypo/hachoir3 can be
|
3336
|
+
* used the alternative for /bin/nm
|
3337
|
+
*/
|
3338
|
+
processExcludeOption (NULL, "*.o");
|
3339
|
+
processExcludeOption (NULL, "*.a");
|
3340
|
+
processExcludeOption (NULL, "*.so");
|
3341
|
+
|
3342
|
+
processExcludeOption (NULL, "*.obj");
|
3343
|
+
processExcludeOption (NULL, "*.lib");
|
3344
|
+
processExcludeOption (NULL, "*.dll");
|
3345
|
+
processExcludeOption (NULL, "*.exe");
|
3346
|
+
|
3347
|
+
processExcludeOption (NULL, "*.gcno");
|
3348
|
+
processExcludeOption (NULL, "*.gcda");
|
3349
|
+
|
3350
|
+
processExcludeOption (NULL, "*.class");
|
3351
|
+
|
3352
|
+
processExcludeOption (NULL, "*.pyc");
|
3353
|
+
processExcludeOption (NULL, "*.pyo");
|
3354
|
+
}
|
3355
|
+
|
3356
|
+
extern void freeOptionResources (void)
|
3357
|
+
{
|
3358
|
+
freeString (&Option.tagFileName);
|
3359
|
+
freeString (&Option.fileList);
|
3360
|
+
freeString (&Option.filterTerminator);
|
3361
|
+
|
3362
|
+
freeList (&Excluded);
|
3363
|
+
freeList (&Option.headerExt);
|
3364
|
+
freeList (&Option.etagsInclude);
|
3365
|
+
|
3366
|
+
freeSearchPathList (&OptlibPathList);
|
3367
|
+
freeSearchPathList (&PreloadPathList);
|
3368
|
+
freeSearchPathList (&DriversPathList);
|
3369
|
+
|
3370
|
+
freeList (&OptionFiles);
|
3371
|
+
}
|