Skip to content

fix: escape the ‘#’ in Makefile #284

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

Closed
wants to merge 1 commit into from

Conversation

yejunjin
Copy link

Compile using Makefile emit error:

Makefile:41: *** unterminated call to function 'shell': missing ')'.  Stop

It looks like the '#' and its following content are parsed into a comment. Escape it works good.

@amaanq
Copy link
Member

amaanq commented Sep 25, 2024

I can't replicate your error - what's your os and shell

@yejunjin
Copy link
Author

yejunjin commented Nov 28, 2024

@amaanq Here is my os, shell and make versions
os: centos7
shell: bash 4.2
make: 3.82
I think it is relevant to make version but not os and shell, since the make command parse it as a comment

@amaanq
Copy link
Member

amaanq commented Nov 28, 2024

Make 3.82 is over 14 years old...sorry.

@amaanq amaanq closed this Nov 28, 2024
@ObserverOfTime
Copy link
Member

It's been fixed anyway.

@yejunjin
Copy link
Author

Why does not merge my PR, rather than coding again? It is not friendly to open source contributer, right ?
https://github.com/tree-sitter/tree-sitter-python/blame/409b5d671eb0ea4972eeacaaca24bbec1acf79b1/Makefile#L30

@ObserverOfTime
Copy link
Member

Because this was fixed upstream.

@yejunjin
Copy link
Author

Because this was fixed upstream.

All right. Could you tell me in which upstream the fix was introduced?

@ObserverOfTime
Copy link
Member

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.

3 participants