On 3/30/2010 2:08 AM, Edward Welbourne wrote:
(While I don't think the sysV syntax is *great*, I personally think
it's a better choice than overloading the meaning of parentheses.)

+1
It also avoids the problem of having to make sense of nesting, e.g.
   (b1 (c1 c2)): d1
True, but it introduces the problem of making sense of these:

   + b1 + b2 +: d1
   b1 + + b2: d1
   b1 + b2 b3: d1

Solaris 10 make appears to silently drop dangling and extra '+' connectors - which is convenient for handling macros that are empty when expanded. It also appears to silently insert missing '+' connectors if there are any '+' connectors in the target group. Thus, I think Solaris make would
treat the following rules as equivalent to the ones above:

   + b1 b2: d1
   + b1 b2 b3: d1

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to