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

base_parser: Don't treat pound signs wrapped in quotes as comments #452

Merged
merged 2 commits into from
Nov 18, 2023

Conversation

Javagedes
Copy link
Contributor

Edk2 supports pound signs in pcd definitions, however the simple edk2 config file parser provided by edk2-pytool-library did not support this. This commit updates the removal of comments to only remove pound signs (and everything after) if the pound sign is not wrapped in quotes.

Edk2 supports pound signs in pcd definitions, however the simple edk2
config file parser provided by edk2-pytool-library did not support
this. This commit updates the removal of comments to only remove pound
signs (and everything after) if the pound sign is not wrapped in quotes.
@Javagedes Javagedes added the bug Something isn't working label Nov 18, 2023
@Javagedes Javagedes added this to the 0.19.5 milestone Nov 18, 2023
@Javagedes Javagedes requested a review from makubacki November 18, 2023 00:21
Copy link

codecov bot commented Nov 18, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (bc0813c) 81.13% compared to head (f199ec3) 81.14%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #452   +/-   ##
=======================================
  Coverage   81.13%   81.14%           
=======================================
  Files          57       57           
  Lines        7338     7340    +2     
=======================================
+ Hits         5954     5956    +2     
  Misses       1384     1384           

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

@Javagedes Javagedes merged commit bd971c9 into tianocore:master Nov 18, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants