Commits

Georg Brandl  committed f9ca356 Merge

Merged in mtiller/pygments-main (pull request #144: Fixed a bug in Modelica Lexer)

  • Participants
  • Parent commits 90fbfd2, 912d22c

Comments (0)

Files changed (1)

File pygments/lexers/other.py

         ],
         'classes': [
             (r'(block|class|connector|function|model|package|'
-             r'record|type)\b', Name.Class),
+             r'record|type)(\s+)([A-Za-z_]+)', bygroups(Keyword,Text,Name.Class))
         ],
         'string': [
             (r'"', String, '#pop'),