summaryrefslogtreecommitdiff
path: root/tools/check-typo
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2012-10-15 17:50:56 +0000
committerDamien Doligez <damien.doligez-inria.fr>2012-10-15 17:50:56 +0000
commitdef31744f996fecdb187d43de38ddae2ff3ab881 (patch)
tree13c19fb7d95f21bb0f8b1ab437d38977f2214577 /tools/check-typo
parent0a6f6a78570284f9476171216050986ea00f89db (diff)
downloadocaml-def31744f996fecdb187d43de38ddae2ff3ab881.tar.gz
remove all $Id keywords
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'tools/check-typo')
-rwxr-xr-xtools/check-typo4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/check-typo b/tools/check-typo
index 6c7da5963c..f1e37a3bef 100755
--- a/tools/check-typo
+++ b/tools/check-typo
@@ -24,7 +24,7 @@
# - presence of a LF character at the end of the file (missing-lf)
# - maximum line length of 80 characters (long-line)
# - presence of a copyright header (missing-header)
-# - absence of a leftover "$Id$" string (svn-keyword)
+# - absence of a leftover "$Id" string (svn-keyword)
# Exceptions are handled with a SVN property: "ocaml:typo".
# Its value for a given file is a comma-separated list of rule names,
@@ -172,7 +172,7 @@ IGNORE_DIRS="
err("white-at-eol", "whitespace at end of line");
}
- match($0, /\$Id\$/) {
+ match($0, /\$Id(: .*)?\$/) {
err("svn-keyword", "SVN keyword marker");
}