SHARE
TWEET

Untitled

a guest Feb 2nd, 2012 56 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top