userdiff: update ada patterns

This is the moral equivalent of

  git/git@39a87a29ce

from Adrian Johnson <ajohnson@redneon.com>.
This commit is contained in:
Jeff King 2014-04-08 18:40:05 -04:00
parent 76b4e3d4de
commit 9ce60fadda

View File

@ -45,13 +45,13 @@ typedef struct {
static git_diff_driver_definition builtin_defs[] = { static git_diff_driver_definition builtin_defs[] = {
IPATTERN("ada", 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]*with[ \t].*$\n"
"^[ \t]*((procedure|function)[ \t]+.*)$\n" "^[ \t]*((procedure|function)[ \t]+.*)$\n"
"^[ \t]*((package|protected|task)[ \t]+.*)$", "^[ \t]*((package|protected|task)[ \t]+.*)$",
/* -- */ /* -- */
"[a-zA-Z][a-zA-Z0-9_]*" "[a-zA-Z][a-zA-Z0-9_]*"
"|[0-9][-+0-9#_.eE]" "|[-+]?[0-9][0-9#_.aAbBcCdDeEfF]*([eE][+-]?[0-9_]+)?"
"|=>|\\.\\.|\\*\\*|:=|/=|>=|<=|<<|>>|<>"), "|=>|\\.\\.|\\*\\*|:=|/=|>=|<=|<<|>>|<>"),
IPATTERN("fortran", IPATTERN("fortran",