Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main: FIX the way to print boolean typed parser specific fields correctly in {xref,ctags} output #4174

Merged
merged 10 commits into from
Jan 11, 2025

Conversation

masatake
Copy link
Member

#3960 is too large. This is a meaningful subset of #3960.

@masatake masatake force-pushed the main--revise-xref-output branch from a75b24e to f79f782 Compare January 10, 2025 23:19
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

Attention: Patch coverage is 95.12195% with 2 lines in your changes missing coverage. Please review.

Project coverage is 85.92%. Comparing base (4c102e7) to head (8df3449).
Report is 23 commits behind head on master.

Files with missing lines Patch % Lines
main/field.c 87.50% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4174   +/-   ##
=======================================
  Coverage   85.92%   85.92%           
=======================================
  Files         241      241           
  Lines       59082    59111   +29     
=======================================
+ Hits        50764    50792   +28     
- Misses       8318     8319    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

NOTE: This test case is broken. In xref output, the boolean fields
should be printed as '-' if the field is not set. In tags output, the
value for boolean field should not be printed; if the field has an C
string, the field name should be printed.

The current implementation doesn't support parser specific fields
typed boolean well. The following commits fix this brokenness.

Signed-off-by: Masatake YAMATO <[email protected]>
…for parser specific fields

Signed-off-by: Masatake YAMATO <[email protected]>
@masatake masatake force-pushed the main--revise-xref-output branch from f79f782 to e7a09b3 Compare January 11, 2025 01:15
@masatake masatake changed the title main: FIX the way to print boolean typed parser specific fields correctly in xref output main: FIX the way to print boolean typed parser specific fields correctly in {xref,ctags} output Jan 11, 2025
…rinted (string and boolean)

TODO: integer.

Signed-off-by: Masatake YAMATO <[email protected]>
@masatake masatake force-pushed the main--revise-xref-output branch from e7a09b3 to 8df3449 Compare January 11, 2025 01:25
@masatake masatake merged commit 35c5c97 into universal-ctags:master Jan 11, 2025
82 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant