diff options
| author | Georg Brandl <georg@python.org> | 2019-05-28 07:00:40 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2019-05-28 07:00:40 +0200 |
| commit | 597020d4ce90505dad8b850eadafd20f06bf1dc9 (patch) | |
| tree | 94223979d3eb47e3076a6996889a42947fabcfd7 /pygments/lexers/modeling.py | |
| parent | abb7caf1f9cad956089bde817daa5a2eee8959a1 (diff) | |
| download | pygments-git-2.4.2.tar.gz | |
Fixup all headers and some more minor problems.2.4.2
Diffstat (limited to 'pygments/lexers/modeling.py')
| -rw-r--r-- | pygments/lexers/modeling.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pygments/lexers/modeling.py b/pygments/lexers/modeling.py index 481cce38..c03907ba 100644 --- a/pygments/lexers/modeling.py +++ b/pygments/lexers/modeling.py @@ -5,7 +5,7 @@ Lexers for modeling languages. - :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -326,8 +326,10 @@ class StanLexer(RegexLexer): (r'(%s)\b' % r'|'.join(_stan_builtins.TYPES), Keyword.Type), # < should be punctuation, but elsewhere I can't tell if it is in # a range constraint - (r'(<)(\s*)(upper|lower)(\s*)(=)', bygroups(Operator, Whitespace, Keyword, Whitespace, Punctuation)), - (r'(,)(\s*)(upper)(\s*)(=)', bygroups(Punctuation, Whitespace, Keyword, Whitespace, Punctuation)), + (r'(<)(\s*)(upper|lower)(\s*)(=)', + bygroups(Operator, Whitespace, Keyword, Whitespace, Punctuation)), + (r'(,)(\s*)(upper)(\s*)(=)', + bygroups(Punctuation, Whitespace, Keyword, Whitespace, Punctuation)), # Punctuation (r"[;,\[\]()]", Punctuation), # Builtin |
