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

2023-05-11 Thread Harry Clauson
Triage Status: None ___ Follow-up Comments: --- Date: Fri 12 May 2023 02:04:16 AM UTC By: Harry Clauson Please see attached makefiles. As provided, they should work correctly

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

2023-05-14 Thread Harry Clauson
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

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

2023-05-14 Thread Harry Clauson
Follow-up Comment #5, bug #64185 (project make): In addition, section 7.2 "Syntax of Conditionals" states: "Extra spaces are allowed and ignored at the beginning of the conditional directive line, but a tab is not allowed. (If the line begins with a tab, it will be considered part of a recipe for

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

2023-05-22 Thread Harry Clauson
Follow-up Comment #7, bug #64185 (project make): I often remind developers that “the tail does not wag the dog”, in the same way that the current behavior of the code does not define correctness. While you keep explaining what the parser is currently doing, what I am reporting is that this is not

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

2023-05-22 Thread Harry Clauson
Follow-up Comment #8, bug #64185 (project make): Sorry, the first excerpt should read as follows: all: ifdef blah junk: else else endif ___ Reply to this item at: