File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -806,14 +806,12 @@ bool CombineRuleBuilder::parseAll() {
806806
807807 if (Act0Op == " match" && Act1Op == " apply" ) {
808808 if (!Parser.parsePatternList (
809- Act0,
810- [this ](auto Pat) { return addMatchPattern (std::move (Pat)); },
809+ Act0, [this ](auto Pat) { return addMatchPattern (std::move (Pat)); },
811810 " match" , (RuleDef.getName () + " _match" ).str ()))
812811 return false ;
813812
814813 if (!Parser.parsePatternList (
815- Act1,
816- [this ](auto Pat) { return addApplyPattern (std::move (Pat)); },
814+ Act1, [this ](auto Pat) { return addApplyPattern (std::move (Pat)); },
817815 " apply" , (RuleDef.getName () + " _apply" ).str ()))
818816 return false ;
819817
@@ -830,12 +828,13 @@ bool CombineRuleBuilder::parseAll() {
830828 return false ;
831829
832830 if (MatchPats.empty () || ApplyPats.empty ()) {
833- PrintError (" 'combine' action needs at least one pattern to match, and C++ code to apply" );
831+ PrintError (" 'combine' action needs at least one pattern to match, and "
832+ " C++ code to apply" );
834833 return false ;
835834 }
836835 } else {
837836 PrintError (" Expected both a 'match' and 'apply' action in combine rule, "
838- " or a single 'combine' action" );
837+ " or a single 'combine' action" );
839838 return false ;
840839 }
841840
You can’t perform that action at this time.
0 commit comments