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 | bba878651c459b4863ae907784270070e0048e51 (patch) | |
tree | 62439e548ac25411e953783beb116b5937e87fae /src/mod_db.sig | |
parent | 457b3c776325042c81b0cb5804e7881e0c1d1bf3 (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 |