Mercurial > vim
comparison runtime/syntax/awk.vim @ 19813:350e1d3131d8
Update runtime files
Commit: https://github.com/vim/vim/commit/191acfdecabfbd2a74867e77004196fb3b4a8c14
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 27 20:42:43 2020 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 27 Mar 2020 21:00:05 +0100 |
parents | b11ceef7116e |
children | bbca88cd13d5 |
comparison
equal
deleted
inserted
replaced
19812:7cde7ea94dd3 | 19813:350e1d3131d8 |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: awk, nawk, gawk, mawk | 2 " Language: awk, nawk, gawk, mawk |
3 " Maintainer: Antonio Colombo <azc100@gmail.com> | 3 " Maintainer: Antonio Colombo <azc100@gmail.com> |
4 " Last Change: 2016 Sep 05 | 4 " Last Change: 2020 Mar 25 |
5 | 5 |
6 " AWK ref. is: Alfred V. Aho, Brian W. Kernighan, Peter J. Weinberger | 6 " AWK ref. is: Alfred V. Aho, Brian W. Kernighan, Peter J. Weinberger |
7 " The AWK Programming Language, Addison-Wesley, 1988 | 7 " The AWK Programming Language, Addison-Wesley, 1988 |
8 | 8 |
9 " GAWK ref. is: Arnold D. Robbins | 9 " GAWK ref. is: Arnold D. Robbins |
10 " Effective AWK Programming, Third Edition, O'Reilly, 2001 | 10 " Effective AWK Programming, Third Edition, O'Reilly, 2001 |
11 " Effective AWK Programming, Fourth Edition, O'Reilly, 2015 | 11 " Effective AWK Programming, Fourth Edition, O'Reilly, 2015 |
12 " (also available and updated with the gawk source distribution) | 12 " (up-to-date version available with the gawk source distribution) |
13 | 13 |
14 " MAWK is a "new awk" meaning it implements AWK ref. | 14 " MAWK is a "new awk" meaning it implements AWK ref. |
15 " mawk conforms to the Posix 1003.2 (draft 11.3) | 15 " mawk conforms to the Posix 1003.2 (draft 11.3) |
16 " definition of the AWK language which contains a few features | 16 " definition of the AWK language which contains a few features |
17 " not described in the AWK book, and mawk provides a small number of extensions. | 17 " not described in the AWK book, and mawk provides a small number of extensions. |
31 " AWK ref. p. 188 | 31 " AWK ref. p. 188 |
32 syn keyword awkStatement break continue delete exit | 32 syn keyword awkStatement break continue delete exit |
33 syn keyword awkStatement function getline next | 33 syn keyword awkStatement function getline next |
34 syn keyword awkStatement print printf return | 34 syn keyword awkStatement print printf return |
35 " GAWK ref. Chapter 7-9 | 35 " GAWK ref. Chapter 7-9 |
36 syn keyword awkStatement switch nextfile | 36 syn keyword awkStatement case default switch nextfile |
37 syn keyword awkStatement func | 37 syn keyword awkStatement func |
38 " GAWK ref. Chapter 2.7, Including Other Files into Your Program | |
39 " GAWK ref. Chapter 2.8, Loading Dynamic Extensions into Your Program | |
40 " GAWK ref. Chapter 15, Namespaces | |
41 " Directives | |
42 syn keyword awkStatement @include @load @namespace | |
38 " | 43 " |
39 " GAWK ref. Chapter 9, Functions | 44 " GAWK ref. Chapter 9, Functions |
40 " Numeric Functions | 45 " Numeric Functions |
41 syn keyword awkFunction atan2 cos exp int intdiv log rand sin sqrt srand | 46 syn keyword awkFunction atan2 cos exp int log rand sin sqrt srand |
42 " String Manipulation Functions | 47 " String Manipulation Functions |
43 syn keyword awkFunction asort asort1 gensub gsub index length match | 48 syn keyword awkFunction asort asorti gensub gsub index length match |
44 syn keyword awkFunction patsplit split sprintf strtonum sub substr | 49 syn keyword awkFunction patsplit split sprintf strtonum sub substr |
45 syn keyword awkFunction tolower toupper | 50 syn keyword awkFunction tolower toupper |
46 " Input Output Functions | 51 " Input Output Functions |
47 syn keyword awkFunction close fflush system | 52 syn keyword awkFunction close fflush system |
48 " Time Functions | 53 " Time Functions |
49 syn keyword awkFunction mktime strftime systime | 54 syn keyword awkFunction mktime strftime systime |
50 " Bit Manipulation Functions | 55 " Bit Manipulation Functions |
51 syn keyword awkFunction and compl lshift or rshift xor | 56 syn keyword awkFunction and compl lshift or rshift xor |
52 " Getting Type Functions | 57 " Getting Type Information Functions |
53 syn keyword awkFunction isarray typeof | 58 syn keyword awkFunction isarray typeof |
54 " String-Translation Functions | 59 " String-Translation Functions |
55 syn keyword awkFunction bindtextdomain dcgettext dcngetext | 60 syn keyword awkFunction bindtextdomain dcgettext dcngetext |
56 | 61 |
57 syn keyword awkConditional if else | 62 syn keyword awkConditional if else |