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: Paul D. Smith
Subject: [bug #60799] Parser chokes on second expansion of a prerequisite with ; o #
Date: Mon, 6 Sep 2021 11:08:39 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36

Follow-up Comment #4, 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.

In other words, to make this:


bye: $$(hello#world)


is treated the same way as this:


bye: D(hello#world)


for any character "D".  It's not special to make at all and so we don't do
anything special with the parens either.

I don't think it's inconsistent because that's what escaping a character
means: none of its special features are in force.  Personally I think it would
be inconsistent to treat an escaped "$" differently than any other character.

    _______________________________________________________

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]