revert attributes for statements

pull/68/head
Jon Eugster 3 years ago
parent ebcc1df171
commit e3c14256fb

@ -224,9 +224,10 @@ def reprint (stx : Syntax) : Format :=
/-- A `attr := ...` option for `Statement`. Add attributes to the defined theorem. -/ /-- A `attr := ...` option for `Statement`. Add attributes to the defined theorem. -/
syntax statementAttr := "(" &"attr" ":=" Parser.Term.attrInstance,* ")" syntax statementAttr := "(" &"attr" ":=" Parser.Term.attrInstance,* ")"
-- TODO
/-- Define the statement of the current level. -/ /-- Define the statement of the current level. -/
elab "Statement" statementName:ident ? attr:statementAttr ? descr:str ? sig:declSig val:declVal : command => do elab "Statement" statementName:ident ? descr:str ? sig:declSig val:declVal : command => do
let lvlIdx ← getCurLevelIdx let lvlIdx ← getCurLevelIdx
-- Save the messages before evaluation of the proof. -- Save the messages before evaluation of the proof.

Loading…
Cancel
Save