.ig
Test handling of macro argument quoting where one macro passes its
arguments to another.
..
.de yy
<\\$1>
..
.de xx
.yy \\$1
.yy "\\$1"
.br
..
should be <ab>:
.xx ab
should be <ab>:
.xx "ab"
should be <a"b>:
.xx a"b
should be <a""b>:
.xx a""b
should be <a"b>:
.xx "a""b"
should be <>:
.xx ""
should be <"">:
.xx """"""
Now turn compatibility mode on (results may not match expected results):
.br
.cp 1
should be <ab>:
.xx ab
should be <ab>:
.xx "ab"
should be <a"b>:
.xx a"b
should be <a""b>:
.xx a""b
should be <a"b>:
.xx "a""b"
should be <>:
.xx ""
should be <"">:
.xx """"""
