generisize.pl: remove u16max and friends
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 26 Nov 2012 08:29:06 +0000 (26 11:29 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 26 Nov 2012 08:29:06 +0000 (26 11:29 +0300)
Strip s32min and the other min/max strings which were added with the sval
code.  These are just another kind of number.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_scripts/generisize.pl

index 73dd7c2..28804db 100755 (executable)
@@ -33,6 +33,7 @@ sub add_msg($)
 
 while (<>) {
     s/^.*?:\d+(|:\d+:) .*? //;
+    s/[us](16|32|64)(min|max)//g;
     s/[01234567890]//g;
     if ($_ =~ /can't/) {
        s/(.*can't.*').*?('.*)/$1 $2/;