Re: m4 question

Etienne Gagnon <[email protected]> Thu, 17 Feb 2005 02:40:46 -0500
Newsgroups gmane.comp.java.vm.sablevm.devel
Message-ID <[email protected]>
Hi David and Chris,

Any chance to see some of these apparently clean solutions added into 
staging?

Thanks.

Etienne

Chris Pickett wrote:
> David Bélanger wrote:
>> Patch adds 2nd (optionnal) argument for textual comparison.
>> First arg used for function names etc. as before.
> 
> I didn't try your patch, but I showed Jennifer a way to do with an extra 
> m4svm_parse_attribute_elseifexternal macro that passes $1 and $2 to the 
> strcmp, where $1 would be ca.mcgill.sable and the $2 would be the name 
> of the attribute class, so that you'd get $1.$2 in your strcmp.  I was 
> already using something similar in my sandbox, you just happened to 
> respond before me.

-- 
Etienne M. Gagnon, Ph.D.            http://www.info2.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/

_______________________________________________
SableVM-devel mailing list
[email protected]
http://sablevm.org/lists/control/listinfo/sablevm-devel
signature.asc (application/pgp-signature, 256 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCFEp+jyrJi4rH84gRApBmAJ4gHffMwrEXglYp03eeDpsKz4gc4gCfYHPp
9ZTR0h1cGY6tAHfm4yD8y54=
=9qwp
-----END PGP SIGNATURE-----