The extra space generated by this is a bug, I presume?
#define FOO(X) #X #define BAR(Y) FOO(Y)
int main() { write("%O\n", BAR(baz)); }
(The output from the above is "baz " in 7.3, at least.)
It's a misfeature, if nothing else. I suggest adding it to the testsuite.
/ Martin Stjernholm, Roxen IS
Previous text:
2002-10-31 11:26: Subject: #X
The extra space generated by this is a bug, I presume?
#define FOO(X) #X #define BAR(Y) FOO(Y)
int main() { write("%O\n", BAR(baz)); }
(The output from the above is "baz " in 7.3, at least.)
/ Johan Sundström (ärkehertig av Lysators rootgrupp)
While taking a closer look at cpp.c I found the magic macro __dumpdef, but I couldn't get it to work. Does i work? If not, should it be removed?
/ Martin Nilsson (Fake Build Master)
Previous text:
2002-10-31 21:40: Subject: #X
It's a misfeature, if nothing else. I suggest adding it to the testsuite.
/ Martin Stjernholm, Roxen IS
I take the silence as No and Yes.
/ Martin Nilsson (Fake Build Master)
Previous text:
2002-10-31 23:59: Subject: #X
While taking a closer look at cpp.c I found the magic macro __dumpdef, but I couldn't get it to work. Does i work? If not, should it be removed?
/ Martin Nilsson (Fake Build Master)
I take the silence as No and Yes.
/ Martin Nilsson (Fake Build Master)
Previous text:
2002-10-31 23:59: Subject: #X
While taking a closer look at cpp.c I found the magic macro __dumpdef, but I couldn't get it to work. Does i work? If not, should it be removed?
/ Martin Nilsson (Fake Build Master)
While taking a closer look at cpp.c I found the magic macro __dumpdef, but I couldn't get it to work. Does i work? If not, should it be removed?
/ Martin Nilsson (Fake Build Master)
Previous text:
2002-10-31 21:40: Subject: #X
It's a misfeature, if nothing else. I suggest adding it to the testsuite.
/ Martin Stjernholm, Roxen IS
While taking a closer look at cpp.c I found the magic macro __dumpdef, but I couldn't get it to work. Does i work? If not, should it be removed?
/ Martin Nilsson (Fake Build Master)
Previous text:
2002-10-31 21:40: Subject: #X
It's a misfeature, if nothing else. I suggest adding it to the testsuite.
/ Martin Stjernholm, Roxen IS
It's a misfeature, if nothing else. I suggest adding it to the testsuite.
/ Martin Stjernholm, Roxen IS
Previous text:
2002-10-31 11:26: Subject: #X
The extra space generated by this is a bug, I presume?
#define FOO(X) #X #define BAR(Y) FOO(Y)
int main() { write("%O\n", BAR(baz)); }
(The output from the above is "baz " in 7.3, at least.)
/ Johan Sundström (ärkehertig av Lysators rootgrupp)
It's a misfeature, if nothing else. I suggest adding it to the testsuite.
/ Martin Stjernholm, Roxen IS
Previous text:
2002-10-31 11:26: Subject: #X
The extra space generated by this is a bug, I presume?
#define FOO(X) #X #define BAR(Y) FOO(Y)
int main() { write("%O\n", BAR(baz)); }
(The output from the above is "baz " in 7.3, at least.)
/ Johan Sundström (ärkehertig av Lysators rootgrupp)
pike-devel@lists.lysator.liu.se