bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #64185] *** only one 'else' per conditional. Stop. due to else in r


From: Harry Clauson
Subject: [bug #64185] *** only one 'else' per conditional. Stop. due to else in recipe
Date: Sun, 14 May 2023 18:54:11 -0400 (EDT)

Follow-up Comment #4, bug #64185 (project make):

Maybe I'm missing something here but, as I reported this issue, the recipe
else is handled correctly (that is, it is not recognized as a make else within
the recipe).

The error is caused not by the else in the recipe, but when adding the
$(warning ...) statement immediately preceding the make else. That is what
appears to cause the parser to behave incorrectly, and I don't see any reason
for such a statement to affect parsing behavior at all.

It sounds like you're saying the parser will always be confused by an indented
recipe else statement, but this was not the case.

Thank you.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64185>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]