Same as previous patch but for the underlined variant. [jgm/peg-markdown]

See https://github.com/jgm/peg-markdown/commit/2a5daec
This commit is contained in:
Michael Teichgräber 2012-04-30 10:16:52 +02:00
parent 5bebe88174
commit 982e5856bf
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_15 needParserIfaceVersion = parserIfaceVersion_16
) )
// Markdown Options: // Markdown Options:

View File

@ -28,7 +28,7 @@ import (
) )
const ( const (
parserIfaceVersion_15 = iota parserIfaceVersion_16 = iota
) )
// Semantic value of a parsing action. // Semantic value of a parsing action.
@ -541,7 +541,7 @@ EmphStar = OneStarOpen
{ $$ = p.mkList(EMPH, a) } { $$ = p.mkList(EMPH, a) }
OneUlOpen = !UlLine '_' !Spacechar !Newline OneUlOpen = !UlLine '_' !Spacechar !Newline
OneUlClose = !Spacechar !Newline a:Inline !StrongUl '_' !Alphanumeric { $$ = a } OneUlClose = !Spacechar !Newline a:Inline '_' !Alphanumeric { $$ = a }
EmphUl = OneUlOpen EmphUl = OneUlOpen
a:StartList a:StartList

2
portid
View File

@ -1 +1 @@
178 179