mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
2f357ba9b2
#pragma PP-tokens can now be macro replaced. #include header names directly enclosed in <> are free of macro replacement. Preprocess-only mode (-E) now outputs with #line as source info. Moved testcases for #760 and #1357. Added testcase for #1643.
14 lines
219 B
C
14 lines
219 B
C
/* bug #1643, macro expansion in #include */
|
|
|
|
#define STDIO_H <stdio.h>
|
|
#include STDIO_H
|
|
|
|
#ifdef string
|
|
#undef string
|
|
#endif
|
|
|
|
#define string 0!%^&*/_=
|
|
#include <string.h>
|
|
|
|
#define BUG1643_RESULT 0
|