diff options
| author | Alasdair Armstrong | 2018-07-24 18:16:53 +0100 |
|---|---|---|
| committer | Alasdair Armstrong | 2018-07-24 18:16:53 +0100 |
| commit | 7cb3aa7b82423f1744d1006fc7c076aa2fcaf15a (patch) | |
| tree | 3c9a607b9e0b2fce55cbd0a84475614e3d3d35cd /src/ast_util.mli | |
| parent | 8b1bbeed703da7ba78dfe2728c99b0ec9088cf47 (diff) | |
| parent | 6b4f407ad34ca7d4d8a89a5a4d401ac80c7413b0 (diff) | |
Merge branch 'c_fixes' into sail2
Diffstat (limited to 'src/ast_util.mli')
| -rw-r--r-- | src/ast_util.mli | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ast_util.mli b/src/ast_util.mli index b4ef27ee..083b81e0 100644 --- a/src/ast_util.mli +++ b/src/ast_util.mli @@ -58,7 +58,10 @@ type mut = Immutable | Mutable (** [lvar] is the type of variables - they can either be registers, local mutable or immutable variables, nullary union constructors (i.e. None in option), or unbound identifiers *) -type lvar = Register of effect * effect * typ | Enum of typ | Local of mut * typ | Unbound +type 'a lvar = Register of effect * effect * 'a | Enum of 'a | Local of mut * 'a | Unbound + +(** Note: Partial function -- fails for Unknown lvars *) +val lvar_typ : 'a lvar -> 'a val no_annot : unit annot val gen_loc : Parse_ast.l -> Parse_ast.l |
