* perl.syntax: Added a keyword to detect subroutine prototypes.

Sorted some keywords alphabetically. Added the "warning" pragma.
This commit is contained in:
Roland Illig 2005-07-13 03:19:32 +00:00
parent 3383c003fd
commit c2ad6b1cd9
2 changed files with 22 additions and 13 deletions

View File

@ -1,3 +1,8 @@
2005-07-13 Roland Illig <roland.illig@gmx.de>
* perl.syntax: Added a keyword to detect subroutine prototypes.
Sorted some keywords alphabetically. Added the "warning" pragma.
2005-07-12 Roland Illig <roland.illig@gmx.de> 2005-07-12 Roland Illig <roland.illig@gmx.de>
* perl.syntax: #! lines are marked as contexts instead of * perl.syntax: #! lines are marked as contexts instead of

View File

@ -1,4 +1,8 @@
context default context default
# subroutine prototypes
keyword (\[$%&\*;@[\\]\]) brightcyan
keyword $_ red keyword $_ red
keyword $. red keyword $. red
keyword $/ red keyword $/ red
@ -44,8 +48,8 @@ context default
keyword $^X red keyword $^X red
keyword $^A red keyword $^A red
keyword @EXPORT red
keyword @EXPORT_OK red keyword @EXPORT_OK red
keyword @EXPORT red
keyword @INC red keyword @INC red
keyword @ISA red keyword @ISA red
keyword @_ red keyword @_ red
@ -105,29 +109,29 @@ context default
keyword & brightmagenta keyword & brightmagenta
keyword whole and magenta keyword whole and magenta
keyword whole or magenta keyword whole bless magenta
keyword whole not magenta keyword whole break magenta
keyword whole caller magenta
keyword whole do magenta keyword whole do magenta
keyword whole if magenta
keyword whole until magenta
keyword whole elsif magenta
keyword whole else magenta keyword whole else magenta
keyword whole unless magenta keyword whole elsif magenta
keyword whole while magenta
keyword whole foreach magenta keyword whole foreach magenta
keyword whole for magenta keyword whole for magenta
keyword whole goto magenta keyword whole goto magenta
keyword whole if magenta
keyword whole import magenta
keyword whole last magenta keyword whole last magenta
keyword whole next magenta keyword whole next magenta
keyword whole break magenta keyword whole not magenta
keyword whole bless magenta keyword whole or magenta
keyword whole caller magenta
keyword whole import magenta
keyword whole package magenta keyword whole package magenta
keyword whole require magenta keyword whole require magenta
keyword whole return magenta keyword whole return magenta
keyword whole unless magenta
keyword whole untie magenta keyword whole untie magenta
keyword whole until magenta
keyword whole use magenta keyword whole use magenta
keyword whole while magenta
keyword whole diagnostics brightcyan keyword whole diagnostics brightcyan
keyword whole integer brightcyan keyword whole integer brightcyan
@ -138,6 +142,7 @@ context default
keyword whole sigtrap brightcyan keyword whole sigtrap brightcyan
keyword whole strict brightcyan keyword whole strict brightcyan
keyword whole vars brightcyan keyword whole vars brightcyan
keyword whole warnings brightcyan
keyword whole abs yellow keyword whole abs yellow
keyword whole atan2 yellow keyword whole atan2 yellow
@ -361,4 +366,3 @@ context linestart sub\{\s\t\} \n
keyword { brightcyan keyword { brightcyan
keyword } brightcyan keyword } brightcyan
keyword ; brightmagenta keyword ; brightmagenta