summaryrefslogtreecommitdiff
path: root/pygments/lexers/compiled.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/compiled.py')
-rw-r--r--pygments/lexers/compiled.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/pygments/lexers/compiled.py b/pygments/lexers/compiled.py
index 55b12109..d96f884c 100644
--- a/pygments/lexers/compiled.py
+++ b/pygments/lexers/compiled.py
@@ -2581,7 +2581,7 @@ class ParaSailLexer(RegexLexer):
# matching and=, or=, and xor= doesn't work yet
(r'\b(and(=|\sthen)?|or(=|\selse)?|xor=?|rem|mod|'
r'(is|not)\snull)\b',
- Operator.Word),
+ Operator.Word),
# Keywords
(r'\b(abs|abstract|all|block|class|concurrent|const|continue|'
r'each|end|exit|extends|exports|forward|func|global|implements|'
@@ -2590,8 +2590,9 @@ class ParaSailLexer(RegexLexer):
r'type|until|var|with|'
# Control flow
r'if|then|else|elsif|case|for|while|loop)\b',
- Keyword.Reserved),
- (r'[abstract]?(interface|class|op|func|type)', Keyword.Declaration),
+ Keyword.Reserved),
+ (r'(abstract\s+)?(interface|class|op|func|type)',
+ Keyword.Declaration),
(r'"[^"]*"', String),
(r'\\[\'ntrf"0]', String.Escape),
(r'#[a-zA-Z]\w*', Literal),