-
Notifications
You must be signed in to change notification settings - Fork 641
main: enhance parser versioning #4271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
main: enhance parser versioning #4271
Conversation
4b13150
to
f5eb41e
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4271 +/- ##
========================================
Coverage 85.88% 85.89%
========================================
Files 248 248
Lines 63602 63717 +115
========================================
+ Hits 54624 54727 +103
- Misses 8978 8990 +12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
f5eb41e
to
884ff3e
Compare
884ff3e
to
58c55a8
Compare
In d469bf9, I forgot to update versionCurrent and versionAge member of the parser. (This means the parser versioning of ctags-6.2 is broken. I must backport this change to ctags-6.2 and release 6.2.1.) Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Masatake YAMATO <[email protected]>
* add VER column to --list-kinds-full output, and * add {version=} flag to --kinddef-<LANG> option. Signed-off-by: Masatake YAMATO <[email protected]>
* add VER column to --list-roles output, and * add {version=} flag to --_roledef-<LANG> option. Signed-off-by: Masatake YAMATO <[email protected]>
* add VER column to --list-fields output, and * add {version=} flag to --_fielddef-<LANG> option. Signed-off-by: Masatake YAMATO <[email protected]>
58c55a8
to
afede55
Compare
* add VER column to --list-extras output, and * add {version=} flag to --_extradef-<LANG> option. Signed-off-by: Masatake YAMATO <[email protected]>
Add VER column to --list-pseudo-tags output. Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Masatake YAMATO <[email protected]>
…o tags Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Masatake YAMATO <[email protected]>
Signed-off-by: Masatake YAMATO <[email protected]>
afede55
to
f6101db
Compare
An interesting bug(?):
It seems that strtoul accepts "-1" on the platform. |
The behavior is valid as strtoul(1) page explains:
I have expected the strtou functions rejected negative numbers.
|
When releasing, I have to update the NEWS file.
One important topic is how parsers are enhanced, with new kinds, roles, fields, and extras (KRFX).
We have added and updated the 'ctags-lang-*' man pages mainly to track the KRFX.
Updating the man pages only to track them is a boring task.
Instead, making ctags itself report new KRFX.
This change adds version members to KRFX definitions.
Various-- list* commands show the version numbers in the VER column:
--describe-language
option was added.TODO:
--list-languages-full