-
Notifications
You must be signed in to change notification settings - Fork 250
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
Fix parsing issue #992
Conversation
Remove redundant comment remover.
@@ -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" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
Fix parsing issues with comment handling. (#978, #981, #985)