[Po4a-devel]Re: [Po4a-commits] po4a/lib/Locale/Po4a Man.pm,1.72,1.73
Martin Quinson
martin.quinson@imag.fr
Tue, 11 Jan 2005 18:20:22 +0100
--YkJPYEFdoxh/AXLE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Urgh. I seem to remember that we restricted this to macros to avoid
rewriting verbatim sections. We had a man page containing
>>>>>>
Here is an example of how to use the line continuation with cpp:
#define my_macro some text being too long to \
be on one line only, but it's \
not a problem since we can use \
line continuation like this
=20
Thanks for your attention.
<<<<<<
With you change, there is a risk that this verbatim block gets rewriten even
if it really shouldn't.
That being said, all this is based on remembrance. If it doesn't increase
the number of pages for which we fail, I must be wrong.
Thanks for your time,
Mt.
On Sun, Jan 09, 2005 at 06:04:10PM +0000, Nicolas FRAN??OIS wrote:
> Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
> In directory haydn:/tmp/cvs-serv2440/lib/Locale/Po4a
>=20
> Modified Files:
> Man.pm=20
> Log Message:
> input line continuations (\<RET>) are not reserved for macros
>=20
>=20
> Index: Man.pm
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
> retrieving revision 1.72
> retrieving revision 1.73
> diff -u -d -r1.72 -r1.73
> --- Man.pm 7 Jan 2005 22:50:52 -0000 1.72
> +++ Man.pm 9 Jan 2005 18:04:07 -0000 1.73
> @@ -290,7 +290,7 @@
> $line =3D~ s/\\\././g;
> =20
> chomp $line;
> - while ($line =3D~ /^\..*\\$/ || $line =3D~ /^(\.[BI])\s*$/) {
> + while ($line =3D~ /^.*\\$/ || $line =3D~ /^(\.[BI])\s*$/) {
> my ($l2,$r2)=3D$self->SUPER::shiftline();
> chomp($l2);
> if ($line =3D~ /^(\.[BI])\s*$/) {
>=20
>=20
> _______________________________________________
> Po4a-commits mailing list
> Po4a-commits@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/po4a-commits
--YkJPYEFdoxh/AXLE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFB5ArVIiC/MeFF8zQRAj9pAJ9YPyxbBdsFcI7VOsCTX4LwLrt3ngCdGeiN
ApX7mIbp5HwHYz8JUyqvb58=
=sx+a
-----END PGP SIGNATURE-----
--YkJPYEFdoxh/AXLE--