Skip to content

Commit 11490db

Browse files
committed
use mkReduceFun
1 parent 6398739 commit 11490db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ directive determins the API of the provided function.
916916
> Just _ -> str "(\\(tokens, explist) -> happyError)"
917917

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

921921
-----------------------------------------------------------------------------
922922
-- Produce the parser entry and exit points

0 commit comments

Comments
 (0)