summaryrefslogtreecommitdiff
path: root/src/parser.mly
diff options
context:
space:
mode:
authorAlasdair Armstrong2017-06-29 18:34:51 +0100
committerAlasdair Armstrong2017-06-29 18:34:51 +0100
commit4c712104db3a178fd8316a2bb36f2f241f249d2d (patch)
tree700dfaff11c4f56afed699d001262fc4d288c5e4 /src/parser.mly
parentfca7f935547509f187be90c00e0be818fcacc2f4 (diff)
Created prelude.sail for initial typing environment
Other things: * Cleaned up several files a bit * Fixed a bug in the parser where (deinfix |) got parsed as (definfix ||) * Turned of the irritating auto-indent in sail-mode.el
Diffstat (limited to 'src/parser.mly')
-rw-r--r--src/parser.mly2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.mly b/src/parser.mly
index 6cf954ef..0240e368 100644
--- a/src/parser.mly
+++ b/src/parser.mly
@@ -226,7 +226,7 @@ id:
| Lparen Deinfix AmpAmp Rparen
{ idl (DeIid($3)) }
| Lparen Deinfix Bar Rparen
- { idl (DeIid("||")) }
+ { idl (DeIid("|")) }
| Lparen Deinfix BarBar Rparen
{ idl (DeIid("||")) }
| Lparen Deinfix CarrotCarrot Rparen