view nt/ad2c.sed @ 4612:313c2cc696b9

Fix the broken bigfloat-to-string conversion function.
author Jerry James <james@xemacs.org>
date Wed, 11 Feb 2009 09:20:47 -0700
parents 4be1180a9e89
children
line wrap: on
line source

/^!/d
/^$/d
s/\\/\\\\/g
s/\\$//g
s/"/\\"/g
s/^/(String) "/
: test
/\\$/b slash
s/$/",/
p
d
: slash
n
/^!/d
/^$/d
s/"/\\"/g
s/\\\\/\\/g
s/\\n/\\\\n/g
s/\\t/\\\\t/g
s/\\f/\\\\f/g
s/\\b/\\\\b/g
b test