Skip to content

Commit

Permalink
fix(parser): invalid grammar rule
Browse files Browse the repository at this point in the history
Fixes bytesparadise#358

Signed-off-by: Xavier Coulon <[email protected]>
  • Loading branch information
xcoulon committed May 22, 2019
1 parent 21f6c7f commit 81e571a
Show file tree
Hide file tree
Showing 2 changed files with 26,776 additions and 29,410 deletions.
2 changes: 1 addition & 1 deletion pkg/parser/asciidoc-grammar.peg
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ RawText <- content:((!EOL .)+ { return c.text, nil }) EOL {
// ------------------------------------------
FrontMatter <- YamlFrontMatter

FrontMatter <- YamlFrontMatterToken content:(YamlFrontMatterContent) YamlFrontMatterToken {
YamlFrontMatter <- YamlFrontMatterToken content:(YamlFrontMatterContent) YamlFrontMatterToken {
return types.NewYamlFrontMatter(content.(string))
}

Expand Down
Loading

0 comments on commit 81e571a

Please sign in to comment.