]> git.llucax.com Git - z.facultad/75.00/informe.git/blobdiff - ext/pcodehl.py
Agregar contexto a ejemplos de especialización
[z.facultad/75.00/informe.git] / ext / pcodehl.py
index d378df45d70f6f47c56af0b9cd8e5fad6cb96b2f..8a93cf9d71912ef0f63ef9feb99874b34f517359 100644 (file)
@@ -1,6 +1,6 @@
 
-from pygments.lexer import RegexLexer, include, bygroups, using, this
 from pygments.token import *
+from pygments.lexer import RegexLexer, include, bygroups, using, this
 
 class PseudoCodeLexer(RegexLexer):
     name = 'PseudoCode'
@@ -30,9 +30,9 @@ class PseudoCodeLexer(RegexLexer):
             (r'[~!%^&*+=|?:<>/-]', Operator),
             (r'[()\[\],.]', Punctuation),
             (r'(auto|break|continue|else|function|is|in|not|and|or|while|'
-             r'foreach|if|return|throw|do|cast)\b', Keyword),
-            (r'(true|false|null|global|exit|fflush|fork|wait|try_wait)\b',
-                Name.Builtin),
+             r'foreach|if|return|throw|do|cast|global)\b', Keyword),
+            (r'(true|false|null|exit|fflush|fork|wait|try_wait|void|byte|'
+             r'thread_self|get_stack_top|pause|resume)\b', Name.Builtin),
             ('[a-zA-Z_][a-zA-Z0-9_]*', Name),
         ],
         'root': [