mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-09-20 15:31:21 +00:00
45 lines
1.0 KiB
Plaintext
45 lines
1.0 KiB
Plaintext
|
---input---
|
||
|
#define MACRO(ARG1#ARG2) #macro_body#
|
||
|
#define/**/
|
||
|
MACRO(ARG1'ARG2' ARG3)/**/
|
||
|
#\#macro
|
||
|
body\##
|
||
|
|
||
|
---tokens---
|
||
|
'#define' Comment.Preproc
|
||
|
' ' Text.Whitespace
|
||
|
'MACRO' Comment.Preproc
|
||
|
'(' Punctuation
|
||
|
'ARG1' Comment.Preproc
|
||
|
'#' Punctuation
|
||
|
'ARG2' Comment.Preproc
|
||
|
')' Punctuation
|
||
|
' ' Text.Whitespace
|
||
|
'#' Punctuation
|
||
|
'macro_body' Comment.Preproc
|
||
|
'#' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'#define' Comment.Preproc
|
||
|
'/**/' Comment.Multiline
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'MACRO' Comment.Preproc
|
||
|
'(' Punctuation
|
||
|
'ARG1' Comment.Preproc
|
||
|
"'" Punctuation
|
||
|
'ARG2' Comment.Preproc
|
||
|
"'" Punctuation
|
||
|
' ' Text.Whitespace
|
||
|
'ARG3' Comment.Preproc
|
||
|
')' Punctuation
|
||
|
'/**/' Comment.Multiline
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'#' Punctuation
|
||
|
'\\#' Comment.Preproc
|
||
|
'macro\nbody' Comment.Preproc
|
||
|
'\\#' Comment.Preproc
|
||
|
'#' Punctuation
|
||
|
'\n' Text.Whitespace
|