simplify regex for finding casts

master
melvin 2012-10-07 20:45:37 +08:00
parent c86928d662
commit b25dfd7707
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ code_to_remove: $(MAG)
cat src/magic/card/*.java | sed 's/\s\+//g' | sed 's/(.*)/(...)/g' | sort | uniq -c | sort -n | grep publicstaticfinal | grep ");" > $@
casts: $(MAG)
grep -n "([A-Z]\+[a-z]\+[A-Za-z]*)" -r src/ | flip -u > $@
grep -n "([A-Za-z]\+)[A-Za-z]\+" -r src/ > $@
warnings_H.txt: warnings.txt
grep "(H)" $^ | grep -v System.out | grep -v System.err | grep -v EXS > $@