summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-01-24 10:54:12 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-01-24 10:54:12 -0800
commit342953a6860915b4b66dfb24147c46a191342daf (patch)
treeb395d88b99a5b88ea8d5c7863aaf16a22a50f5df
parentMerge branch 'jn/setup-fixes' (diff)
parentuserdiff: match Pascal class methods (diff)
downloadtgif-342953a6860915b4b66dfb24147c46a191342daf.tar.xz
Merge branch 'as/userdiff-pascal'
* as/userdiff-pascal: userdiff: match Pascal class methods
-rw-r--r--userdiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/userdiff.c b/userdiff.c
index c384b39e4d..9ebf231ea5 100644
--- a/userdiff.c
+++ b/userdiff.c
@@ -52,7 +52,7 @@ PATTERNS("objc",
"|[-+*/<>%&^|=!]=|--|\\+\\+|<<=?|>>=?|&&|\\|\\||::|->"
"|[^[:space:]]|[\x80-\xff]+"),
PATTERNS("pascal",
- "^((procedure|function|constructor|destructor|interface|"
+ "^(((class[ \t]+)?(procedure|function)|constructor|destructor|interface|"
"implementation|initialization|finalization)[ \t]*.*)$"
"\n"
"^(.*=[ \t]*(class|record).*)$",