mirror of
https://github.com/cc65/cc65.git
synced 2024-11-02 18:06:48 +00:00
53dd513176
which included commits to RCS files with non-trunk default branches. git-svn-id: svn://svn.cc65.org/cc65/trunk@3 b7a2c559-68d2-44c3-8de9-860c34a00d81
17 lines
410 B
C
17 lines
410 B
C
#define str(s) # s
|
|
#define xstr(s) str(s)
|
|
#define debug(s, t) printf("x" # s "= %d, x" # t "= %s", \
|
|
x ## s, x ## t)
|
|
#define INCFILE(n) vers ## n // Comment
|
|
#define glue(a,b) a ## b
|
|
#define xglue(a,b) glue(a,b)
|
|
#define HIGHLOW "hello"
|
|
#define LOW LOW ", world"
|
|
|
|
debug (1, 2);
|
|
fputs (str (strncmp("abc\0d", "abc", '\4') // Comment
|
|
== 0) str (: @\n), s);
|
|
glue (HIGH, LOW);
|
|
xglue (HIGH, LOW);
|
|
|