コード例 #1
0
ファイル: action.hpp プロジェクト: MrsSCREAM/q4m
 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));
 }
コード例 #2
0
ファイル: action.hpp プロジェクト: MrsSCREAM/q4m
 inline void add_action_helper(LexerDef& lexdef, std::size_t id, F act)
 {
     lexdef.add_action(id, act);
 }