Require non-space after single quote start. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/8fa228e
This commit is contained in:
parent
19cb7e96a9
commit
caef05e3ed
@ -31,7 +31,7 @@ const (
|
||||
// rebuild it using
|
||||
// make nuke
|
||||
// make parser
|
||||
needParserIfaceVersion = parserIfaceVersion_7
|
||||
needParserIfaceVersion = parserIfaceVersion_8
|
||||
)
|
||||
|
||||
// Markdown Options:
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user