Skip to content

Commit

Permalink
use mkReduceFun
Browse files Browse the repository at this point in the history
  • Loading branch information
int-index committed Dec 18, 2021
1 parent 6398739 commit 11490db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ directive determins the API of the provided function.
> Just _ -> str "(\\(tokens, explist) -> happyError)"

> reduceArrElem n
> = tupE [intE n, varE ("happyReduce_" ++ show n)]
> = tupE [intE n, varE (mkReduceFun n "")]

-----------------------------------------------------------------------------
-- Produce the parser entry and exit points
Expand Down

0 comments on commit 11490db

Please sign in to comment.