diff options
author | Marvin Borner | 2023-02-21 05:41:26 +0100 |
---|---|---|
committer | Marvin Borner | 2023-02-21 05:41:26 +0100 |
commit | e4acd9e833bc7f94519e89494fb5c5b1008649a1 (patch) | |
tree | 4216c7aeff734bf2b7bdb5034036cf007f7d6ad9 /src/Parser.hs | |
parent | 7a9768dae668d2e08cefebaf39911a9b3f2366cf (diff) |
Implemented RKNL in Haskell
Diffstat (limited to 'src/Parser.hs')
-rw-r--r-- | src/Parser.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Parser.hs b/src/Parser.hs index b2579a9..74c2585 100644 --- a/src/Parser.hs +++ b/src/Parser.hs @@ -1,3 +1,4 @@ +-- MIT License, Copyright (c) 2022 Marvin Borner module Parser ( parseBlock , parseReplLine @@ -248,7 +249,7 @@ parseReplDefine = do var <- defIdentifier _ <- sc *> char '=' <* sc e <- parseExpression - t <- parseDefineType + _ <- parseDefineType pure $ ContextualInstruction (Define var e []) inp parseComment :: Parser () |