diff options
| author | Alasdair Armstrong | 2017-08-17 15:45:29 +0100 |
|---|---|---|
| committer | Alasdair Armstrong | 2017-08-17 15:45:29 +0100 |
| commit | 1ae041177202fbfbfe497d3838655f61e6f76a9d (patch) | |
| tree | a0dcda00e48108388626cbfe355108443fe5bf12 /src/pretty_print_sail.ml | |
| parent | 9f013687086937df8be81dd6a0ebd86fc750abf7 (diff) | |
Various sail fixes for ASL hexapod
Diffstat (limited to 'src/pretty_print_sail.ml')
| -rw-r--r-- | src/pretty_print_sail.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pretty_print_sail.ml b/src/pretty_print_sail.ml index bb1d7357..b6d33d6d 100644 --- a/src/pretty_print_sail.ml +++ b/src/pretty_print_sail.ml @@ -109,6 +109,7 @@ let doc_pat, doc_atomic_pat = | P_lit lit -> doc_lit lit | P_wild -> underscore | P_id id -> doc_id id + | P_var kid -> doc_var kid | P_as(p,id) -> parens (separate space [pat p; string "as"; doc_id id]) | P_typ(typ,p) -> separate space [parens (doc_typ typ); atomic_pat p] | P_app(id,[]) -> doc_id id |
