Source-Changes-HG archive

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

[src/netbsd-3]: src/usr.bin/make/unit-tests Pull up revision 1.1 (requested b...



details:   https://anonhg.NetBSD.org/src/rev/3552b1e4fe7b
branches:  netbsd-3
changeset: 576393:3552b1e4fe7b
user:      tron <tron%NetBSD.org@localhost>
date:      Sat Jul 02 16:22:28 2005 +0000

description:
Pull up revision 1.1 (requested by rpaulo in ticket #491):
Add a unit-test for comments.
Addition to PR bin/17732.
Approved by sjg and christos.

diffstat:

 usr.bin/make/unit-tests/comment |  23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diffs (27 lines):

diff -r 3c07634f5526 -r 3552b1e4fe7b usr.bin/make/unit-tests/comment
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/usr.bin/make/unit-tests/comment   Sat Jul 02 16:22:28 2005 +0000
@@ -0,0 +1,23 @@
+# This is a comment
+.if ${MACHINE_ARCH} == something
+FOO=bar
+.endif
+
+#\
+       Multiline comment
+
+# This is an escaped comment \
+that keeps going until the end of this line
+
+# Another escaped comment \
+that \
+goes \
+on
+
+# This is NOT an escaped comment due to the double backslashes \\
+all: foo
+       @echo comment testing done
+
+foo:
+       @echo this is $@
+



Home | Main Index | Thread Index | Old Index