Hi @,
There seems to be a bug in the preprocessor when using # to create string
literals.
The following source ...
#define printxml(xml) printf(#xml)
#define nl printf("\n")
int main() {
printxml(
<html>
</html>
);
nl;
return 0;
}
... compiled with tcc yields the following output:
< html > < / html >
The same source compiled with cc yields the following (correct) output:
<html> </html>
This may be easy to fix, but I'd need a hint where to look in the source,
not time to go searching...
Thanks,
Klaus
--
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel