editors

changeset 14:b9506af9eed1

* Added missing keywords: loop and override
* Added basic IMenu support function and procedure navigation
author Jeremy Cowgar <jeremy@cowgar.com>
date Sun Oct 31 02:59:09 2010 +0000 (2010-10-31)
parents ca68b3aee940
children 55c7d738c5f0
files emacs/euphoria-mode.el
line diff
     1.1 --- a/emacs/euphoria-mode.el	Tue Oct 26 17:19:30 2010 +0000
     1.2 +++ b/emacs/euphoria-mode.el	Sun Oct 31 02:59:09 2010 +0000
     1.3 @@ -46,7 +46,7 @@
     1.4  ;; (regexp-opt '("as" "and" "break" "by" "case" "constant" "continue"
     1.5  ;;   "do" "end" "else" "elsif" "elsedef" "elsifdef" "exit" "entry" "enum"
     1.6  ;;   "export" "for" "function" "global" "goto" "include" "if" "ifdef"
     1.7 -;;   "label" "namespace" "not" "or" "procedure" "public" "return" "retry"
     1.8 +;;   "label" "loop" "namespace" "not" "or" "procedure" "public" "return" "retry"
     1.9  ;;   "switch" "then" "type" "to" "while" "with" "without" "xor"))
    1.10  ;;
    1.11  ;; Types:
    1.12 @@ -59,7 +59,7 @@
    1.13     '("\\<[+-]?[0-9_\\.]+\\>" . font-lock-constant-face)
    1.14     '("\\<[A-Z0-9][^ \t\n\r]*\\>" . font-lock-constant-face)
    1.15     '("\\<\\(atom\\|integer\\|object\\|sequence\\)\\>" . font-lock-type-face)
    1.16 -   '("\\<\\(a\\(?:nd\\|s\\)\\|b\\(?:reak\\|y\\)\\|c\\(?:ase\\|on\\(?:stant\\|tinue\\)\\)\\|do\\|e\\(?:ls\\(?:e\\(?:def\\)?\\|if\\(?:def\\)?\\)\\|n\\(?:d\\|try\\|um\\)\\|x\\(?:\\(?:i\\|por\\)t\\)\\)\\|f\\(?:or\\|unction\\)\\|g\\(?:lobal\\|oto\\)\\|i\\(?:f\\(?:def\\)?\\|nclude\\)\\|label\\|n\\(?:amespace\\|ot\\)\\|or\\|p\\(?:rocedure\\|ublic\\)\\|ret\\(?:ry\\|urn\\)\\|switch\\|t\\(?:hen\\|o\\|ype\\)\\|w\\(?:hile\\|ith\\(?:out\\)?\\)\\|xor\\)\\>" . font-lock-builtin-face)
    1.17 +   '("\\<\\(a\\(?:nd\\|s\\)\\|b\\(?:reak\\|y\\)\\|c\\(?:ase\\|on\\(?:stant\\|tinue\\)\\)\\|do\\|e\\(?:ls\\(?:e\\(?:def\\)?\\|if\\(?:def\\)?\\)\\|n\\(?:d\\|try\\|um\\)\\|x\\(?:\\(?:i\\|por\\)t\\)\\)\\|f\\(?:or\\|unction\\)\\|g\\(?:lobal\\|oto\\)\\|i\\(?:f\\(?:def\\)?\\|nclude\\)\\|l\\(?:abel\\|oop\\)\\|n\\(?:amespace\\|ot\\)\\|or\\|p\\(?:rocedure\\|ublic\\)\\|ret\\(?:ry\\|urn\\)\\|switch\\|t\\(?:hen\\|o\\|ype\\)\\|w\\(?:hile\\|ith\\(?:out\\)?\\)\\|xor\\)\\>" . font-lock-builtin-face)
    1.18     )
    1.19    "Minimal highlighting for Euphoria mode.")
    1.20  

SCM Home | OpenEuphoria.org Home