chiark / gitweb /
Syntax: Use &\ for escaping; abolish \&
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 9 Dec 2019 14:49:43 +0000 (14:49 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 28 Dec 2019 22:19:08 +0000 (22:19 +0000)
commitad2d261d58a7718898ef7146d37b9c4b8e9083ca
tree2f7a09379373f30602f88b3a28e88573cd8b59d8
parent503a7e5169b4a18e2ad2569daeb9e13a99f21070
Syntax: Use &\ for escaping; abolish \&

"\&" causes lots of trouble, including difficulty specifying certain
resulting strings.

Previously I proposed a scheme using &$@ but this is only useful to
provide a way to write &s.

The $-doubling regime which will come later wants a way to produce a
single literal $, so introduce that now using the same syntax.
And &\ feels quite natural to me.

Incompatible change.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
README
generate