From f9215e1b632017c4172d8d7fed61f35075880612 Mon Sep 17 00:00:00 2001 From: Eric Mertens Date: Mon, 4 Dec 2023 17:08:08 -0800 Subject: [PATCH] align --- 2023/04.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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]; } };