summaryrefslogtreecommitdiff
path: root/src/parser.mly
diff options
context:
space:
mode:
authorAlasdair Armstrong2019-08-02 16:48:36 +0100
committerAlasdair Armstrong2019-08-02 16:48:36 +0100
commit8b1c4ce0c3659020e0f2a2e04d70798931dc9b63 (patch)
tree635bf2f722f7cf5ecf6dd11b560ca1d96a32623b /src/parser.mly
parent94e2f401263c7efc69f7d2b731827dc41bd8c1b8 (diff)
Fix all warnings (except for two lem warnings)
Remove P_record as it's never been implemented in parser/typechecker/rewriter, and is not likely to be. This also means we can get rid of some ugliness with the fpat and mfpat types. Stubs for P_or and P_not are left as they still may get added to ASL and we might want to support them, although there are good reasons to keep our patterns simple. The lem warning for while -> while0 for ocaml doesn't matter because it's only used in lem, and the 32-bit number warning is just noise.
Diffstat (limited to 'src/parser.mly')
-rw-r--r--src/parser.mly2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/parser.mly b/src/parser.mly
index 4bc2e5c5..0b09468c 100644
--- a/src/parser.mly
+++ b/src/parser.mly
@@ -674,8 +674,6 @@ pat_string_append:
pat1:
| atomic_pat
{ $1 }
- (* | atomic_pat Bar pat1
- { mk_pat (P_or ($1, $3)) $startpos $endpos } *)
| atomic_pat At pat_concat
{ mk_pat (P_vector_concat ($1 :: $3)) $startpos $endpos }
| atomic_pat ColonColon pat1