[Click] Patch: ignore spaces in EXPORT_ELEMENT

Eddie Kohler kohler at cs.ucla.edu
Tue Jan 10 12:42:59 EST 2006


Thanks, applied!!

On Jan 10, 2006, at 12:04 AM, Bart Braem wrote:

> 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
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list