[Click] Patch: ignore spaces in EXPORT_ELEMENT

Bart Braem bart.braem at ua.ac.be
Tue Jan 10 03:04:35 EST 2006


List,

This is a patch to ignore spaces inside EXPORT_ELEMENT. Currently 
click-buildtool does not strip spaces which gives spectacular errors inside 
elements.cc in the beetlemonkey function when writing something like 
EXPORT_ELEMENT( SomeElement )
You should replace lines 323 and 324 in click-buildtool.in by
  sub(/.*EXPORT_ELEMENT[ \t]*\([ \t]*/, "", $2);
  sub(/[ \t]*\).*/, "", $2);
(We have replaced the tab in the code by \t as it's more readable and less 
errorprone in e-mails)
Remove click-buildtool, run make and you have a stronger click-buildtool!

Bart and Michael
-- 
PATS research group
Dept. of Mathematics and Computer Sciences
University of Antwerp
G2.36, Building G
Middelheimlaan 1
2020 Antwerpen, Belgium
Phone: +32 (0)3 265.35.19.
Fax: +32 (0)3 265.37.77.
Web: www.pats.ua.ac.be
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20060110/8ee791b1/attachment.pgp


More information about the click mailing list