short ushort u_short
int uint u_int
long ulong u_long
- FILE
+ FILE key_t caddr_t
END
@isatype{@isatype} = (1) x @isatype;
print OUT $t,"eval 'sub $name () {",$new,";}' unless defined(\&$name);\n";
}
else {
- print OUT $t,"unless(defined(\&$name) {\nsub $name () {",$new,";}\n}\n";
+ print OUT $t,"unless(defined(\&$name)) {\nsub $name () {",$new,";}\n}\n";
}
}
}
sub expr {
while ($_ ne '') {
+ s/^\&//; # hack for things that take the address of
s/^(\s+)// && do {$new .= ' '; next;};
s/^(0x[0-9a-fA-F]+)// && do {$new .= $1; next;};
- s/^(\d+)[LlUu]*// && do {$new .= $1; next;};
+ s/^(\d+)\s*[LlUu]*// && do {$new .= $1; next;};
s/^("(\\"|[^"])*")// && do {$new .= $1; next;};
s/^'((\\"|[^"])*)'// && do {
if ($curargs{$1}) {