class text2print : public _rax_select_base
{
public:
- void operator()(){
- }
+ virtual bool text( const sized_ccharbuf &s ){ fwrite(s.ptr, 1, s.size, stdout); return true; }
};
//////////////////////////////////////////////////////////////////////////
saxpar.analyze(work,
rax
/ "hoge"
- / text2str(s) );
+ / "hoge"
+ / text2print() );
/* saxpar.analyze((const char*)work,
rax /"statuses"/"status"/
text2int(id) &&
);*/
//saxgen /"statuses"/"status"/ ( el("!user")/status_append_o || el("user")/user ) );
//saxgen / el("statuses") / el("status") / ( );
- printf("%s\n", s.c_str());
+ //printf("%s\n", s.c_str());
}
/*catch(...)
{