Skip to content

Commit

Permalink
MONDRIAN: Integrate new checkFile rule from //open/util/bin/checkFile…
Browse files Browse the repository at this point in the history
….awk.

[git-p4: depot-paths = "//open/mondrian/": change = 13379]
  • Loading branch information
julianhyde committed Feb 8, 2010
1 parent 68407eb commit 251fdcd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/checkFile.awk
Expand Up @@ -356,6 +356,9 @@ match(s, /(\.|->)$/, a) {
error(fname, FNR, "operator '" a[1] "' must not be at end of line");
}
}
match(s, /^ *(=) /, a) {
error(fname, FNR, "operator '" a[1] "' must not be at start of line");
}
s ~ /\<[[:digit:][:lower:]][[:alnum:]_]*</ {
# E.g. "p<" but not "Map<"
if (!matchFile(fname)) {}
Expand Down

0 comments on commit 251fdcd

Please sign in to comment.