Good day,

Well, Paul will probably tell me that it is not a bug (as he did
with comments in define) but I will report it anyway.

Consider this makefile:

foobar := world

define name
\
foobar
endef

.PHONY: hello
hello: ; @echo hello $(value $(name))

It prints just "hello". I would guess it is because define assigns
the value verbatim but I think this behavior is very weird. The 
real-life example that breaks because of this would be:


define foo
@echo $(value $1)
endif

define bar
$(call foo,\  # Imagine this line is too long so I want to break it.
baz)
endef


-boris

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to