* macro expansion
@ 1995-01-14 10:35 Hans-Peter
0 siblings, 0 replies; only message in thread
From: Hans-Peter @ 1995-01-14 10:35 UTC (permalink / raw)
The program:
% cat failed.c
#include <u.h>
#include <libc.h>
#define x(p) printf("Macro expansion %d\n", p );
static void * Point() { int x; }
main() {}
The problem:
Macros kc failed.c
failed.c:7 syntax in macro expansion: x
failed.c:8 syntax error, last name: x
The inexplicable:
% cpp failed.c | kc -o failed.k
% kl failed.k
Thanks for your help.
-hp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-01-14 10:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-01-14 10:35 macro expansion Hans-Peter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).