tartrazine/spec/unsupported_lexers/csound/test_escape_sequences.txt

123 lines
2.6 KiB
Plaintext
Raw Permalink Normal View History

2024-08-03 10:36:47 +00:00
---input---
"\\"
{{\\}}
"\a"
{{\a}}
"\b"
{{\b}}
"\n"
{{\n}}
"\r"
{{\r}}
"\t"
{{\t}}
"\""
{{\"}}
"\012"
{{\012}}
"\345"
{{\345}}
"\67"
{{\67}}
---tokens---
'"' Literal.String
'\\\\' Literal.String.Escape
'"' Literal.String
'\n' Text.Whitespace
'{{' Literal.String
'\\\\' Literal.String.Escape
'}}' Literal.String
'\n' Text.Whitespace
'"' Literal.String
'\\a' Literal.String.Escape
'"' Literal.String
'\n' Text.Whitespace
'{{' Literal.String
'\\a' Literal.String.Escape
'}}' Literal.String
'\n' Text.Whitespace
'"' Literal.String
'\\b' Literal.String.Escape
'"' Literal.String
'\n' Text.Whitespace
'{{' Literal.String
'\\b' Literal.String.Escape
'}}' Literal.String
'\n' Text.Whitespace
'"' Literal.String
'\\n' Literal.String.Escape
'"' Literal.String
'\n' Text.Whitespace
'{{' Literal.String
'\\n' Literal.String.Escape
'}}' Literal.String
'\n' Text.Whitespace
'"' Literal.String
'\\r' Literal.String.Escape
'"' Literal.String
'\n' Text.Whitespace
'{{' Literal.String
'\\r' Literal.String.Escape
'}}' Literal.String
'\n' Text.Whitespace
'"' Literal.String
'\\t' Literal.String.Escape
'"' Literal.String
'\n' Text.Whitespace
'{{' Literal.String
'\\t' Literal.String.Escape
'}}' Literal.String
'\n' Text.Whitespace
'"' Literal.String
'\\"' Literal.String.Escape
'"' Literal.String
'\n' Text.Whitespace
'{{' Literal.String
'\\"' Literal.String.Escape
'}}' Literal.String
'\n' Text.Whitespace
'"' Literal.String
'\\012' Literal.String.Escape
'"' Literal.String
'\n' Text.Whitespace
'{{' Literal.String
'\\012' Literal.String.Escape
'}}' Literal.String
'\n' Text.Whitespace
'"' Literal.String
'\\345' Literal.String.Escape
'"' Literal.String
'\n' Text.Whitespace
'{{' Literal.String
'\\345' Literal.String.Escape
'}}' Literal.String
'\n' Text.Whitespace
'"' Literal.String
'\\67' Literal.String.Escape
'"' Literal.String
'\n' Text.Whitespace
'{{' Literal.String
'\\67' Literal.String.Escape
'}}' Literal.String
'\n' Text.Whitespace