diff options
author | Jeff King <peff@peff.net> | 2014-04-08 18:40:05 -0400 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2014-04-08 18:46:56 -0400 |
commit | 9ce60fadda2a333756523299bff7772d05e69457 (patch) | |
tree | 49e39f29169b71e0add64dbceb2e92a7ed2a8263 /src/userdiff.h | |
parent | 76b4e3d4deef499654ccf082e6ee585f4db873ec (diff) | |
download | libgit2-9ce60fadda2a333756523299bff7772d05e69457.tar.gz |
userdiff: update ada patternsjk/userdiff-cc
This is the moral equivalent of
git/git@39a87a29ce364ed3337e535adce5973731ba2968
from Adrian Johnson <ajohnson@redneon.com>.
Diffstat (limited to 'src/userdiff.h')
-rw-r--r-- | src/userdiff.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/userdiff.h b/src/userdiff.h index bd6943361..523f2f8d4 100644 --- a/src/userdiff.h +++ b/src/userdiff.h @@ -45,13 +45,13 @@ typedef struct { static git_diff_driver_definition builtin_defs[] = { IPATTERN("ada", - "!^(.*[ \t])?(is new|renames|is separate)([ \t].*)?$\n" + "!^(.*[ \t])?(is[ \t]+new|renames|is[ \t]+separate)([ \t].*)?$\n" "!^[ \t]*with[ \t].*$\n" "^[ \t]*((procedure|function)[ \t]+.*)$\n" "^[ \t]*((package|protected|task)[ \t]+.*)$", /* -- */ "[a-zA-Z][a-zA-Z0-9_]*" - "|[0-9][-+0-9#_.eE]" + "|[-+]?[0-9][0-9#_.aAbBcCdDeEfF]*([eE][+-]?[0-9_]+)?" "|=>|\\.\\.|\\*\\*|:=|/=|>=|<=|<<|>>|<>"), IPATTERN("fortran", |