Skip to content

Commit

Permalink
fix label for unicode relational operator
Browse files Browse the repository at this point in the history
  • Loading branch information
msakai committed Mar 23, 2024
1 parent f1816b7 commit 9fb36d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/PseudoBoolean/Megaparsec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ relational_operator = msum $ map try
]
where
-- XXX: We cannot assume Tokens s ~ ByteString
u8string = string . tokensToChunk (Proxy :: Proxy s) . BL.unpack . UTF8.fromString
u8string s = label s (string . tokensToChunk (Proxy :: Proxy s) . BL.unpack . UTF8.fromString $ s)

-- <variablename>::= "x" <unsigned_integer>
variablename :: C e s m => m Var
Expand Down

0 comments on commit 9fb36d4

Please sign in to comment.