§
    cÌcT	  ã                   óæ   — d Z d„ Zd„ Zedk    r`ddlZ eej        d         d¦  «        5 Ze                     ¦   «         Z	ddd¦  «         n# 1 swxY w Y    ee	¦  «        D ]Z
 ee
¦  «         ŒdS dS )aK  Simple parser for bzr's NEWS file.

Simple as this is, it's a bit over-powered for news_merge's needs, which only
cares about 'bullet' and 'everything else'.

This module can be run as a standalone Python program; pass it a filename and
it will print the parsed form of a file (a series of 2-tuples, see
simple_parse's docstring).
c                 óF   — t          d                     | ¦  «        ¦  «        S )zVSame as simple_parse, but takes an iterable of strs rather than a single
    str.
    Ú )Úsimple_parseÚjoin)Úliness    úB/usr/lib/python3/dist-packages/breezy/plugins/news_merge/parser.pyÚsimple_parse_linesr      s   € õ ˜Ÿš ™œÑ'Ô'Ð'ó    c              #   ó   K  — |                       d¦  «        }|D ]³}|                     d¦  «        rd|fV — Œ|                     dd¦  «        d         }|                     d¦  «        rd|fV — ŒV|                     d¦  «        rd	|fV — Œr|                     d
¦  «        rd|fV — ŒŽ|                     ¦   «         dk    rd|fV — Œ­d|fV — Œ´dS )z­Returns blocks, where each block is a 2-tuple (kind, text).

    :kind: one of 'heading', 'release', 'section', 'empty' or 'text'.
    :text: a str, including newlines.
    z

z###Úheadingú
é   éÿÿÿÿÚreleasez***Úsectionz* Úbulletr   ÚemptyÚtextN)ÚsplitÚ
startswithÚrsplitÚstrip)ÚcontentÚblocksÚblockÚ	last_lines       r   r   r   "   s,  è è € ð �]Š]˜6Ñ"Ô"€FØð  ð  ˆØ×Ò˜EÑ"Ô"ð 	à˜UÐ"Ð"Ð"Ð"ØØ—L’L  qÑ)Ô)¨"Ô-ˆ	Ø×Ò Ñ&Ô&ð 	 à˜UÐ"Ð"Ð"Ð"Ð"Ø×!Ò! %Ñ(Ô(ð 	 à˜UÐ"Ð"Ð"Ð"Ð"Ø×Ò˜dÑ#Ô#ð 	 à˜E�/Ð!Ð!Ð!Ð!Ø�[Š[‰]Œ]˜bÒ Ð à˜5�.Ð Ð Ð Ð ð ˜%�-ÐÐÐÐð) ð  r	   Ú__main__é    Nr   Úrb)Ú__doc__r   r   Ú__name__ÚsysÚopenÚargvÚfÚreadr   ÚresultÚprint© r	   r   ú<module>r)      sô   ðð"ð ð(ð (ð (ð ð  ð  ð< ˆzÒÐØ€J€J€JØ	ˆˆcŒh�qŒk˜4Ñ	 Ô	 ð  AØ—&’&‘(”(ˆðð ð ñ ô ð ð ð ð ð ð øøøð ð ð ð à�,˜wÑ'Ô'ð ð ˆØˆˆf‰Œˆˆð Ððð s   ªAÁAÁA