Guest User

Untitled

a guest
Feb 2nd, 2012
61
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. struct multi_line_comment
  2. : public FSM::InterfaceMixin<multi_line_comment> {
  3. template<typename Iterator> bool operator()(Iterator& begin, Iterator end) const {
  4. return (MakeEquality(L'/') >> MakeEquality(L'*') >> *( !(MakeEquality(L'*') >> MakeEquality(L'/')) >> (multi_line_comment() || eps)) >> eps >> eps)(begin, end);
  5. }
  6. };
RAW Paste Data