Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: flip the condition in strip_comment for fixed format #448

Merged

Conversation

tomoto
Copy link
Contributor

@tomoto tomoto commented Dec 8, 2024

This is the suggested fix for #447. Please see #447 for the exact description about what this fix is trying to address.

As pointed out in the issue above, it looks like a simple mistake in the condition for stripping comments. It works fine as below just by flipping the condition about the OpenMP instruction.

@gnikit gnikit force-pushed the fix/strip-comment-for-fixed-format branch from 9e609b1 to 839b39a Compare February 28, 2025 14:03
Copy link

codecov bot commented Feb 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.19%. Comparing base (2ddad2a) to head (9f38ea4).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #448      +/-   ##
==========================================
+ Coverage   88.17%   88.19%   +0.02%     
==========================================
  Files          35       35              
  Lines        4795     4795              
==========================================
+ Hits         4228     4229       +1     
+ Misses        567      566       -1     

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

@gnikit gnikit merged commit bb3f6dc into fortran-lang:master Mar 1, 2025
17 checks passed
@gnikit
Copy link
Member

gnikit commented Mar 10, 2025

This should now be available in v3.2.0

@tomoto tomoto deleted the fix/strip-comment-for-fixed-format branch March 10, 2025 10:54
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants