X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=userdiff.c;h=d556da975197a718979575864e37c2b9b9f3327a;hb=923cc82c481a99269d397dc86f8b664ba8cb98da;hp=2b555094856ec9eeb95d9fbb6fcbb48de209525c;hpb=80c49c3de2d5a3aa12b0980a65f1163c8aef0c16;p=git.git diff --git a/userdiff.c b/userdiff.c index 2b5550948..d556da975 100644 --- a/userdiff.c +++ b/userdiff.c @@ -6,8 +6,8 @@ static struct userdiff_driver *drivers; static int ndrivers; static int drivers_alloc; -#define PATTERNS(name, pattern, wordregex) \ - { name, NULL, -1, { pattern, REG_EXTENDED }, wordregex } +#define PATTERNS(name, pattern, word_regex) \ + { name, NULL, -1, { pattern, REG_EXTENDED }, word_regex } static struct userdiff_driver builtin_drivers[] = { PATTERNS("html", "^[ \t]*(<[Hh][1-6][ \t].*>.*)$", "[^<>= \t]+|[^[:space:]]|[\x80-\xff]+"),