summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pygments/lexers/functional.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/functional.py b/pygments/lexers/functional.py
index dcbec7e9..22feaa17 100644
--- a/pygments/lexers/functional.py
+++ b/pygments/lexers/functional.py
@@ -701,7 +701,7 @@ class SMLLexer(RegexLexer):
include('breakout'),
(r'(%s)' % alphanumid_re, Name.Namespace),
- (r'\S+', Error, '#pop'),
+ (r'', Text, '#pop'),
],
# Dealing with what comes after the 'fun' (or 'and' or '|') keyword