diff options
| author | aspiwack | 2013-11-02 15:36:45 +0000 |
|---|---|---|
| committer | aspiwack | 2013-11-02 15:36:45 +0000 |
| commit | 07569af8e7528fc63b93824edd5253e8a92fc2c0 (patch) | |
| tree | 98dc680c84328710e07c4fe6b9780600f01baf1f /intf | |
| parent | 49762f64a3616919dbfc1be09410cf830d168e70 (diff) | |
Fixes parsing of all: followed by a typechecking/evaluation command.
Exceptions raised during parsing are caught by the parser and result in weird
parsing behaviour. Instead I added a special case in vernac_expr which always
raises an error.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16988 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'intf')
| -rw-r--r-- | intf/vernacexpr.mli | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intf/vernacexpr.mli b/intf/vernacexpr.mli index 2f76df0e5b..8bf65d0445 100644 --- a/intf/vernacexpr.mli +++ b/intf/vernacexpr.mli @@ -263,6 +263,7 @@ type vernac_expr = | VernacTime of vernac_expr | VernacTimeout of int * vernac_expr | VernacFail of vernac_expr + | VernacError of exn (* always fails *) (* Syntax *) | VernacTacticNotation of |
