diff options
author | Georg Brandl <georg@python.org> | 2012-09-11 07:28:49 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-09-11 07:28:49 +0200 |
commit | 3aa885ff0956b8a202d72f6e5cc74a4d25f51163 (patch) | |
tree | 5eead89ff8fd6a7d76ee420f54310a1ffa3a261f | |
parent | 7ce1b2a10b1ea4870d80a74f338dbc5307c8db44 (diff) | |
download | pygments-3aa885ff0956b8a202d72f6e5cc74a4d25f51163.tar.gz |
More Modelica update.
-rw-r--r-- | pygments/lexers/other.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pygments/lexers/other.py b/pygments/lexers/other.py index b6780b01..7320672a 100644 --- a/pygments/lexers/other.py +++ b/pygments/lexers/other.py @@ -1236,19 +1236,20 @@ class ModelicaLexer(RegexLexer): r'end|equation|exit|expandable|extends|' r'external|false|final|flow|for|if|import|impure|in|initial\sequation|' r'inner|input|loop|nondiscrete|outer|output|parameter|partial|' - r'protected|public|redeclare|replaceable|stream|time|then|true|' + r'protected|public|pure|redeclare|replaceable|stream|time|then|true|' r'when|while|within)\b', Keyword), ], 'functions': [ (r'(abs|acos|acosh|asin|asinh|atan|atan2|atan3|ceil|cos|cosh|' - r'cross|div|exp|floor|log|log10|mod|rem|semiLinear|sign|sin|' + r'cross|div|exp|floor|getInstanceName|log|log10|mod|rem|' r'semiLinear|sign|sin|sinh|size|spatialDistribution|sqrt|tan|' r'tanh|zeros)\b', Name.Function), ], 'operators': [ (r'(actualStream|and|assert|cardinality|change|Clock|delay|der|edge|' r'hold|homotopy|initial|inStream|noEvent|not|or|pre|previous|reinit|' - r'return|sample|smooth|subSample|terminal|terminate)\b', Name.Builtin), + r'return|sample|smooth|spatialDistribution|subSample|terminal|' + r'terminate)\b', Name.Builtin), ], 'classes': [ (r'(block|class|connector|function|model|package|' |