tdb:mksigs: normalize bool -> _Bool
[ira/wip.git] / lib / tdb / script / mksigs.pl
index bd76a04a268bb619acdec2a3d7627bc5d56f71a6..a34950b09a6d6bdf9391da11bd1521dc20868fbc 100755 (executable)
@@ -176,5 +176,8 @@ while (my $LINE = <>) {
        # normalize unsigned
        $LINE =~ s/([\s,\(])unsigned([,\)])/$1unsigned int$2/g;
 
        # normalize unsigned
        $LINE =~ s/([\s,\(])unsigned([,\)])/$1unsigned int$2/g;
 
+       # normalize bool
+       $LINE =~ s/(\b)bool(\b)/_Bool/g;
+
        print $LINE . "\n";
 }
        print $LINE . "\n";
 }