#------------------------------------------------------------------------------
-# $File: c-lang,v 1.21 2015/10/29 18:45:05 christos Exp $
+# $File: c-lang,v 1.22 2015/10/29 18:49:11 christos Exp $
# c-lang: file(1) magic for C and related languages programs
#
# The strength is to beat standard HTML
!:strength + 30
!:mime text/x-c++
0 regex \^class[\ \t\n]+ C++ source text
-!:strength + 30
+# But class is reduced to avoid beating php (Jens Schleusener)
+!:strength + 13
!:mime text/x-c++
0 regex \^public: C++ source text
!:strength + 30