summaryrefslogtreecommitdiff
path: root/src/parse_ast.ml
diff options
context:
space:
mode:
authorAlasdair Armstrong2018-11-30 19:33:50 +0000
committerAlasdair Armstrong2018-11-30 19:35:29 +0000
commit666062ce4d97fe48307d1feb5bb4eb32087b177a (patch)
treeeaf5eda1617912c7c11da6556ba8534250f1773f /src/parse_ast.ml
parent0363a325ca6c498e086519c4ecaf1f51dbff7f64 (diff)
Remove constraint synonyms
They weren't needed for ASL parser like I thought they would be, and they increase the complexity of dealing with constraints throughout Sail, so just remove them. Also fix some compiler warnings
Diffstat (limited to 'src/parse_ast.ml')
-rw-r--r--src/parse_ast.ml2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/parse_ast.ml b/src/parse_ast.ml
index ddff51ea..c50977ed 100644
--- a/src/parse_ast.ml
+++ b/src/parse_ast.ml
@@ -177,7 +177,6 @@ n_constraint_aux = (* constraint over kind $_$ *)
| NC_set of kid * (Big_int.num) list
| NC_or of n_constraint * n_constraint
| NC_and of n_constraint * n_constraint
- | NC_app of id * atyp list
| NC_true
| NC_false
@@ -568,7 +567,6 @@ def = (* Top-level definition *)
| DEF_scattered of scattered_def (* scattered definition *)
| DEF_reg_dec of dec_spec (* register declaration *)
| DEF_pragma of string * string * l
- | DEF_constraint of id * kid list * n_constraint
| DEF_internal_mutrec of fundef list