Commit 8321b48
committed
Test-implementation of replace ifdef/if defined macros with itself and for only if with 1.
* simplecpp.cpp: find ifdef/if defined macros ("_~") and set as itself else 1.
* preprocessor.cpp: Add "_~" in the end of the macro when ifdef or if defined.1 parent a965059 commit 8321b48
2 files changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3333 | 3333 | | |
3334 | 3334 | | |
3335 | 3335 | | |
| 3336 | + | |
3336 | 3337 | | |
3337 | 3338 | | |
3338 | 3339 | | |
3339 | 3340 | | |
3340 | 3341 | | |
3341 | | - | |
3342 | | - | |
| 3342 | + | |
| 3343 | + | |
| 3344 | + | |
| 3345 | + | |
| 3346 | + | |
| 3347 | + | |
| 3348 | + | |
| 3349 | + | |
| 3350 | + | |
| 3351 | + | |
| 3352 | + | |
3343 | 3353 | | |
3344 | 3354 | | |
3345 | 3355 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | | - | |
| 448 | + | |
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
| |||
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
| 556 | + | |
| 557 | + | |
556 | 558 | | |
557 | 559 | | |
558 | 560 | | |
| |||
0 commit comments