diff options
author | Vitalij Ruge <vitalij.ruge@gmail.com> | 2018-09-20 20:33:07 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2019-11-28 06:32:12 +0100 |
commit | 62180478cbf89889f18d4c5ff55c37310a3925e4 (patch) | |
tree | 6da6459402973de19cec5a15bac25ccfb7779d1c | |
parent | b45777fd2713bc3c6b80680168563afa5c96b46d (diff) | |
download | pygments-git-62180478cbf89889f18d4c5ff55c37310a3925e4.tar.gz |
update ModelicaLexer
added new Operators `interval` and `firstTick` from
[ModelicaSpec34](https://www.modelica.org/documents/ModelicaSpec34.pdf), 16.10 Other Operators
-rw-r--r-- | pygments/lexers/modeling.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/modeling.py b/pygments/lexers/modeling.py index c03907ba..f4dca4a9 100644 --- a/pygments/lexers/modeling.py +++ b/pygments/lexers/modeling.py @@ -62,8 +62,8 @@ class ModelicaLexer(RegexLexer): r'transpose|vector|zeros)\b', Name.Builtin), (r'(algorithm|annotation|break|connect|constant|constrainedby|der|' r'discrete|each|else|elseif|elsewhen|encapsulated|enumeration|' - r'equation|exit|expandable|extends|external|final|flow|for|if|' - r'import|impure|in|initial|inner|input|loop|nondiscrete|outer|' + r'equation|exit|expandable|extends|external|firstTick|final|flow|for|if|' + r'import|impure|in|initial|inner|input|interval|loop|nondiscrete|outer|' r'output|parameter|partial|protected|public|pure|redeclare|' r'replaceable|return|stream|then|when|while)\b', Keyword.Reserved), |