[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #59956] Recipes inside conditionals can break the parser
From: |
Bogdan V |
Subject: |
[bug #59956] Recipes inside conditionals can break the parser |
Date: |
Wed, 27 Jan 2021 18:24:50 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0 |
Follow-up Comment #3, bug #59956 (project make):
Thanks for the even more detailed explanation than on Stack Overflow :)
I didn't realize special targets like *.ONESHELL:* can also have a recipe.
As a clarification, when I mentioned *.RECIPEPREFIX:* I was also implying
actually using it in the recipe:
.ONESHELL:
.RECIPEPREFIX = >
ifeq (1,0)
test:
>@if [ "asd" == "123" ]; then
> echo "true"
>else
> echo "false"
>fi
endif
I guess *>else* is not seen as a valid token and that's why it works.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59956>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #59956] Recipes inside conditionals can break the parser, anonymous, 2021/01/27
- [bug #59956] Recipes inside conditionals can break the parser, Paul D. Smith, 2021/01/27
- [bug #59956] Recipes inside conditionals can break the parser, Paul D. Smith, 2021/01/27
- [bug #59956] Recipes inside conditionals can break the parser,
Bogdan V <=
- [bug #59956] Recipes inside conditionals can break the parser, Paul D. Smith, 2021/01/27
- [bug #59956] Recipes inside conditionals can break the parser, anonymous, 2021/01/27
- [bug #59956] Recipes inside conditionals can break the parser, Dmitry Goncharov, 2021/01/27
- [bug #59956] Recipes inside conditionals can break the parser, Paul D. Smith, 2021/01/28
- [bug #59956] Recipes inside conditionals can break the parser, Dmitry Goncharov, 2021/01/28
- [bug #59956] Recipes inside conditionals can break the parser, Bogdan V, 2021/01/28
- [bug #59956] Recipes inside conditionals can break the parser, Paul D. Smith, 2021/01/28
Re: [bug #59956] Recipes inside conditionals can break the parser, Edward Welbourne, 2021/01/28