(*
- * Copyright 2010, INRIA, University of Copenhagen
+ * Copyright 2012, INRIA
+ * Julia Lawall, Gilles Muller
+ * Copyright 2010-2011, INRIA, University of Copenhagen
* Julia Lawall, Rene Rydhof Hansen, Gilles Muller, Nicolas Palix
* Copyright 2005-2009, Ecole des Mines de Nantes, University of Copenhagen
* Yoann Padioleau, Julia Lawall, Rene Rydhof Hansen, Henrik Stuart, Gilles Muller, Nicolas Palix
| Ast0.IsoWhenTag(_) -> failwith "only within iso phase"
| Ast0.IsoWhenTTag(_) -> failwith "only within iso phase"
| Ast0.IsoWhenFTag(_) -> failwith "only within iso phase"
- | Ast0.MetaPosTag(p) -> failwith "metapostag only within iso phase"
+ | Ast0.MetaPosTag(p) -> failwith "not in plus code"
+ | Ast0.HiddenVarTag(p) -> failwith "only within iso phase"
in
Hashtbl.add root_token_table key tokens)
CN.minus_table;
| Ast0.IsoWhenTag(_) -> failwith "only within iso phase"
| Ast0.IsoWhenTTag(_) -> failwith "only within iso phase"
| Ast0.IsoWhenFTag(_) -> failwith "only within iso phase"
- | Ast0.MetaPosTag(p) -> failwith "metapostag only within iso phase")
+ | Ast0.MetaPosTag(p) -> failwith "not in plus code"
+ | Ast0.HiddenVarTag(p) -> failwith "only within iso phase")
context_nodes
(* result of collecting the join points should be sorted in nondecreasing
let mk_stmtdots x = Ast.StmtDotsTag (Ast0toast.statement_dots x)
let mk_decldots x = Ast.DeclDotsTag (Ast0toast.declaration_dots x)
let mk_casedots x = failwith "+ case lines not supported"
-let mk_typeC x = Ast.FullTypeTag (Ast0toast.typeC x)
+let mk_typeC x = Ast.FullTypeTag (Ast0toast.typeC false x)
let mk_init x = Ast.InitTag (Ast0toast.initialiser x)
let mk_param x = Ast.ParamTag (Ast0toast.parameterTypeDef x)
| Ast0.IsoWhenTag(_) -> failwith "only within iso phase"
| Ast0.IsoWhenTTag(_) -> failwith "only within iso phase"
| Ast0.IsoWhenFTag(_) -> failwith "only within iso phase"
- | Ast0.MetaPosTag(p) -> failwith "metapostag only within iso phase")
+ | Ast0.MetaPosTag(p) -> failwith "not visible here"
+ | Ast0.HiddenVarTag(_) -> failwith "only within iso phase")
context_nodes
(* The plus fragments are converted to a list of lists of lists.