diff options
author | Pierre Courtieu <courtieu@lri.fr> | 2004-08-30 13:36:53 +0000 |
---|---|---|
committer | Pierre Courtieu <courtieu@lri.fr> | 2004-08-30 13:36:53 +0000 |
commit | 803614383b7247bd7dd7739cc24749de245ae7c9 (patch) | |
tree | b3abac949aacf03525e7a741ed26053bdb75eabf /coq/ex-module.v | |
parent | c4aaf65bc749e139f3d87d8780e5110cdcc1a488 (diff) |
debugged the indentation of coq (bug report of Batsiaan Zapf august
3rd 2004). I found another bug (infinite loop due to an error in
coq-back-to-indentation-prevline).
Diffstat (limited to 'coq/ex-module.v')
-rw-r--r-- | coq/ex-module.v | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/coq/ex-module.v b/coq/ex-module.v index 240d0ad1..5b9d638a 100644 --- a/coq/ex-module.v +++ b/coq/ex-module.v @@ -72,26 +72,25 @@ Module Type N'. End N''. Declare Module N':M.SIG. (* no interactive def started *) - Declare Module N''':= N'. (* no interactive def started *) - Declare Module N''''. (* interactive def started *) - Parameter foo:nat. - End N''''. (* interactive def ended *) - End N'. + Declare Module N''':= N'. (* no interactive def started *) + Declare Module N''''. (* interactive def started *) + Parameter foo:nat. + End N''''. (* interactive def ended *) +End N'. - Lemma titi : O=O. - trivial. - Module Type K:=N'. - Module N''':=M. - Save. +Lemma titi : O=O. + trivial. + Module Type K:=N'. + Module N''':=M. +Save. - (* Here is a bug of Coq: *) - - Lemma bar:O=O. - Module Type L. (* This should not be allowed by Coq, since the End L. below fails *) - Axiom foo: O=O. - End L. (* fails --> if we go back to Module Type: unsync *) - Module I. - End I. + (* Here is a bug of Coq: *) +Lemma bar:O=O. + Module Type L. (* This should not be allowed by Coq, since the End L. below fails *) + Axiom foo: O=O. + End L. (* fails --> if we go back to Module Type: unsync *) + Module I. +End I. |