src/Pure/Isar/isar_syn.ML
changeset 32805 9b535493ac8d
parent 32804 ca430e6aee1c
parent 32466 a393b7e2a2f8
child 33287 0f99569d23e1
equal deleted inserted replaced
32804:ca430e6aee1c 32805:9b535493ac8d
    28 
    28 
    29 (** init and exit **)
    29 (** init and exit **)
    30 
    30 
    31 val _ =
    31 val _ =
    32   OuterSyntax.command "theory" "begin theory" (K.tag_theory K.thy_begin)
    32   OuterSyntax.command "theory" "begin theory" (K.tag_theory K.thy_begin)
    33     (ThyHeader.args >> (Toplevel.print oo IsarCmd.init_theory));
    33     (Thy_Header.args >> (Toplevel.print oo IsarCmd.init_theory));
    34 
    34 
    35 val _ =
    35 val _ =
    36   OuterSyntax.command "end" "end (local) theory" (K.tag_theory K.thy_end)
    36   OuterSyntax.command "end" "end (local) theory" (K.tag_theory K.thy_end)
    37     (Scan.succeed (Toplevel.exit o Toplevel.end_local_theory));
    37     (Scan.succeed (Toplevel.exit o Toplevel.end_local_theory));
    38 
    38