sync with peg-markdown
See https://github.com/jgm/peg-markdown/commit/a4713d59
This commit is contained in:
parent
b3f7b37771
commit
ef9d2c6af6
@ -436,7 +436,7 @@ Space = Spacechar+
|
|||||||
{ $$ = mk_str(" ")
|
{ $$ = mk_str(" ")
|
||||||
$$.key = SPACE }
|
$$.key = SPACE }
|
||||||
|
|
||||||
Str = < NormalChar (NormalChar | '_'+ &NormalChar)* >
|
Str = < NormalChar (NormalChar | '_'+ &Alphanumeric)* >
|
||||||
{ $$ = mk_str(yytext) }
|
{ $$ = mk_str(yytext) }
|
||||||
|
|
||||||
EscapedChar = '\\' !Newline < [-\\`|*_{}[\]()#+.!><] >
|
EscapedChar = '\\' !Newline < [-\\`|*_{}[\]()#+.!><] >
|
||||||
|
@ -7388,7 +7388,7 @@ func (p *yyParser) Init() {
|
|||||||
position, thunkPosition = position0, thunkPosition0
|
position, thunkPosition = position0, thunkPosition0
|
||||||
return false
|
return false
|
||||||
},
|
},
|
||||||
/* 106 Str <- (< NormalChar (NormalChar / ('_'+ &NormalChar))* > { yy = mk_str(yytext) }) */
|
/* 106 Str <- (< NormalChar (NormalChar / ('_'+ &Alphanumeric))* > { yy = mk_str(yytext) }) */
|
||||||
func() bool {
|
func() bool {
|
||||||
position0, thunkPosition0 := position, thunkPosition
|
position0, thunkPosition0 := position, thunkPosition
|
||||||
begin = position
|
begin = position
|
||||||
@ -7421,7 +7421,7 @@ func (p *yyParser) Init() {
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
position764, thunkPosition764 := position, thunkPosition
|
position764, thunkPosition764 := position, thunkPosition
|
||||||
if !p.rules[ruleNormalChar]() {
|
if !p.rules[ruleAlphanumeric]() {
|
||||||
goto l759
|
goto l759
|
||||||
}
|
}
|
||||||
position, thunkPosition = position764, thunkPosition764
|
position, thunkPosition = position764, thunkPosition764
|
||||||
|
Loading…
Reference in New Issue
Block a user