summaryrefslogtreecommitdiff
path: root/pygments/lexers/math.py
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2012-03-09 12:10:58 -0800
committerTim Hatch <tim@timhatch.com>2012-03-09 12:10:58 -0800
commit28af8b31a9edc1b323aa7b7bc530a476dd87db39 (patch)
tree1f243d111e44fb2cd91a4d29ee71cdc79c6c0ca8 /pygments/lexers/math.py
parent24876650139ccb73258d95bbad31d2bb3f6afd18 (diff)
parent1782f5652f85665caded63bed1c923578050d820 (diff)
downloadpygments-28af8b31a9edc1b323aa7b7bc530a476dd87db39.tar.gz
Merge pygments-main with pygments-tim
Diffstat (limited to 'pygments/lexers/math.py')
-rw-r--r--pygments/lexers/math.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/math.py b/pygments/lexers/math.py
index 2f2ed426..f500231f 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*)',