Simplified SkipBlock. [jgm/peg-markdown]

See https://github.com/jgm/peg-markdown/commit/85439dd
This commit is contained in:
Michael Teichgräber 2012-04-30 10:13:12 +02:00
parent ad8afc4ab1
commit ba2d82f616
3 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ const (
// rebuild it using // rebuild it using
// make nuke // make nuke
// make parser // make parser
needParserIfaceVersion = parserIfaceVersion_13 needParserIfaceVersion = parserIfaceVersion_14
) )
// Markdown Options: // Markdown Options:

View File

@ -28,7 +28,7 @@ import (
) )
const ( const (
parserIfaceVersion_13 = iota parserIfaceVersion_14 = iota
) )
// Semantic value of a parsing action. // Semantic value of a parsing action.
@ -732,7 +732,7 @@ RawLine = ( < (!'\r' !'\n' .)* Newline > | < .+ > Eof )
SkipBlock = HtmlBlock SkipBlock = HtmlBlock
| ( !'#' !SetextBottom1 !SetextBottom2 !BlankLine RawLine )+ BlankLine* | ( !'#' !SetextBottom1 !SetextBottom2 !BlankLine RawLine )+ BlankLine*
| BlankLine+ | BlankLine+
| ( &('#' | SetextBottom1 | SetextBottom2) RawLine ) | RawLine
# Syntax extensions # Syntax extensions

2
portid
View File

@ -1 +1 @@
176 177