bytesparadise / libasciidoc

A Golang library for processing Asciidoc files.
Apache License 2.0
196 stars 23 forks source link

refactor(parser): improve grammar #1081

Closed xcoulon closed 1 year ago

xcoulon commented 1 year ago

avoid failling into the AnyChar rule when parsing content with the NormalGroup entrypoint

includes refactoring of the InlineWord and Punctuation rules to match content faster.

Signed-off-by: Xavier Coulon xcoulon@redhat.com

codecov[bot] commented 1 year ago

Codecov Report

Merging #1081 (bbfd0e1) into master (4d151e0) will decrease coverage by 0.27%. The diff coverage is 48.78%.

@@            Coverage Diff             @@
##           master    #1081      +/-   ##
==========================================
- Coverage   80.93%   80.66%   -0.28%     
==========================================
  Files          90       90              
  Lines        7569     7591      +22     
==========================================
- Hits         6126     6123       -3     
- Misses        946      971      +25     
  Partials      497      497