From a225a0be48770beb689d5ac5da97073634f7deab Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Fri, 6 Apr 2007 12:46:25 +0200 Subject: For nls/*.pre, allow people to comment lines by starting them with '##'. This fixes a bunch of cpp warnings from nls/en_US.UTF-8/Compose.pre. Fixing that file would have been a larger diff, and using ## may be nicer to use anyway. --- cpprules.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpprules.in') diff --git a/cpprules.in b/cpprules.in index 12964fa8..b8857bae 100644 --- a/cpprules.in +++ b/cpprules.in @@ -24,5 +24,6 @@ CPP_SED_MAGIC = $(SED) -e '/^\# *[0-9][0-9]* *.*$$/d' \ -e '/^[ ]*XHASH/s/XHASH/\#/' \ -e '/\@\@$$/s/\@\@$$/\\/' +# Allow people to comment out lines by starting them with '##' .pre: - $(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $< | $(CPP_SED_MAGIC) > $@ + $(SED) -e '/^\#\#/d' $< | $(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) | $(CPP_SED_MAGIC) > $@ -- cgit v1.2.1