summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/pdftexdir/tests/expanded.txt
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-25 19:22:25 +0000
committerKarl Berry <karl@freefriends.org>2021-02-25 19:22:25 +0000
commitad547a6b5986815fda458221149728d9d9ab1d87 (patch)
tree16296910eb3eca724371474ea9aea3994dc69614 /Build/source/texk/web2c/pdftexdir/tests/expanded.txt
parent947b43de3dd21d58ccc2ffadefc4441ea1c2a813 (diff)
restore Build,TODO from r57911
git-svn-id: svn://tug.org/texlive/trunk@57915 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/tests/expanded.txt')
-rw-r--r--Build/source/texk/web2c/pdftexdir/tests/expanded.txt61
1 files changed, 61 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/tests/expanded.txt b/Build/source/texk/web2c/pdftexdir/tests/expanded.txt
new file mode 100644
index 00000000000..d9b7c275c36
--- /dev/null
+++ b/Build/source/texk/web2c/pdftexdir/tests/expanded.txt
@@ -0,0 +1,61 @@
+START
+EXPANDED TEST 1
+> \expanded=\expanded.
+l.13 \show\expanded
+
+
+EXPANDED TEST 2
+> \ccc=macro:
+->xx,x.
+l.20 \show\ccc
+
+
+EXPANDED TEST 3: the
+xx,123
+EXPANDED TEST 4: macro param
+> \ddd=macro:
+#1->#1.
+l.29 \show\ddd
+
+
+EXPANDED TEST 5: torture
+> ##,\aaa ,\aaa .
+l.34 ...panded{#,\noexpand\aaa,\unexpanded{\aaa}}}
+
+
+> ##,##.
+l.35 ...s\expandafter{\expanded{#,\unexpanded{#}}}
+
+
+> \aaa .
+l.36 ...fter{\expanded\expandafter{\noexpand\aaa}}
+
+
+> x.
+l.37 ...{\expanded\expandafter{\unexpanded{\aaa}}}
+
+
+> xx\aaa .
+<inserted text> {xx\aaa }
+
+l.38 ...pand\aaa\noexpand\noexpand\noexpand\aaa}}}
+
+
+> \aaa .
+<inserted text> {\aaa }
+
+l.40 \showtokens\expanded{{\the\toks0}}
+
+
+> \egroup=end-group character }.
+<inserted text> \show \egroup
+
+l.41 \expanded\bgroup\show\egroup}
+
+
+> \foo=macro:
+->##.
+l.43 \show\foo
+
+
+END