Skip to content

Commit

Permalink
Fix extra space
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricereix committed Oct 14, 2023
1 parent b9dacc9 commit 8b2b3c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration/test_ok/grammar.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<div class="grammar-ruleset"><h2> Grammar</h2><div class="grammar-rule"><div class="grammar-rule-declaration"><span class="grammar-rule-id" id="grammar-file">grammar-file</span></div><div class="grammar-rule-expression"><a href="#ruleset">ruleset</a><span class="grammar-symbol">*</span></div></div>
<div class="grammar-ruleset"><h2>Grammar</h2><div class="grammar-rule"><div class="grammar-rule-declaration"><span class="grammar-rule-id" id="grammar-file">grammar-file</span></div><div class="grammar-rule-expression"><a href="#ruleset">ruleset</a><span class="grammar-symbol">*</span></div></div>
<div class="grammar-rule"><div class="grammar-rule-declaration"><span class="grammar-rule-id" id="ruleset">ruleset</span><span class="grammar-usedby">(used by <a href="#grammar-file">grammar-file</a>)</span></div><div class="grammar-rule-expression"><a href="#comment">comment</a>&nbsp;<a href="#newline">newline</a><span class="grammar-symbol">+</span>&nbsp;<span class="grammar-symbol">(</span><a href="#rule">rule</a><span class="grammar-symbol">|</span><a href="#newline">newline</a><span class="grammar-symbol">)</span><span class="grammar-symbol">+</span></div></div>
<div class="grammar-rule"><div class="grammar-rule-declaration"><span class="grammar-rule-id" id="rule">rule</span><span class="grammar-usedby">(used by <a href="#ruleset">ruleset</a>)</span></div><div class="grammar-rule-expression"><a href="#identifier">identifier</a>&nbsp;<span class="grammar-literal">:</span>&nbsp;<a href="#expr-choice">expr-choice</a></div></div>
</div><div class="grammar-ruleset"><h2> Expression</h2><div class="grammar-rule"><div class="grammar-rule-declaration"><span class="grammar-rule-id" id="expr-choice">expr-choice</span><span class="grammar-usedby">(used by <a href="#rule">rule</a>,&nbsp;<a href="#expr-group">expr-group</a>)</span></div><div class="grammar-rule-expression"><a href="#expr-sequence">expr-sequence</a>&nbsp;<span class="grammar-symbol">(</span><span class="grammar-literal">|</span>&nbsp;<a href="#expr-sequence">expr-sequence</a><span class="grammar-symbol">)</span><span class="grammar-symbol">*</span></div></div>
</div><div class="grammar-ruleset"><h2>Expression</h2><div class="grammar-rule"><div class="grammar-rule-declaration"><span class="grammar-rule-id" id="expr-choice">expr-choice</span><span class="grammar-usedby">(used by <a href="#rule">rule</a>,&nbsp;<a href="#expr-group">expr-group</a>)</span></div><div class="grammar-rule-expression"><a href="#expr-sequence">expr-sequence</a>&nbsp;<span class="grammar-symbol">(</span><span class="grammar-literal">|</span>&nbsp;<a href="#expr-sequence">expr-sequence</a><span class="grammar-symbol">)</span><span class="grammar-symbol">*</span></div></div>
<div class="grammar-rule"><div class="grammar-rule-declaration"><span class="grammar-rule-id" id="expr-sequence">expr-sequence</span><span class="grammar-usedby">(used by <a href="#expr-choice">expr-choice</a>)</span></div><div class="grammar-rule-expression"><a href="#expr-negate">expr-negate</a><span class="grammar-symbol">+</span></div></div>
<div class="grammar-rule"><div class="grammar-rule-declaration"><span class="grammar-rule-id" id="expr-negate">expr-negate</span><span class="grammar-usedby">(used by <a href="#expr-sequence">expr-sequence</a>)</span></div><div class="grammar-rule-expression"><span class="grammar-literal">~</span><span class="grammar-symbol">?</span>&nbsp;<a href="#expr-quantified">expr-quantified</a></div></div>
<div class="grammar-rule"><div class="grammar-rule-declaration"><span class="grammar-rule-id" id="expr-quantified">expr-quantified</span><span class="grammar-usedby">(used by <a href="#expr-negate">expr-negate</a>)</span></div><div class="grammar-rule-expression"><a href="#expr-group">expr-group</a>&nbsp;<a href="#quantifier">quantifier</a><span class="grammar-symbol">?</span></div></div>
<div class="grammar-rule"><div class="grammar-rule-declaration"><span class="grammar-rule-id" id="expr-group">expr-group</span><span class="grammar-usedby">(used by <a href="#expr-quantified">expr-quantified</a>)</span></div><div class="grammar-rule-expression"><span class="grammar-literal">(</span>&nbsp;<a href="#expr-choice">expr-choice</a>&nbsp;<span class="grammar-literal">)</span><span class="grammar-symbol">|</span><a href="#expr-primary">expr-primary</a></div></div>
<div class="grammar-rule"><div class="grammar-rule-declaration"><span class="grammar-rule-id" id="expr-primary">expr-primary</span><span class="grammar-usedby">(used by <a href="#expr-group">expr-group</a>)</span></div><div class="grammar-rule-expression"><a href="#literal-string">literal-string</a><span class="grammar-symbol">|</span><a href="#regex">regex</a><span class="grammar-symbol">|</span><a href="#identifier">identifier</a></div></div>
</div><div class="grammar-ruleset"><h2> Lexical Grammar</h2><div class="grammar-rule"><div class="grammar-rule-declaration"><span class="grammar-rule-id" id="quantifier">quantifier</span><span class="grammar-usedby">(used by <a href="#expr-quantified">expr-quantified</a>)</span></div><div class="grammar-rule-expression"><span class="grammar-literal">?</span><span class="grammar-symbol">|</span><span class="grammar-literal">+</span><span class="grammar-symbol">|</span><span class="grammar-literal">*</span></div></div>
</div><div class="grammar-ruleset"><h2>Lexical Grammar</h2><div class="grammar-rule"><div class="grammar-rule-declaration"><span class="grammar-rule-id" id="quantifier">quantifier</span><span class="grammar-usedby">(used by <a href="#expr-quantified">expr-quantified</a>)</span></div><div class="grammar-rule-expression"><span class="grammar-literal">?</span><span class="grammar-symbol">|</span><span class="grammar-literal">+</span><span class="grammar-symbol">|</span><span class="grammar-literal">*</span></div></div>
<div class="grammar-rule"><div class="grammar-rule-declaration"><span class="grammar-rule-id" id="newline">newline</span><span class="grammar-usedby">(used by <a href="#ruleset">ruleset</a>)</span></div><div class="grammar-rule-expression"><span class="grammar-regex">[ \t\n]*</span>&nbsp;<span class="grammar-regex">[\n]</span></div></div>
<div class="grammar-rule"><div class="grammar-rule-declaration"><span class="grammar-rule-id" id="comment">comment</span><span class="grammar-usedby">(used by <a href="#ruleset">ruleset</a>)</span></div><div class="grammar-rule-expression"><span class="grammar-literal">#</span>&nbsp;<span class="grammar-regex">~[\n]</span></div></div>
<div class="grammar-rule"><div class="grammar-rule-declaration"><span class="grammar-rule-id" id="identifier">identifier</span><span class="grammar-usedby">(used by <a href="#rule">rule</a>,&nbsp;<a href="#expr-primary">expr-primary</a>)</span></div><div class="grammar-rule-expression"><span class="grammar-regex">[a-zA-Z]</span>&nbsp;<span class="grammar-regex">[a-zA-Z-]*</span></div></div>
Expand Down

0 comments on commit 8b2b3c1

Please sign in to comment.