diff --git a/moo/mooedit/language-specs/check.sh b/moo/mooedit/language-specs/check.sh index 73f2984f..da067791 100755 --- a/moo/mooedit/language-specs/check.sh +++ b/moo/mooedit/language-specs/check.sh @@ -6,7 +6,7 @@ langs="c.lang cpp.lang changelog.lang def.lang \ html.lang javascript.lang latex.lang \ m4.lang makefile.lang xml.lang yacc.lang \ - sh.lang python.lang" + sh.lang python.lang perl.lang" styles="gvim.styles kate.styles" diff --git a/moo/mooedit/language-specs/perl.lang b/moo/mooedit/language-specs/perl.lang index 262d35a2..2ce8a7a1 100644 --- a/moo/mooedit/language-specs/perl.lang +++ b/moo/mooedit/language-specs/perl.lang @@ -1,260 +1,295 @@ - - - - \ - - - ^=[a-z] - ^=cut - - - - " - " - - - - ' - ' - - - - ` - ` - - - - [^\$]#|^# - - - - [$@%][$]?[a-zA-Z_][a-zA-Z0-9_]* - - - - &[a-zA-Z_][a-zA-Z0-9_]* - - - - ->[a-zA-Z_][a-zA-Z0-9_]* - - - - eq - ne - not - or - read - keys - chomp - if - else - elsif - unless - open - close - split - for - while - foreach - exit - sub - print - use - require - elseif - continue - until - do - last - next - redo - goto - chop - chr - crypt - hex - index - lc - lcfirst - length - oct - ord - reverse - rindex - printf - sprintf - substr - uc - ucfirst - pos - quotemeta - study - abs - atan2 - cos - exp - int - log - rand - sin - sqrt - srand - pop - push - shift - splice - unshift - grep - join - map - sort - unpack - pack - delete - each - exists - values - binmode - closedir - dbmclose - dbmopen - die - eof - fileno - flock - format - getc - readdir - rewinddir - seek - seekdir - select - syscall - sysread - sysseek - syswrite - tell - telldir - truncate - warn - write - vec - chdir - chmod - chown - chroot - fcntl - glob - ioctl - link - lstat - mkdir - opendir - readlink - rename - rmdir - stat - symlink - umask - unlink - utime - caller - dump - eval - return - wantarray - import - local - my - our - package - defined - formline - prototype - reset - scalar - undef - alarm - exec - fork - getpgrp - getppid - getpriority - kill - pipe - setpgrp - setpriority - sleep - system - times - wait - waitpid - no - bless - ref - tie - tied - untie - accept - bind - connect - getpeername - getsockname - getsockopt - listen - recv - send - setsockopt - shutdown - socket - socketpair - msgctl - msgget - msgrcv - msgsnd - semctl - semget - semop - shmctl - shmget - shmread - shmwrite - endgrent - endhostent - endnetent - endpwent - getgrent - getgrgid - getgrnam - getlogin - getpwent - getpwnam - getpwuid - setgrent - setpwent - endprotoent - endservent - gethostbyaddr - gethostbyname - gethostent - getnetbyaddr - getnetbyname - getnetent - getprotobyname - getprotobynumber - getprotoent - getservbyname - getservbyport - getservent - sethostent - setnetent - setprotoent - setservent - gmtime - localtime - time - + + + text/x-perl;application/x-perl + *.pl;*.pm;*.al;*.perl + # + + +