X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=tests%2Ftibdoc.g;fp=tests%2Ftibdoc.g;h=80c8cefaa01077bc7d13787d028ecce72c29a3c3;hp=f012231431997c63bf8898ceb318bc8b40fb1acc;hb=59eead6bf0f2d9a7abeba03f3fdab04625521faf;hpb=7ae0f5a59e73016bac97ee23da9f0b10bce6fa12 diff --git a/tests/tibdoc.g b/tests/tibdoc.g index f012231..80c8cef 100644 --- a/tests/tibdoc.g +++ b/tests/tibdoc.g @@ -59,7 +59,7 @@ s = Doc Doc = head:Header body:Body /ws Header = H:: { "header" { KeyVal */ ws } /ws } Body = B:: {Section}*/ws -Section = SectionHeader Paragraph* /ws +Section = SectionHeader ws! (Paragraph Paragraph) SectionHeader = "==" SectionHeaderBody "==" SectionHeaderBody = "=" SectionHeaderBody "=" > ws! alphanum++ ws! @@ -82,8 +82,6 @@ uli = "* " (ws! text &~ any (oli|uli)!) oli = ("# "|onums)! (ws! text &~ any (oli|uli)!) text = Item -Itemx = ws! Item - | () Item*/ws = blockquote @@ -96,7 +94,7 @@ Item*/ws = > (Chars:: alphanum++) > "\"" text "\"" > (Symbol:: sym++) - > { Block:: text } +// > { Block:: text } blockquote = "adsfafewag" //blockquote = Blockquote:: "\"\"" (block | text "\"\"")