Commits

James Estevez committed 3ae8ed4

SLexer: Remove months from list of keyword constants

This commit removes `months\.(abb|name)?` from the list of constants as its already included with other built-ins.

Comments (0)

Files changed (1)

pygments/lexers/math.py

             (r'\*|\+|\^|/|!|%[^%]*%|=|~|\$|@|:{1,3}', Operator)
         ],
         'builtin_symbols': [
-            (r'(NULL|NA(_(integer|real|complex|character)_)?|months\.(abb|name)?|'
+            (r'(NULL|NA(_(integer|real|complex|character)_)?|'
              r'letters|LETTERS|Inf|TRUE|FALSE|NaN|pi|\.\.(\.|[0-9]+))'
              r'(?![0-9a-zA-Z\._])',
              Keyword.Constant),
         'statements': [
             include('comments'),
             # whitespaces
-            (r'\s+', Text),            
+            (r'\s+', Text),
             (r'`.*?`', String.Backtick),
             (r'\'', String, 'string_squote'),
             (r'\"', String, 'string_dquote'),