diff options
author | Adam Chlipala <adam@chlipala.net> | 2012-05-02 08:56:19 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2012-05-02 08:56:19 -0400 |
commit | 1fd7e4392db0bace167853850188c464b00a8126 (patch) | |
tree | 62439e548ac25411e953783beb116b5937e87fae /src/mod_db.sig | |
parent | b314c01095c5cd4617f71f706e43530a57ffb65b (diff) |
Don't modify the module cache after elaboration failures
Diffstat (limited to 'src/mod_db.sig')
-rw-r--r-- | src/mod_db.sig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mod_db.sig b/src/mod_db.sig index 2b98ae6f..8f78f2c2 100644 --- a/src/mod_db.sig +++ b/src/mod_db.sig @@ -35,4 +35,8 @@ signature MOD_DB = sig * We might invalidate other declarations that depend on this one, if the timestamp has changed. *) val lookup : Source.decl -> Elab.decl option + + (* Allow undoing to snapshots after failed compilations. *) + val snapshot : unit -> unit + val revert : unit -> unit end |