Recognize .C files as C++ source

Issue #809 resolved
Former user created an issue

Pygments currently recognizes files ending in ('.cpp', '.hpp', '.c++', '.h++', '.cc', '.hh', '.cxx', '.hxx') as C++ source.

Please add '.C' (capital C) and '.H' to this list.

These are additional standard file extensions recognized by gcc as denoting C++ source. For example, see here:

Comments (3)

  1. Log in to comment