mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 11:42:49 -06:00
bugfix in bracketedLinearize
This commit is contained in:
@@ -1266,7 +1266,9 @@ withBracketLinFuncs ref exn f =
|
|||||||
then writeIORef ref (stack, bs')
|
then writeIORef ref (stack, bs')
|
||||||
else do cat <- peekUtf8CString c_cat
|
else do cat <- peekUtf8CString c_cat
|
||||||
let fid = fromIntegral c_fid
|
let fid = fromIntegral c_fid
|
||||||
ann <- peekUtf8CString c_ann
|
ann <- if c_ann == nullPtr
|
||||||
|
then return ""
|
||||||
|
else peekUtf8CString c_ann
|
||||||
fun <- peekUtf8CString c_fun
|
fun <- peekUtf8CString c_fun
|
||||||
writeIORef ref (stack, Bracket cat fid ann fun (reverse bs) : bs')
|
writeIORef ref (stack, Bracket cat fid ann fun (reverse bs) : bs')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user