diff options
author | Enrico Tassi <Enrico.Tassi@inria.fr> | 2023-04-30 09:58:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-30 09:58:45 +0200 |
commit | 4575f888183c65eb50f55963b9e20f5af5757b53 (patch) | |
tree | e8fffd0b7efdf9087ed808b17e5efb5c8e3940a5 /tests | |
parent | 013193b542e9f76b799dd6d9665b3aad3cc07ba0 (diff) | |
download | pygments-git-4575f888183c65eb50f55963b9e20f5af5757b53.tar.gz |
[elpi] handle quotations (#2419)
Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/snippets/elpi/test_quotations.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/snippets/elpi/test_quotations.txt b/tests/snippets/elpi/test_quotations.txt new file mode 100644 index 00000000..05352c7b --- /dev/null +++ b/tests/snippets/elpi/test_quotations.txt @@ -0,0 +1,33 @@ +---input--- +tc {{ Eq lp:A }} {{ f lp:B l } }} :- foo A B. + +---tokens--- +'tc' Text +' ' Text.Whitespace +'{{' Punctuation +' Eq ' Text +'lp:' Keyword +'A' Name.Variable +' ' Text +'}}' Punctuation +' ' Text.Whitespace +'{{' Punctuation +' f ' Text +'lp:' Keyword +'B' Name.Variable +' ' Text +'l' Text +' ' Text +'}' Text +' ' Text +'}}' Punctuation +' ' Text.Whitespace +':-' Keyword.Declaration +' ' Text.Whitespace +'foo' Text +' ' Text.Whitespace +'A' Name.Variable +' ' Text.Whitespace +'B' Name.Variable +'.' Operator +'\n' Text.Whitespace |