diff options
-rw-r--r-- | pygments/lexers/compiled.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pygments/lexers/compiled.py b/pygments/lexers/compiled.py index 83865e26..a5650da8 100644 --- a/pygments/lexers/compiled.py +++ b/pygments/lexers/compiled.py @@ -183,6 +183,9 @@ class CLexer(CFamilyLexer): mimetypes = ['text/x-chdr', 'text/x-csrc'] priority = 0.1 + def analyse_text(text): + return 0.1 + class CppLexer(CFamilyLexer): """ For C++ source code with preprocessor directives. @@ -220,6 +223,9 @@ class CppLexer(CFamilyLexer): ], } + def analyse_text(text): + return 0.1 + class ECLexer(CLexer): """ For eC source code with preprocessor directives. |