bug-make
[Top][All Lists]
Advanced

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

[bug #60799] Parser chokes on second expansion of a prerequisite with ;


From: Dmitry Goncharov
Subject: [bug #60799] Parser chokes on second expansion of a prerequisite with ; o #
Date: Thu, 25 Nov 2021 13:19:37 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #5, bug #60799 (project make):

> But my point is that $$ is NOT (intended to be) special to make.  That's why
make doesn't do parentheses matching which it sees it.

Sure, we can adopt this stance and say no parentheses matching for $$. i am
not sure this behavior is the most useful make can offer.

Do you think this behavior is consistent from the user's point of view?

This works fine
++++
.SECONDEXPANSION:
hello: $$(shell echo world); touch $@
----

This does not work
++++
.SECONDEXPANSION:
hello: $$(shell echo world;); touch $@
----

You are right that the proposed patch adds parentheses matching and thus makes
$$ special. As far as i understood, you have a concern about making $$
special?


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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