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

Makefile parsing inconsitency with comments #2

Open
are-scenic opened this issue Jul 10, 2020 · 1 comment
Open

Makefile parsing inconsitency with comments #2

are-scenic opened this issue Jul 10, 2020 · 1 comment
Assignees
Labels
bug Something isn't working low Issue of a low severity

Comments

@are-scenic
Copy link
Collaborator

If a comment is interleaved with the values of a macro defintion, makefile parser doesn't ignore its contents.
This behavior conflicts with IDE-writers, since it attempts to treat the comment as a valid entry and fails on it.

For instance:

SOURCES = \
  file_x.c\
  # file_y.c\   <--this comment will be treated by parser as a file, and it shouldn't
  file_z.c
@are-scenic are-scenic added the bug Something isn't working label Jul 10, 2020
@are-scenic are-scenic self-assigned this Jul 10, 2020
@are-scenic
Copy link
Collaborator Author

It seems that this issue has been fixed. Though, it's still needed to be confirmed.

@are-scenic are-scenic added the low Issue of a low severity label Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low Issue of a low severity
Projects
None yet
Development

No branches or pull requests

1 participant