1. Oldes
  2. pygments-main

Commits

Oldes  committed 654e9e3

Red lexer - added missing 'routine' keyword

  • Participants
  • Parent commits bcb1a2c
  • Branches Red-language-Lexer

Comments (0)

Files changed (1)

File pygments/lexers/other.py

View file
  • Ignore whitespace
             r'case|reduce|compose|get|set|print|prin|equal\?|'
             r'not-equal\?|strict-equal\?|lesser\?|greater\?|lesser-or-equal\?|'
             r'greater-or-equal\?|same\?|not|type\?|stats|'
-            r'bind|union|replace|charset)$', word):
+            r'bind|union|replace|charset|routine)$', word):
             yield match.start(), Name.Builtin, word
         elif re.match(
             r'(make|random|reflect|to|form|mold|absolute|add|divide|multiply|negate|'