A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1710 ====================================================================== Reported By: rillig Assigned To: ====================================================================== Project: Issue 8 drafts Issue ID: 1710 Category: Shell and Utilities Type: Omission Severity: Editorial Priority: normal Status: New Name: Roland Illig Organization: User Reference: Section: make Page Number: 3113 Line Number: 104930 Final Accepted Text: ====================================================================== Date Submitted: 2023-05-07 14:00 UTC Last Modified: 2023-06-26 16:22 UTC ====================================================================== Summary: Evaluate delayed-expansion macros in '!=' macro definition ======================================================================
---------------------------------------------------------------------- (0006357) geoffclare (manager) - 2023-06-26 16:22 https://austingroupbugs.net/view.php?id=1710#c6357 ---------------------------------------------------------------------- On page 3113 line 104928 change:<blockquote>Delayed-expansion macros after the <equals-sign> in a macro definition shall not be evaluated until the defined macro is used in a rule or command, or before the <equals-sign> in a macro definition.</blockquote>to:<blockquote>Delayed-expansion macros after the <equals-sign> in macro definitions other than the :::=, !=, and += forms, and after the <equals-sign> in += form macro definitions where the macro named by <i>string1</i> exists and is a delayed-expansion macro, shall not be evaluated until the defined macro is used in any of the following ways:<ul><li>in a rule or command</li> <li>before the <equals-sign> in a macro definition</li> <li>after the <equals-sign> in a :::= or != form macro definition</li> <li>after the <equals-sign> in a += form macro definition where the macro named by <i>string1</i> exists and is an immediate-expansion macro.</li></ul></blockquote> Issue History Date Modified Username Field Change ====================================================================== 2023-05-07 14:00 rillig New Issue 2023-05-07 14:00 rillig Name => Roland Illig 2023-05-07 14:00 rillig Section => make 2023-05-07 14:00 rillig Page Number => 3113 2023-05-07 14:00 rillig Line Number => 104930 2023-05-07 14:03 rillig Note Added: 0006274 2023-06-26 16:22 geoffclare Note Added: 0006357 ======================================================================
