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

Fix parsing issue #992

Merged
merged 4 commits into from
Jan 16, 2025
Merged

Fix parsing issue #992

merged 4 commits into from
Jan 16, 2025

Conversation

mvandervoord
Copy link
Member

Fix parsing issues with comment handling. (#978, #981, #985)

@@ -28,7 +28,7 @@ def validate_test_build_directive_paths
# TODO: When Ceedling's base project path handling is resolved, enable this path redefinition
# path = File.join( @base_path, path )
unless @file_wrapper.exist?(path)
error = "'#{path}' specified by #{UNITY_TEST_INCLUDE_PATH}() within #{test_filepath} not found"
error = "'#{path}' specified by TEST_INCLUDE_PATH() within #{test_filepath} not found"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was hardcoding the macro name in logging messages intentional?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I've turned the const into a proper regex to be used where necessary, and removed the const for the name of a feature, to be consistent with how other features are handled. A const containing a string identical to the name of a const doesn't provide further clarity.

@mvandervoord mvandervoord merged commit 1b251a3 into master Jan 16, 2025
11 checks passed
@mvandervoord mvandervoord deleted the bugfix/parsing_issues branch January 16, 2025 17:16
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.

2 participants