diff options
author | Georg Brandl <georg@python.org> | 2012-02-29 22:07:40 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-02-29 22:07:40 +0100 |
commit | 8acf7e14cbe380a51c3c732761334ee2055e878e (patch) | |
tree | 230016077195e27d9931ce1a5fc4a3a0da1565d8 /pygments/lexers/math.py | |
parent | 73cd942830f374dc402517b2508e69c02c836763 (diff) | |
download | pygments-8acf7e14cbe380a51c3c732761334ee2055e878e.tar.gz |
Scilab: fix string expr and "$" builtin.
Diffstat (limited to 'pygments/lexers/math.py')
-rw-r--r-- | pygments/lexers/math.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/math.py b/pygments/lexers/math.py index 9f4c62af..9f7efb3b 100644 --- a/pygments/lexers/math.py +++ b/pygments/lexers/math.py @@ -676,7 +676,6 @@ class ScilabLexer(RegexLexer): # operators requiring escape for re: (r'\.\*|\*|\+|\.\^|\.\\|\.\/|\/|\\', Operator), - # punctuation: (r'[\[\](){}:@.,=:;]', Punctuation), @@ -692,6 +691,7 @@ class ScilabLexer(RegexLexer): ], 'string': [ (r"[^']*'", String, '#pop'), + (r'.', String, '#pop'), ], 'deffunc': [ (r'(\s*)(?:(.+)(\s*)(=)(\s*))?(.+)(\()(.*)(\))(\s*)', |