Skip to content

Commit

Permalink
Merge branch 'as/userdiff-pascal'
Browse files Browse the repository at this point in the history
* as/userdiff-pascal:
  userdiff: match Pascal class methods
  • Loading branch information
Junio C Hamano committed Jan 24, 2011
2 parents 0efbb7d + ad5b694 commit 342953a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userdiff.c
Original file line number Diff line number Diff line change
Expand Up @@ -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).*)$",
Expand Down

0 comments on commit 342953a

Please sign in to comment.