[Click] %{element} syntax

Ian Rose ianrose at eecs.harvard.edu
Wed Mar 10 19:54:46 EST 2010


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


More information about the click mailing list