diff options
author | Georg Brandl <georg@python.org> | 2010-08-23 12:03:06 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-08-23 12:03:06 +0200 |
commit | eb6be43ff90b0f67440297e93e23302e11731ba4 (patch) | |
tree | 084e6923e427fdeca819151f2d165163d683a3af | |
parent | 6e697319482b2729c1931d8ea30c4ab3e061734f (diff) | |
download | pygments-eb6be43ff90b0f67440297e93e23302e11731ba4.tar.gz |
Add another keyword to matlab.
-rw-r--r-- | pygments/lexers/math.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/math.py b/pygments/lexers/math.py index 2de5ac04..bf609a68 100644 --- a/pygments/lexers/math.py +++ b/pygments/lexers/math.py @@ -153,10 +153,10 @@ class MatlabLexer(RegexLexer): (r'%.*$', Comment), (r'^\s*function', Keyword, 'deffunc'), - # from 'iskeyword' on version 7.4.0.336 (R2007a): + # from 'iskeyword' on version 7.11 (R2010): (r'(break|case|catch|classdef|continue|else|elseif|end|enumerated|' r'events|for|function|global|if|methods|otherwise|parfor|' - r'persistent|properties|return|switch|try|while)\b', Keyword), + r'persistent|properties|return|spmd|switch|try|while)\b', Keyword), ("(" + "|".join(elfun+specfun+elmat) + r')\b', Name.Builtin), |