diff options
| author | Georg Brandl <georg@python.org> | 2021-01-18 21:24:00 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2021-01-18 22:08:36 +0100 |
| commit | 2a3d3a7d5b9c60dedf6638d876161d9563faebcf (patch) | |
| tree | 809c0b4a686db98f5954afa1944404cd9652c6b2 /tests/lexers/easytrieve/example2.txt | |
| parent | f0445be718da83541ea3401aad882f3937147263 (diff) | |
| download | pygments-git-examplefiles.tar.gz | |
Move test_examplefiles to new tests/lexers scheme.examplefiles
Diffstat (limited to 'tests/lexers/easytrieve/example2.txt')
| -rw-r--r-- | tests/lexers/easytrieve/example2.txt | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/lexers/easytrieve/example2.txt b/tests/lexers/easytrieve/example2.txt new file mode 100644 index 00000000..2906d999 --- /dev/null +++ b/tests/lexers/easytrieve/example2.txt @@ -0,0 +1,45 @@ +---input--- +* Example Easytrieve macro declaration. For an example on calling this +* macro, see example.ezt. +MACRO FILENAME PREFIX +&FILENAME. +&PREFIX.-LINE 1 80 A +&PREFIX.-KEY 1 8 A + +---tokens--- +'* Example Easytrieve macro declaration. For an example on calling this\n' Comment.Single + +'* macro, see example.ezt.\n' Comment.Single + +'MACRO' Keyword.Declaration +' ' Text.Whitespace +'FILENAME' Name.Function +' ' Text.Whitespace +'PREFIX' Name +'\n' Text.Whitespace + +'&FILENAME.' Name.Variable +'\n' Text.Whitespace + +'&PREFIX.' Name.Variable +'-' Operator +'LINE' Keyword.Reserved +' ' Operator +'1' Literal.Number.Integer +' ' Text.Whitespace +'80' Literal.Number.Integer +' ' Text.Whitespace +'A' Name +'\n' Text.Whitespace + +'&PREFIX.' Name.Variable +'-' Operator +'KEY' Keyword.Reserved +' ' Operator +' ' Text.Whitespace +'1' Literal.Number.Integer +' ' Text.Whitespace +'8' Literal.Number.Integer +' ' Text.Whitespace +'A' Name +'\n' Text.Whitespace |
