@@ -32,8 +32,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
3232Tokenizer for groff formats (man, ms).
3333-}
3434module Text.Pandoc.Readers.Roff
35− ( MacroKind
36− , FontSpec(..)
35+ ( FontSpec(..)
3736 , defaultFontSpec
3837 , LinePart(..)
3938 , Arg
@@ -83,8 +82,6 @@ data FontSpec = FontSpec{ fontBold :: Bool
8382defaultFontSpec :: FontSpec
8483defaultFontSpec = FontSpec False False False
8584
86−type MacroKind = String
87−
8885data LinePart = RoffStr String
8986 | Font FontSpec
9087 | MacroArg Int
@@ -106,7 +103,7 @@ type TableRow = ([CellFormat], [RoffTokens])
106103
107104data RoffToken = MLine [LinePart]
108105 | MEmptyLine
109− | MMacro MacroKind [Arg] SourcePos
106+ | MMacro String [Arg] SourcePos
110107 | MTable [TableOption] [TableRow] SourcePos
111108 deriving Show
112109