summaryrefslogtreecommitdiff
path: root/src/GF/Canon
diff options
context:
space:
mode:
Diffstat (limited to 'src/GF/Canon')
-rw-r--r--src/GF/Canon/CMacros.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/GF/Canon/CMacros.hs b/src/GF/Canon/CMacros.hs
index a61430512..572f09763 100644
--- a/src/GF/Canon/CMacros.hs
+++ b/src/GF/Canon/CMacros.hs
@@ -50,6 +50,13 @@ noMark :: Marker
noMark = defTMarker mk where
mk _ _ _ = ("","")
+-- | mark metas with their categories
+metaCatMark :: Marker
+metaCatMark = defTMarker mk where
+ mk nod _ _ = case nod of
+ V.N (_,V.AtM _,val,_,_) -> ("", '+':prt val)
+ _ -> ("","")
+
-- | for vanilla brackets, focus, and position, use
markBracket :: Marker
markBracket = defTMarker mk where