X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=tests%2Ftibdoc.g;h=f012231431997c63bf8898ceb318bc8b40fb1acc;hp=1c02f111e14568f55fe8e8cdf31b48d64582a793;hb=7ae0f5a59e73016bac97ee23da9f0b10bce6fa12;hpb=df76fcb56242a90011500ab89092d2108350a8ab diff --git a/tests/tibdoc.g b/tests/tibdoc.g index 1c02f11..f012231 100644 --- a/tests/tibdoc.g +++ b/tests/tibdoc.g @@ -84,20 +84,21 @@ oli = ("# "|onums)! (ws! text &~ any (oli|uli)!) text = Item Itemx = ws! Item | () -Item = -// "[]":: blockquote Itemx -// > - "[]":: { UL:: uli+/ws } Itemx - | "[]":: { OL:: oli+/ws } Itemx - > "[]":: pre Itemx - > "[]":: link Itemx - > "[]":: structured Itemx - > "[]":: styled Itemx - > "[]":: (Chars:: alphanum++) Itemx - > "[]":: "\"" text "\"" Itemx - > "[]":: (Symbol:: sym++) Itemx - > "[]":: { Block:: text } Itemx +Item*/ws = + blockquote + > { UL:: uli+/ws } + | { OL:: oli+/ws } + > pre + > link + > structured + > styled + > (Chars:: alphanum++) + > "\"" text "\"" + > (Symbol:: sym++) + > { Block:: text } + +blockquote = "adsfafewag" //blockquote = Blockquote:: "\"\"" (block | text "\"\"") pre = Verbatim:: "[verbatim]" { ~[]+ } /ws // FIXME doesn't work