#include
This commit is contained in:
parent
f192249c65
commit
b963bc91e6
3 changed files with 107 additions and 21 deletions
10
05/main.c
10
05/main.c
|
@ -1,12 +1,14 @@
|
|||
#define f(x) x x
|
||||
#define F(x) x x
|
||||
|
||||
f(2
|
||||
F(2
|
||||
3)
|
||||
|
||||
#define STRINGIFY(x) #x
|
||||
#define MY_FILE STRINGIFY(some_file.c)
|
||||
#define LINE_NUMBER 1982
|
||||
#define INC_FILE STRINGIFY(macro_test.c)
|
||||
|
||||
#line LINE_NUMBER MY_FILE
|
||||
#include INC_FILE /* include macro test */
|
||||
|
||||
xglue(LINE_,NUMBER)
|
||||
|
||||
#pragma
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue