diff options
-rw-r--r-- | cpprules.in | 3 |
1 files changed, 2 insertions, 1 deletions
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) > $@ |