[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [0/18] new argv_ref branch for m4 speedup
From: |
Eric Blake |
Subject: |
Re: [0/18] new argv_ref branch for m4 speedup |
Date: |
Tue, 04 Dec 2007 22:13:27 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Eric Blake on 11/19/2007 9:12 PM:
> Anyone that would like to help
> out by building
> http://git.sv.gnu.org/gitweb/?p=m4.git;a=shortlog;h=argv_ref and ensuring
> that it has no difference from m4 1.4.10 (other than the speedups) is more
> than welcome to give it a try. I've added a lot of new assertions into
> the code, and can't quite guarantee that awkward choices of quoting or
> comment characters will lead to unintended semantics changes or assertion
> failures.
Sure enough, I found a regression today, when using the same character for
both start and end quotes. I've rebased argv_ref to fix this bug, and
added two new patches to the end of the series that make more macros
handle builtin tokens from defn (similar to Solaris and BSD m4 -
basically, fixing the bug that ifelse(defn(`defn'),defn(`divnum'),a,b) was
outputting a instead of b), as well as fixing m4wrap to obey POSIX by
using FIFO (not LIFO) semantics. The patch series currently adds a new
macro, m4parw (the name was suggested months ago when I first brought up
the issue of FIFO vs. LIFO), but since I also added the file wraplifo.m4
that can do the same trick without using the new builtin, I'm open to the
idea of not adding m4parw after all.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHVjN384KuGfSFAYARAjz0AKC/lYdQSgtJNzTSWyOcOlaCSWQ0fACg1eHq
d9n3VVBM1438cyn7JOBW9Dc=
=y5nI
-----END PGP SIGNATURE-----