Newbie question: machine actions

Dan V. daniel.venkitacha... at gmail.com
Tue Apr 10 13:56:49 UTC 2007


Hi.  I'm wondering what an embedded action in a machine without a (>,
$, @ %) symbol means.  For example, in cppscan.rl identifiers are
matched with:

    # Identifiers
    ( [a-zA-Z_] [a-zA-Z0-9_]* )
        {token( TK_Id );};

On what condition does token() get called?



More information about the ragel-users mailing list