* Modernize Whitespace token: basic lexer * Modernize Whitespace token: bibtex lexer * Modernize Whitespace token: boa lexer * Modernize Whitespace token: capnproto lexer + new example * Modernize Whitespace token: cddl lexer * Modernize Whitespace token: chapel lexer * Modernize Whitespace token: c_like lexer * Modernize Whitespace token: configs lexer * Modernize Whitespace token: console lexer * Modernize Whitespace token: crystal lexer * Modernize Whitespace token: csound lexer * Modernize Whitespace token: css lexer * Revert a change in basic lexer
30 lines
654 B
Text
30 lines
654 B
Text
---input---
|
|
# define MACRO#macro_body#
|
|
#define/**/
|
|
MACRO/**/
|
|
#\#macro
|
|
body\##
|
|
|
|
---tokens---
|
|
'# \tdefine' Comment.Preproc
|
|
' ' Text.Whitespace
|
|
'MACRO' Comment.Preproc
|
|
'#' Punctuation
|
|
'macro_body' Comment.Preproc
|
|
'#' Punctuation
|
|
'\n' Text.Whitespace
|
|
|
|
'#define' Comment.Preproc
|
|
'/**/' Comment.Multiline
|
|
'\n' Text.Whitespace
|
|
|
|
'MACRO' Comment.Preproc
|
|
'/**/' Comment.Multiline
|
|
'\n' Text.Whitespace
|
|
|
|
'#' Punctuation
|
|
'\\#' Comment.Preproc
|
|
'macro\nbody' Comment.Preproc
|
|
'\\#' Comment.Preproc
|
|
'#' Punctuation
|
|
'\n' Text.Whitespace
|