Commits

Georg Brandl committed 2c2dd38

Check for missing aliases in "make check".

  • Participants
  • Parent commits bb6ce36

Comments (0)

Files changed (2)

File pygments/lexers/compiled.py

              r'Duration|File_Mode|File_Type|Float|Generator|Integer|Long_Float|'
              r'Long_Integer|Long_Long_Float|Long_Long_Integer|Natural|Positive|'
              r'Reference_Type|Short_Float|Short_Integer|Short_Short_Float|'
-             r'Short_Short_Integer|String|Wide_Character|Wide_String)\b', 
+             r'Short_Short_Integer|String|Wide_Character|Wide_String)\b',
              Keyword.Type),
             (r'(and(\s+then)?|in|mod|not|or(\s+else)|rem)\b', Operator.Word),
             (r'generic|private', Keyword.Declaration),

File scripts/detect_missing_analyse_text.py

 
     for name, aliases, filenames, mimetypes in get_all_lexers():
         cls = find_lexer_class(name)
+        if not cls.aliases:
+            print cls, "has no aliases"
         for f in filenames:
             if f not in uses:
                 uses[f] = []