Require non-space after single quote start. [jgm/peg-markdown]

See https://github.com/jgm/peg-markdown/commit/8fa228e
This commit is contained in:
Michael Teichgräber 2012-04-30 02:10:03 +02:00
parent 19cb7e96a9
commit caef05e3ed
3 changed files with 4 additions and 4 deletions

View File

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

View File

@ -28,7 +28,7 @@ import (
)
const (
parserIfaceVersion_7 = iota
parserIfaceVersion_8 = iota
)
// Semantic value of a parsing action.
@ -754,7 +754,7 @@ EnDash = '-' &Digit
EmDash = ("---" | "--")
{ $$ = p.mkElem(EMDASH) }
SingleQuoteStart = '\''
SingleQuoteStart = '\'' !(Spacechar | Newline)
SingleQuoteEnd = '\'' !Alphanumeric

2
portid
View File

@ -1 +1 @@
168
169