Simplified SingleQuoteStart. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/11d6864
This commit is contained in:
parent
77a926239d
commit
01228db44b
@ -31,7 +31,7 @@ const (
|
|||||||
// rebuild it using
|
// rebuild it using
|
||||||
// make nuke
|
// make nuke
|
||||||
// make parser
|
// make parser
|
||||||
needParserIfaceVersion = parserIfaceVersion_5
|
needParserIfaceVersion = parserIfaceVersion_6
|
||||||
)
|
)
|
||||||
|
|
||||||
// Markdown Options:
|
// Markdown Options:
|
||||||
|
@ -28,7 +28,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
parserIfaceVersion_5 = iota
|
parserIfaceVersion_6 = 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 = '\'' ![)!\],.;:-? \t\n]
|
SingleQuoteStart = '\''
|
||||||
|
|
||||||
SingleQuoteEnd = '\'' !Alphanumeric
|
SingleQuoteEnd = '\'' !Alphanumeric
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user