Stop requiring an empty line between subsections in a xref section
This commit is contained in:
parent
29c5823f34
commit
3a39c75e6a
|
@ -329,7 +329,7 @@ instance Output XRefSection where
|
|||
|
||||
xRefSection :: Parser u XRefSection
|
||||
xRefSection = foldr addSubsection Map.empty <$>
|
||||
(line "xref" *> xRefSubSection `sepBy` EOL.parser)
|
||||
(line "xref" *> xRefSubSection `sepBy` many EOL.parser)
|
||||
where
|
||||
addSubsection (XRefSubSection {firstObjectId, entries}) =
|
||||
Map.union . Map.fromList $ zip ([firstObjectId..]) entries
|
||||
|
|
Loading…
Reference in New Issue