aboutsummaryrefslogtreecommitdiff
path: root/lllars/parser.hs
diff options
context:
space:
mode:
authorMarvin Borner2024-12-29 16:14:54 +0100
committerMarvin Borner2024-12-29 16:15:15 +0100
commitac53a2bf106dccd2de463f7c68c2527ee6e08f4e (patch)
treebd575864819c42f3e2e41802cb8ab82fbc95ed71 /lllars/parser.hs
parent19ba9b16c3bc3cb16caff7025b4bfa79dbd2fe17 (diff)
better
Diffstat (limited to 'lllars/parser.hs')
-rw-r--r--lllars/parser.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lllars/parser.hs b/lllars/parser.hs
index dfee007..f843849 100644
--- a/lllars/parser.hs
+++ b/lllars/parser.hs
@@ -87,7 +87,7 @@ call =
LarsCall
<$> ( string "larssral"
*> space
- *> ((string "lars" $> ReadCall) <|> (string "sral" $> WriteCall))
+ *> ((string "lars" $> WriteCall) <|> (string "sral" $> ReadCall))
)
write :: Parser Instr