[Click] %{element} syntax

Eddie Kohler kohler at cs.ucla.edu
Wed Mar 10 20:41:23 EST 2010


The code that handles this case starts at error.cc:690, if you're 
interested in single stepping.


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