Commits

Carlos Galdino committed 8b16481

Update to Elixir 0.9.0.dev

  • Participants
  • Parent commits 921ea59

Comments (0)

Files changed (1)

File pygments/lexers/functional.py

              r'defp|def|defprotocol|defimpl|defrecord|defmacro|defdelegate|'
              r'defexception|exit|raise|throw)\b(?![?!])|'
              r'(?<!\.)\b(do|\-\>)\b\s*', Keyword),
-            (r'\b(import|require|use|recur|quote|unquote|super)\b(?![?!])',
+            (r'\b(import|require|use|recur|quote|unquote|super|refer)\b(?![?!])',
                 Keyword.Namespace),
             (r'(?<!\.)\b(and|not|or|when|xor|in)\b', Operator.Word),
             (r'%=|\*=|\*\*=|\+=|\-=|\^=|\|\|=|'
              r'\*\*?|=?~|<\-)|([a-zA-Z_]\w*([?!])?)(:)(?!:)', String.Symbol),
             (r':"', String.Symbol, 'interpoling_symbol'),
             (r'\b(nil|true|false)\b(?![?!])|\b[A-Z]\w*\b', Name.Constant),
-            (r'\b(__(FILE|LINE|MODULE|STOP_ITERATOR|EXCEPTION|OP|REF|FUNCTION|'
-             r'BLOCK|KVBLOCK)__)\b(?![?!])', Name.Builtin.Pseudo),
+            (r'\b(__(FILE|LINE|MODULE|LOCAL|MAIN|FUNCTION)__)\b(?![?!])', Name.Builtin.Pseudo),
             (r'[a-zA-Z_!][\w_]*[!\?]?', Name),
             (r'[(){};,/\|:\\\[\]]', Punctuation),
             (r'@[a-zA-Z_]\w*|&\d', Name.Variable),