| 154 |
v |
v |
| 155 |
|
|
| 156 |
|
|
|
let atom_nil = Types.mk_atom "nil" |
|
| 157 |
let constant_nil v t = |
let constant_nil v t = |
| 158 |
mk noloc (And (t, (mk noloc (Constant (v, Types.Atom atom_nil))), true)) |
mk noloc (And (t, (mk noloc (Constant (v, Types.Atom Sequence.nil_atom))), true)) |
| 159 |
|
|
| 160 |
let compile regexp queue : ppat = |
let compile regexp queue : ppat = |
| 161 |
let vars = seq_vars StringSet.empty regexp in |
let vars = seq_vars StringSet.empty regexp in |
| 517 |
raise_loc loc |
raise_loc loc |
| 518 |
(ShouldHave (constr,(Printf.sprintf |
(ShouldHave (constr,(Printf.sprintf |
| 519 |
"Field %s is not allowed here." |
"Field %s is not allowed here." |
| 520 |
(Types.label_name l) |
(Types.LabelPool.value l) |
| 521 |
) |
) |
| 522 |
)); |
)); |
| 523 |
let t = type_check env e pi true in |
let t = type_check env e pi true in |