Exemple #1
0
 inline void add_action_helper(LexerDef& lexdef, std::size_t id, 
     spirit::tag::set_state_tag<String> t)
 {
     lexdef.add_action(id, make_set_state(t.name));
 }
Exemple #2
0
 inline void add_action_helper(LexerDef& lexdef, std::size_t id, F act)
 {
     lexdef.add_action(id, act);
 }