From: Dan Carpenter Date: Mon, 26 Nov 2012 08:29:06 +0000 (+0300) Subject: generisize.pl: remove u16max and friends X-Git-Tag: 1.57~154 X-Git-Url: https://repo.or.cz/w/smatch.git/commitdiff_plain/6239b3b8d4e97b28e0b521a79bc005babd00c75e generisize.pl: remove u16max and friends 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 --- diff --git a/smatch_scripts/generisize.pl b/smatch_scripts/generisize.pl index 73dd7c28..28804db3 100755 --- a/smatch_scripts/generisize.pl +++ b/smatch_scripts/generisize.pl @@ -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/;