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

Misc fix #3713

Merged
merged 7 commits into from
May 5, 2023
Merged

Misc fix #3713

merged 7 commits into from
May 5, 2023

Conversation

masatake
Copy link
Member

@masatake masatake commented May 4, 2023

No description provided.

Signed-off-by: Masatake YAMATO <[email protected]>
… to a signature string

The original code scanned corkQueue to pick up tags for making
signature string. To avoid adding unwanted tags to the signature
string, isTagExtra was used (522de3f).

However, filtering with isTagExtra was too aggressive; tags extracted
by the CPreProcessor parser running as a part of guest parser were
rejected.

This change uses an intArray. Instead of filtering candidate items in
the corkQueue, the CPreProcessor collects tags for parameters to
the intArray. The parameters are parts of a signature, not candidates.
Therefore we don't need "filtering" anymore.

Signed-off-by: Masatake YAMATO <[email protected]>
@codecov
Copy link

codecov bot commented May 4, 2023

Codecov Report

Patch coverage: 88.23% and project coverage change: +0.03 🎉

Comparison is base (4622e54) 82.96% compared to head (9d034a4) 82.99%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3713      +/-   ##
==========================================
+ Coverage   82.96%   82.99%   +0.03%     
==========================================
  Files         226      226              
  Lines       54962    54972      +10     
==========================================
+ Hits        45598    45626      +28     
+ Misses       9364     9346      -18     
Impacted Files Coverage Δ
main/options.c 83.85% <50.00%> (+0.04%) ⬆️
dsl/optscript.c 87.99% <100.00%> (+0.01%) ⬆️
parsers/cpreprocessor.c 95.74% <100.00%> (+0.01%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@masatake masatake merged commit 6b06565 into universal-ctags:master May 5, 2023
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