mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-30 05:08:55 -06:00
fix after the change in bracketed string
This commit is contained in:
@@ -974,7 +974,7 @@ instance JSON PGF.Expr where
|
|||||||
|
|
||||||
instance JSON PGF.BracketedString where
|
instance JSON PGF.BracketedString where
|
||||||
readJSON x = return (PGF.Leaf "")
|
readJSON x = return (PGF.Leaf "")
|
||||||
showJSON (PGF.Bracket cat fid index fun _ bs) =
|
showJSON (PGF.Bracket cat fid _ index fun _ bs) =
|
||||||
makeObj ["cat".=cat, "fid".=fid, "index".=index, "fun".=fun, "children".=bs]
|
makeObj ["cat".=cat, "fid".=fid, "index".=index, "fun".=fun, "children".=bs]
|
||||||
showJSON (PGF.Leaf s) = makeObj ["token".=s]
|
showJSON (PGF.Leaf s) = makeObj ["token".=s]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user