X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=tests%2Ftibdoc.g;fp=tests%2Ftibdoc.g;h=51e66e1ca564613cb53aa6455c329c5994021691;hp=1c02f111e14568f55fe8e8cdf31b48d64582a793;hb=439f7fedebf5fdf586c18e6c3ce0c50e703ec0ed;hpb=df76fcb56242a90011500ab89092d2108350a8ab diff --git a/tests/tibdoc.g b/tests/tibdoc.g index 1c02f11..51e66e1 100644 --- a/tests/tibdoc.g +++ b/tests/tibdoc.g @@ -84,19 +84,22 @@ oli = ("# "|onums)! (ws! text &~ any (oli|uli)!) text = Item Itemx = ws! Item | () -Item = -// "[]":: blockquote Itemx +Item +//*/ws + = +// "[]":: blockquote ((ws! Item) | ()) // > - "[]":: { 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 + "[]":: { UL:: uli+/ws } ((ws! Item) | ()) + | "[]":: { OL:: oli+/ws } ((ws! Item) | ()) + > "[]":: pre ((ws! Item) | ()) + > "[]":: link ((ws! Item) | ()) + > "[]":: structured ((ws! Item) | ()) + > "[]":: styled ((ws! Item) | ()) + > "[]":: (Chars:: alphanum++) ((ws! Item) | ()) + > "[]":: "\"" text "\"" ((ws! Item) | ()) + > "[]":: (Symbol:: sym++) ((ws! Item) | ()) + > "[]":: { Block:: text } ((ws! Item) | ()) + //blockquote = Blockquote:: "\"\"" (block | text "\"\"")