On Wed, Jul 13, 2011 at 12:43 PM, Lane Schwartz <[email protected]> wrote:
> I've encountered some unexpected behavior when defining a complex
> variable that's later accessed using eval or call.

Sorry - hit Send accidentally.

Here's an example:

define FOO
# $(error Here's a line that should be commented out)
bar baz
endef

BAR:=$(call FOO)


When this code is run, the error function is called, despite the fact
that it's commented out.

Is this the correct expected behavior? It seems to me that comments
within such multi-line variable definitions should respected, but
aren't always.

Thanks,
Lane

_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to