[Click] %{element} syntax

Eddie Kohler kohler at cs.ucla.edu
Wed Mar 10 20:39:06 EST 2010


Ian,

This works correctly on Mac OS X at least.  I'm surprised it fails for 
you.  Are you using a modified driver at all?

Eddie


On 3/10/10 4:54 PM, Ian Rose wrote:
> Hi all -
>
> In various places (such as simplequeue.cc), there are lines like this:
>
>> click_chatter("%{element}: overflow", this);
>
> I'm guessing that this is supposed to print some kind of
> description/representation of the element, followed by ": overflow", but
> on my machine (userspace click, FreeBSD 7.2-STABLE) it just prints
> "{element}: overflow".
>
> Does this "work" (as I am assuming its supposed to) for other people or
> does it print oddly for everyone?
>
> - Ian
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list