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
|
// rebuild it using
|
||||||
// make nuke
|
// make nuke
|
||||||
// make parser
|
// make parser
|
||||||
needParserIfaceVersion = parserIfaceVersion_7
|
needParserIfaceVersion = parserIfaceVersion_8
|
||||||
)
|
)
|
||||||
|
|
||||||
// Markdown Options:
|
// Markdown Options:
|
||||||
|
@ -28,7 +28,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
parserIfaceVersion_7 = iota
|
parserIfaceVersion_8 = iota
|
||||||
)
|
)
|
||||||
|
|
||||||
// Semantic value of a parsing action.
|
// Semantic value of a parsing action.
|
||||||
@ -754,7 +754,7 @@ EnDash = '-' &Digit
|
|||||||
EmDash = ("---" | "--")
|
EmDash = ("---" | "--")
|
||||||
{ $$ = p.mkElem(EMDASH) }
|
{ $$ = p.mkElem(EMDASH) }
|
||||||
|
|
||||||
SingleQuoteStart = '\''
|
SingleQuoteStart = '\'' !(Spacechar | Newline)
|
||||||
|
|
||||||
SingleQuoteEnd = '\'' !Alphanumeric
|
SingleQuoteEnd = '\'' !Alphanumeric
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user