From: Christos Zoulas Date: Sat, 28 Apr 2012 21:20:26 +0000 (+0000) Subject: adjust strength, so that this is not recognized as c++ X-Git-Tag: FILE5_12~102 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=275b992b7059cebdb61548c48f17297a12efc033;p=file adjust strength, so that this is not recognized as c++ file test class --- diff --git a/magic/Magdir/c-lang b/magic/Magdir/c-lang index 6de9f885..9979effb 100644 --- a/magic/Magdir/c-lang +++ b/magic/Magdir/c-lang @@ -1,5 +1,5 @@ #------------------------------------------------------------------------------ -# $File: c-lang,v 1.15 2011/12/08 12:12:46 rrt Exp $ +# $File: c-lang,v 1.16 2011/12/09 08:02:16 rrt Exp $ # c-lang: file(1) magic for C and related languages programs # @@ -30,19 +30,19 @@ # C++ # The strength of these rules is increased so they beat the C rules above 0 regex \^template C++ source text -!:strength + 10 +!:strength + 5 !:mime text/x-c++ 0 regex \^virtual C++ source text -!:strength + 10 +!:strength + 5 !:mime text/x-c++ 0 regex \^class C++ source text -!:strength + 10 +!:strength + 5 !:mime text/x-c++ 0 regex \^public: C++ source text -!:strength + 10 +!:strength + 5 !:mime text/x-c++ 0 regex \^private: C++ source text -!:strength + 10 +!:strength + 5 !:mime text/x-c++ # From: Mikhail Teterin diff --git a/magic/Magdir/sgml b/magic/Magdir/sgml index 972320c7..17339109 100644 --- a/magic/Magdir/sgml +++ b/magic/Magdir/sgml @@ -1,5 +1,5 @@ #------------------------------------------------------------------------------ -# $File: sgml,v 1.26 2011/04/16 15:20:04 christos Exp $ +# $File: sgml,v 1.27 2011/12/07 12:01:24 rrt Exp $ # Type: SVG Vectorial Graphics # From: Noel Torres 0 string \15 search/1 >\0 %.3s document text >>23 search/1 \>24 search/1 \