| 1 |
---input--- |
| 2 |
#define MACRO(ARG1#ARG2) #macro_body# |
| 3 |
#define/**/ |
| 4 |
MACRO(ARG1'ARG2' ARG3)/**/ |
| 5 |
#\#macro |
| 6 |
body\## |
| 7 |
|
| 8 |
---tokens--- |
| 9 |
'#define' Comment.Preproc |
| 10 |
' ' Text.Whitespace |
| 11 |
'MACRO' Comment.Preproc |
| 12 |
'(' Punctuation |
| 13 |
'ARG1' Comment.Preproc |
| 14 |
'#' Punctuation |
| 15 |
'ARG2' Comment.Preproc |
| 16 |
')' Punctuation |
| 17 |
' ' Text.Whitespace |
| 18 |
'#' Punctuation |
| 19 |
'macro_body' Comment.Preproc |
| 20 |
'#' Punctuation |
| 21 |
'\n' Text.Whitespace |
| 22 |
|
| 23 |
'#define' Comment.Preproc |
| 24 |
'/**/' Comment.Multiline |
| 25 |
'\n' Text.Whitespace |
| 26 |
|
| 27 |
'MACRO' Comment.Preproc |
| 28 |
'(' Punctuation |
| 29 |
'ARG1' Comment.Preproc |
| 30 |
"'" Punctuation |
| 31 |
'ARG2' Comment.Preproc |
| 32 |
"'" Punctuation |
| 33 |
' ' Text.Whitespace |
| 34 |
'ARG3' Comment.Preproc |
| 35 |
')' Punctuation |
| 36 |
'/**/' Comment.Multiline |
| 37 |
'\n' Text.Whitespace |
| 38 |
|
| 39 |
'#' Punctuation |
| 40 |
'\\#' Comment.Preproc |
| 41 |
'macro\nbody' Comment.Preproc |
| 42 |
'\\#' Comment.Preproc |
| 43 |
'#' Punctuation |
| 44 |
'\n' Text.Whitespace |