editors

changeset 39:0e0e8edde06a

Added new deprecate keyword to all syntax files
author Jeremy Cowgar <jeremy@cowgar.com>
date Sun Sep 04 10:32:54 2011 -0400 (2011-09-04)
parents db3fe3aca32e
children 4ba58a70989f
files Euphoria.tmbundle/Syntaxes/Euphoria.tmLanguage PSPad/Syntax/euphoria.ini codelite/lexer_euphoria.xml crimson/spec/euphoria.key emacs/euphoria-mode.el hippoedit/euphoria_spec.xml joe/euphoria.jsf microemacs/hkeuphoria.emf nano/euphoria.nanorc syntax.ex vim/syntax/euphoria.vim
line diff
     1.1 --- a/Euphoria.tmbundle/Syntaxes/Euphoria.tmLanguage	Thu Dec 30 23:21:33 2010 -0500
     1.2 +++ b/Euphoria.tmbundle/Syntaxes/Euphoria.tmLanguage	Sun Sep 04 10:32:54 2011 -0400
     1.3 @@ -91,7 +91,7 @@
     1.4                  <key>name</key>
     1.5                  <string>keyword.control.euphoria</string>
     1.6                  <key>match</key>
     1.7 -                <string>^\s*((override|global|public|export)\s+)?(function|procedure|type|routine)\s*([a-zA-Z_][a-zA-Z0-9_]*)</string>
     1.8 +                <string>^\s*(deprecate\s+)?((override|global|public|export)\s+)?(function|procedure|type|routine)\s*([a-zA-Z_][a-zA-Z0-9_]*)</string>
     1.9              </dict>
    1.10              <dict>
    1.11                  <key>name</key>
    1.12 @@ -101,7 +101,7 @@
    1.13  	         	and|as
    1.14      	     	|by
    1.15          	 	|case|constant
    1.16 -         		|do
    1.17 +         		|deprecate|do
    1.18  	         	|else|elsif|end|enum
    1.19  	         	|for|function
    1.20  	         	|if
     2.1 --- a/PSPad/Syntax/euphoria.ini	Thu Dec 30 23:21:33 2010 -0500
     2.2 +++ b/PSPad/Syntax/euphoria.ini	Sun Sep 04 10:32:54 2011 -0400
     2.3 @@ -59,6 +59,7 @@
     2.4  case=
     2.5  constant=
     2.6  continue=
     2.7 +deprecate=
     2.8  do=
     2.9  else=
    2.10  elsedef=
     3.1 --- a/codelite/lexer_euphoria.xml	Thu Dec 30 23:21:33 2010 -0500
     3.2 +++ b/codelite/lexer_euphoria.xml	Sun Sep 04 10:32:54 2011 -0400
     3.3 @@ -10,7 +10,7 @@
     3.4  	installation.
     3.5  -->
     3.6  <Lexer Name="Euphoria" Id="3">
     3.7 -  <KeyWords0>as and by case constant do end else elsif enum export for function global include if label loop not or override procedure public switch then type to until while xor</KeyWords0>
     3.8 +  <KeyWords0>as and by case constant deprecate do end else elsif enum export for function global include if label loop not or override procedure public switch then type to until while xor</KeyWords0>
     3.9    <KeyWords1>object sequence integer atom</KeyWords1>
    3.10    <KeyWords2>break continue entry exit goto glabel retry return</KeyWords2>
    3.11    <KeyWords3>ifdef elsifdef elsedef trace with without</KeyWords3>
     4.1 --- a/crimson/spec/euphoria.key	Thu Dec 30 23:21:33 2010 -0500
     4.2 +++ b/crimson/spec/euphoria.key	Sun Sep 04 10:32:54 2011 -0400
     4.3 @@ -11,7 +11,7 @@
     4.4  continue       exit         include       return       without
     4.5  do             export       label         switch       xor
     4.6  else           for          loop          then         public
     4.7 -as
     4.8 +as             deprecate
     4.9  
    4.10  [KEYWORDS1:GLOBAL]
    4.11  length         puts         integer       sequence     position object
     5.1 --- a/emacs/euphoria-mode.el	Thu Dec 30 23:21:33 2010 -0500
     5.2 +++ b/emacs/euphoria-mode.el	Sun Sep 04 10:32:54 2011 -0400
     5.3 @@ -44,7 +44,7 @@
     5.4  ;; Keywords:
     5.5  ;;
     5.6  ;; (regexp-opt '("as" "and" "break" "by" "case" "constant" "continue"
     5.7 -;;   "do" "end" "else" "elsif" "elsedef" "elsifdef" "exit" "entry" "enum"
     5.8 +;;   "deprecate" "do" "end" "else" "elsif" "elsedef" "elsifdef" "exit" "entry" "enum"
     5.9  ;;   "export" "for" "function" "global" "goto" "include" "if" "ifdef"
    5.10  ;;   "label" "loop" "namespace" "not" "or" "override" "procedure" "public"
    5.11  ;;   "return" "retry" "switch" "then" "type" "to" "until" "while" "with" "without"
    5.12 @@ -63,13 +63,13 @@
    5.13     '("\\<0x[0-9A-Fa-f_]+\\>" . font-lock-constant-face)
    5.14     '("\\<[A-Z0-9][^ \t\n\r]*\\>" . font-lock-constant-face)
    5.15     '("\\<\\(atom\\|integer\\|object\\|sequence\\)\\>" . font-lock-type-face)
    5.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\\)\\|l\\(?:abel\\|oop\\)\\|n\\(?:amespace\\|ot\\)\\|o\\(?:r\\|verride\\)\\|p\\(?:rocedure\\|ublic\\)\\|ret\\(?:ry\\|urn\\)\\|switch\\|t\\(?:hen\\|o\\|ype\\)\\|until\\|w\\(?:hile\\|ith\\(?:out\\)?\\)\\|xor\\)\\>" . font-lock-builtin-face)
    5.17 +   '("\\<\\(a\\(?:nd\\|s\\)\\|b\\(?:reak\\|y\\)\\|c\\(?:ase\\|on\\(?:stant\\|tinue\\)\\)\\|deprecate\\|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\\)\\|o\\(?:r\\|verride\\)\\|p\\(?:rocedure\\|ublic\\)\\|ret\\(?:ry\\|urn\\)\\|switch\\|t\\(?:hen\\|o\\|ype\\)\\|until\\|w\\(?:hile\\|ith\\(?:out\\)?\\)\\|xor\\)\\>" . font-lock-builtin-face)
    5.18  
    5.19     )
    5.20    "Minimal highlighting for Euphoria mode.")
    5.21  
    5.22  (defconst euphoria-imenu-generic-expression
    5.23 -  '(("Routine" "^\\(export\\|public\\|global\\|override\\)?[ \t]*\\(function\\|procedure\\)[ \t]+\\([a-z]+\\)" 3)
    5.24 +  '(("Routine" "^\\(deprecate)?[ \t]*(export\\|public\\|global\\|override\\)?[ \t]*\\(function\\|procedure\\)[ \t]+\\([a-z]+\\)" 3)
    5.25      )
    5.26    "Generic Imenu setup")
    5.27  
     6.1 --- a/hippoedit/euphoria_spec.xml	Thu Dec 30 23:21:33 2010 -0500
     6.2 +++ b/hippoedit/euphoria_spec.xml	Sun Sep 04 10:32:54 2011 -0400
     6.3 @@ -113,6 +113,7 @@
     6.4  					<Keyword text="case" />
     6.5  					<Keyword text="constant" />
     6.6  					<Keyword text="continue" />
     6.7 +					<Keyword text="deprecate" />
     6.8  					<Keyword text="do" />
     6.9  					<Keyword text="else" />
    6.10  					<Keyword text="elsif" />
     7.1 --- a/joe/euphoria.jsf	Thu Dec 30 23:21:33 2010 -0500
     7.2 +++ b/joe/euphoria.jsf	Sun Sep 04 10:32:54 2011 -0400
     7.3 @@ -114,6 +114,7 @@
     7.4  	"case"		kw
     7.5  	"constant"	kw
     7.6  	"continue"	kw
     7.7 +	"deprecate"	kw
     7.8  	"do"		kw
     7.9  	"end"		kw
    7.10  	"else"		kw
     8.1 --- a/microemacs/hkeuphoria.emf	Thu Dec 30 23:21:33 2010 -0500
     8.2 +++ b/microemacs/hkeuphoria.emf	Sun Sep 04 10:32:54 2011 -0400
     8.3 @@ -115,6 +115,7 @@
     8.4      hilight .hilight.euphoria 1 "case"                   .scheme.keyword
     8.5      hilight .hilight.euphoria 1 "constant"               .scheme.keyword
     8.6      hilight .hilight.euphoria 1 "continue"               .scheme.keyword
     8.7 +    hilight .hilight.euphoria 1 "deprecate"              .scheme.keyword
     8.8      hilight .hilight.euphoria 1 "do"                     .scheme.keyword
     8.9      hilight .hilight.euphoria 1 "end"                    .scheme.keyword
    8.10      hilight .hilight.euphoria 1 "else"                   .scheme.keyword
     9.1 --- a/nano/euphoria.nanorc	Thu Dec 30 23:21:33 2010 -0500
     9.2 +++ b/nano/euphoria.nanorc	Sun Sep 04 10:32:54 2011 -0400
     9.3 @@ -15,7 +15,7 @@
     9.4  color brightmagenta "\<(elsifdef|elsedef|ifdef|include|namespace|with|without)\>"
     9.5  
     9.6  # Keywords
     9.7 -color brightgreen "\<(as|and|break|by|case|constant|continue|do|end|else|elsif|exit|entry|enum|for|function|goto|if|label|loop|not|or|procedure|return|retry|switch|then|to|type|until|while|xor)\>"
     9.8 +color brightgreen "\<(as|and|break|by|case|constant|continue|deprecate|do|end|else|elsif|exit|entry|enum|for|function|goto|if|label|loop|not|or|procedure|return|retry|switch|then|to|type|until|while|xor)\>"
     9.9  
    9.10  # Built-in types
    9.11  color green "\<(atom|integer|sequence|object)\>"
    10.1 --- a/syntax.ex	Thu Dec 30 23:21:33 2010 -0500
    10.2 +++ b/syntax.ex	Sun Sep 04 10:32:54 2011 -0400
    10.3 @@ -20,7 +20,7 @@
    10.4  
    10.5  -- Line comment, mispeled
    10.6  
    10.7 -function abc()
    10.8 +deprecate function abc()
    10.9      return 10
   10.10  end function
   10.11  
    11.1 --- a/vim/syntax/euphoria.vim	Thu Dec 30 23:21:33 2010 -0500
    11.2 +++ b/vim/syntax/euphoria.vim	Sun Sep 04 10:32:54 2011 -0400
    11.3 @@ -27,7 +27,7 @@
    11.4  syn keyword euphoriaKeywords	   and as
    11.5  syn keyword euphoriaKeywords	   by
    11.6  syn keyword euphoriaKeywords	   case constant
    11.7 -syn keyword euphoriaKeywords	   do
    11.8 +syn keyword euphoriaKeywords	   deprecate do
    11.9  syn keyword euphoriaKeywords	   else elsif end enum
   11.10  syn keyword euphoriaKeywords	   for function
   11.11  syn keyword euphoriaKeywords	   if

SCM Home | OpenEuphoria.org Home