summaryrefslogtreecommitdiff
path: root/pygments/lexers/math.py
diff options
context:
space:
mode:
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 c3dd90a6..531a2030 100644
--- a/pygments/lexers/math.py
+++ b/pygments/lexers/math.py
@@ -1352,7 +1352,7 @@ class StanLexer(RegexLexer):
% r'|'.join(_stan_builtins.CONSTANTS), Keyword.Constant),
# Special names ending in __, like lp__
(r'[A-Za-z][A-Za-z0-9_]*__\b', Name.Builtin.Pseudo),
- ('%s\b' % r'|'.join(_stan_builtins.CPP_RESERVED), Error),
+ ('%s\b' % r'|'.join(_stan_builtins.CPP_RESERVED), Keyword.Reserved),
# Regular variable names
(r'[A-Za-z][A-Za-z0-9_]*\b', Name),
# Real Literals