diff --git a/2023/04.cpp b/2023/04.cpp index 6c6bf35..a860980 100644 --- a/2023/04.cpp +++ b/2023/04.cpp @@ -35,9 +35,9 @@ struct Grammar : public qi::grammar> qi::ulong_long [ phx::bind(&Card::id, _val) = _1] >> ":" >> - (*qi::ulong_long) [ phx::bind(&Card::mine, _val) = _1] >> "|" >> - (*qi::ulong_long) [ phx::bind(&Card::winners, _val) = _1]; + "Card" >> qi::ulong_long [ phx::bind(&Card::id , _val) = _1] >> + ":" >> (*qi::ulong_long) [ phx::bind(&Card::mine , _val) = _1] >> + "|" >> (*qi::ulong_long) [ phx::bind(&Card::winners, _val) = _1]; } };