aboutsummaryrefslogtreecommitdiffhomepage
path: root/parsing
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-12-06 13:11:35 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-12-06 13:11:35 +0000
commita1beafc24fc01ec78fa5728a253c66ccb41a0a68 (patch)
tree3f0aaf78f5cb18f79f34730b224d2953af5e83bd /parsing
parent7fc52da823d1640ed82229face3451b0d7702500 (diff)
2ème bug de traduction des Path
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1072 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing')
-rwxr-xr-xparsing/ast.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/parsing/ast.ml b/parsing/ast.ml
index 13a9c0d41..f541d77a6 100755
--- a/parsing/ast.ml
+++ b/parsing/ast.ml
@@ -47,9 +47,9 @@ let path_section loc sp =
Coqast.Path(loc, string_of_id bn :: (List.rev sl), string_of_kind pk)
let section_path sl k =
- match List.rev sl with
+ match sl with
| s::pa ->
- make_path pa (id_of_string s) (kind_of_string k)
+ make_path (List.rev pa) (id_of_string s) (kind_of_string k)
| [] -> invalid_arg "section_path"
(* ast destructors *)