Skip to content

Commit

Permalink
Revert "cleanup"
Browse files Browse the repository at this point in the history
This reverts commit 698acae.
  • Loading branch information
vmchale committed Sep 11, 2024
1 parent 8d5a1fe commit 2a82ebe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Language/Dickinson/Parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE OverloadedStrings #-}
module Language.Dickinson.Parser ( parse
, parseWithMax
, parseWithCtx
, parseWithInitCtx
, parseReplWithCtx
, parseExpressionWithCtx
, ParseError (..)
Expand Down Expand Up @@ -239,6 +241,9 @@ parseReplWithCtx = parseWithInitSt parseRepl
parseExpressionWithCtx :: BSL.ByteString -> AlexUserState -> Either (ParseError AlexPosn) (AlexUserState, Expression AlexPosn)
parseExpressionWithCtx = parseWithInitSt parseExpression

parseWithInitCtx :: BSL.ByteString -> Either (ParseError AlexPosn) (AlexUserState, Dickinson AlexPosn)
parseWithInitCtx bsl = parseWithCtx bsl alexInitUserState

parseWithCtx :: BSL.ByteString -> AlexUserState -> Either (ParseError AlexPosn) (AlexUserState, Dickinson AlexPosn)
parseWithCtx = parseWithInitSt parseDickinson

Expand Down

0 comments on commit 2a82ebe

Please sign in to comment.