[Developers] Patch: Parameter description quoting in generated C code

Erik Schnetter schnetter at aei.mpg.de
Fri May 13 06:12:49 CDT 2005


The CST stage does not properly quote the parameter descriptions, 
values, and ranges when it creates C code.  This patch remedies this.

It introduces a function CleanForC, renames CleanFromC to CleanFromCST 
(because this is what it does), and corrects RemoveQuotes.  These 
functions are used when generating C code for the parameter bindings, 
replacing various incomplete ad-hoc quoting mechanisms.

-erik

-- 
Erik Schnetter <schnetter at aei.mpg.de>   http://www.aei.mpg.de/~eschnett/

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parameter-quoting.diff
Type: text/x-diff
Size: 9977 bytes
Desc: not available
Url : http://www.cactuscode.org/pipermail/developers/attachments/20050513/1f40c94a/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.cactuscode.org/pipermail/developers/attachments/20050513/1f40c94a/attachment-0003.bin 


More information about the Developers mailing list