source:
CIVL/mods/dev.civl.abc/examples/preproc/functionMacros.txt
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 370 bytes | |
| Rev | Line | |
|---|---|---|
| [aad342c] | 1 | #define f() F |
| 2 | #define g(x) Here is x. | |
| 3 | /* This introduces a failure that is only | |
| 4 | due to interpreting the "." as a single tokens here, | |
| 5 | but expecting to see ".." as a single token in the other case. */ | |
| 6 | //#define h(x, y) x and y went down the hill. | |
| 7 | #define h(x, y) x and y went down the hill... | |
| 8 | f() is F | |
| 9 | g( ) | |
| 10 | g() | |
| 11 | g(cats and dogs) | |
| 12 | h(Jack,Jill) | |
| 13 | h(f(),G) | |
| 14 | g(h(f(),f())) |
Note:
See TracBrowser
for help on using the repository browser.
