diff --git a/src/Init/Conv.lean b/src/Init/Conv.lean index e9a95bc665..7f06b869c6 100644 --- a/src/Init/Conv.lean +++ b/src/Init/Conv.lean @@ -13,7 +13,7 @@ namespace Lean.Parser.Tactic.Conv declare_syntax_cat conv (behavior := both) syntax convSeq1Indented := withPosition((colGe conv ";"?)+) -syntax convSeqBracketed := "{" (conv ";"?)+ "}" +syntax convSeqBracketed := "{" (conv ";"?)* "}" -- Order is important: a missing `conv` proof should not be parsed as `{ }`, -- automatically closing goals syntax convSeq := convSeqBracketed <|> convSeq1Indented