summaryrefslogtreecommitdiff
path: root/tests/examplefiles/cpp/example2.cpp.output
diff options
context:
space:
mode:
authorMatthäus G. Chajdas <dev@anteru.net>2021-06-20 11:42:04 +0200
committerMatthäus G. Chajdas <dev@anteru.net>2021-06-20 11:42:04 +0200
commita537d5e9663e888706df75c40826be3aed177959 (patch)
treeb24b0d946bd3cf5977cc3e1faf7184cb01e072a0 /tests/examplefiles/cpp/example2.cpp.output
parentfea1fbc0576bb9d6d1dc84ac8cc3825e0a4e5232 (diff)
downloadpygments-git-a537d5e9663e888706df75c40826be3aed177959.tar.gz
Use the correct whitespace token for the C family.
The CFamilyLexer was matching whitespace as Text instead of Whitespace.
Diffstat (limited to 'tests/examplefiles/cpp/example2.cpp.output')
-rw-r--r--tests/examplefiles/cpp/example2.cpp.output98
1 files changed, 49 insertions, 49 deletions
diff --git a/tests/examplefiles/cpp/example2.cpp.output b/tests/examplefiles/cpp/example2.cpp.output
index 87f55152..fd710c16 100644
--- a/tests/examplefiles/cpp/example2.cpp.output
+++ b/tests/examplefiles/cpp/example2.cpp.output
@@ -1,107 +1,107 @@
'/*\n * A Test file for the different string literals.\n */' Comment.Multiline
-'\n' Text
+'\n' Text.Whitespace
-'\n' Text
+'\n' Text.Whitespace
'#' Comment.Preproc
'include' Comment.Preproc
-' ' Text
+' ' Text.Whitespace
'<iostream>' Comment.PreprocFile
'\n' Comment.Preproc
-'\n' Text
+'\n' Text.Whitespace
'int' Keyword.Type
-' ' Text
+' ' Text.Whitespace
'main' Name.Function
'(' Punctuation
')' Punctuation
-' ' Text
+' ' Text.Whitespace
'{' Punctuation
-'\n' Text
+'\n' Text.Whitespace
-' ' Text
+' ' Text.Whitespace
'char' Keyword.Type
-' ' Text
+' ' Text.Whitespace
'*' Operator
'_str' Name
-' ' Text
+' ' Text.Whitespace
'=' Operator
-' ' Text
+' ' Text.Whitespace
'"' Literal.String
'a normal string' Literal.String
'"' Literal.String
';' Punctuation
-'\n' Text
+'\n' Text.Whitespace
-' ' Text
+' ' Text.Whitespace
'wchar_t' Keyword.Type
-' ' Text
+' ' Text.Whitespace
'*' Operator
'L_str' Name
-' ' Text
+' ' Text.Whitespace
'=' Operator
-' ' Text
+' ' Text.Whitespace
'L' Literal.String.Affix
'"' Literal.String
'a wide string' Literal.String
'"' Literal.String
';' Punctuation
-'\n' Text
+'\n' Text.Whitespace
-' ' Text
+' ' Text.Whitespace
'char' Keyword.Type
-' ' Text
+' ' Text.Whitespace
'*' Operator
'u8_str' Name
-' ' Text
+' ' Text.Whitespace
'=' Operator
-' ' Text
+' ' Text.Whitespace
'u8' Literal.String.Affix
'"' Literal.String
'utf-8 string' Literal.String
'"' Literal.String
';' Punctuation
-'\n' Text
+'\n' Text.Whitespace
-' ' Text
+' ' Text.Whitespace
'char16_t' Keyword.Type
-' ' Text
+' ' Text.Whitespace
'*' Operator
'u_str' Name
-' ' Text
+' ' Text.Whitespace
'=' Operator
-' ' Text
+' ' Text.Whitespace
'u' Literal.String.Affix
'"' Literal.String
'utf-16 string' Literal.String
'"' Literal.String
';' Punctuation
-'\n' Text
+'\n' Text.Whitespace
-' ' Text
+' ' Text.Whitespace
'char32_t' Keyword.Type
-' ' Text
+' ' Text.Whitespace
'*' Operator
'U_str' Name
-' ' Text
+' ' Text.Whitespace
'=' Operator
-' ' Text
+' ' Text.Whitespace
'U' Literal.String.Affix
'"' Literal.String
'utf-32 string' Literal.String
'"' Literal.String
';' Punctuation
-'\n' Text
+'\n' Text.Whitespace
-' ' Text
+' ' Text.Whitespace
'char' Keyword.Type
-' ' Text
+' ' Text.Whitespace
'*' Operator
'R_str' Name
-' ' Text
+' ' Text.Whitespace
'=' Operator
-' ' Text
+' ' Text.Whitespace
'R' Literal.String.Affix
'"' Literal.String
'"""' Literal.String.Delimiter
@@ -110,39 +110,39 @@
')"""' Literal.String.Delimiter
'"' Literal.String
';' Punctuation
-'\n' Text
+'\n' Text.Whitespace
-'\n' Text
+'\n' Text.Whitespace
-' ' Text
+' ' Text.Whitespace
'std' Name
':' Operator
':' Operator
'cout' Name
-' ' Text
+' ' Text.Whitespace
'<' Operator
'<' Operator
-' ' Text
+' ' Text.Whitespace
'R_str' Name
-' ' Text
+' ' Text.Whitespace
'<' Operator
'<' Operator
-' ' Text
+' ' Text.Whitespace
'std' Name
':' Operator
':' Operator
'endl' Name
';' Punctuation
-'\n' Text
+'\n' Text.Whitespace
-'\n' Text
+'\n' Text.Whitespace
-' ' Text
+' ' Text.Whitespace
'return' Keyword
-' ' Text
+' ' Text.Whitespace
'0' Literal.Number.Integer
';' Punctuation
-'\n' Text
+'\n' Text.Whitespace
'}' Punctuation
-'\n' Text
+'\n' Text.Whitespace