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

[BUG] Heredoc should execute before parser detects syntax error #141

Open
itislu opened this issue Feb 1, 2024 · 1 comment
Open

[BUG] Heredoc should execute before parser detects syntax error #141

itislu opened this issue Feb 1, 2024 · 1 comment
Labels
bug Something isn't working lea wontfix Lea will not work on this

Comments

@itislu
Copy link
Collaborator

itislu commented Feb 1, 2024

Example:

cat < Makefile << eof > out1(000) >> out2

Heredoc should first execute, only then parser should report syntax error.

@itislu itislu added the bug Something isn't working label Feb 1, 2024
@LeaYeh
Copy link
Owner

LeaYeh commented Feb 1, 2024

I think if syntax error happened we should not going to do heredoc, in my opinion I would say this is not bash feature but bug :p

@LeaYeh LeaYeh added the lea wontfix Lea will not work on this label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lea wontfix Lea will not work on this
Projects
None yet
Development

No branches or pull requests

2 participants