mvadkert / rpms / file

Forked from rpms/file 5 years ago
Clone
Blob Blame History Raw
diff --git a/magic/Magdir/c-lang b/magic/Magdir/c-lang
index 0665627..fdefa8c 100644
--- a/magic/Magdir/c-lang
+++ b/magic/Magdir/c-lang
@@ -6,26 +6,36 @@
 # BCPL
 0	search/8192	"libhdr"	BCPL source text
 !:mime	text/x-bcpl
+!:strength / 2
 0	search/8192	"LIBHDR"	BCPL source text
 !:mime	text/x-bcpl
+!:strength / 2
 
 # C
 0	regex	\^#include	C source text
 !:mime	text/x-c
+!:strength / 2
 0	regex	\^char		C source text
 !:mime	text/x-c
+!:strength / 2
 0	regex	\^double		C source text
 !:mime	text/x-c
+!:strength / 2
 0	regex	\^extern		C source text
 !:mime	text/x-c
+!:strength / 2
 0	regex	\^float		C source text
 !:mime	text/x-c
+!:strength / 2
 0	regex	\^struct		C source text
 !:mime	text/x-c
+!:strength / 2
 0	regex	\^union		C source text
 !:mime	text/x-c
+!:strength / 2
 0	search/8192	main(		C source text
 !:mime	text/x-c
+!:strength / 2
 
 # C++
 # The strength of these rules is increased so they beat the C rules above