From 4af41a12a0e7e6b17d25a71568641bd03d5e1f94 Mon Sep 17 00:00:00 2001 From: Emilio Jesus Gallego Arias Date: Wed, 14 Feb 2018 06:57:40 +0100 Subject: [located] More work towards using CAst.t We continue with the work of #402 and #6745 and update most of the remaining parts of the AST: - module declarations - intro patterns - top-level sentences Now, parsed documents should be full annotated by `CAst` nodes. --- interp/stdarg.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interp/stdarg.ml') diff --git a/interp/stdarg.ml b/interp/stdarg.ml index 5f1aad0c25..0958cc7eee 100644 --- a/interp/stdarg.ml +++ b/interp/stdarg.ml @@ -34,7 +34,7 @@ let wit_pre_ident : string uniform_genarg_type = let loc_of_or_by_notation f = function | AN c -> f c - | ByNotation (loc,(s,_)) -> loc + | ByNotation {CAst.loc;v=(s,_)} -> loc let wit_int_or_var = make0 ~dyn:(val_tag (topwit wit_int)) "int_or_var" -- cgit v1.2.3