Skip to content

Commit

Permalink
Merge pull request #494 from XenoS-ITA/patch-3
Browse files Browse the repository at this point in the history
Fixed documentation typo
  • Loading branch information
hildjj committed Feb 26, 2024
2 parents 521174b + d970bcc commit 9955b45
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ markw65 <mark@replayroutes.com> (https://github.com/markw65/)
Andy (https://github.com/AndrewRayCode)
Kristian Dupont <kristian@kristiandupont.com> (https://github.com/kristiandupont/)
Lumi Pakkanen <lumi.pakkanen@gmail.com> (https://github.com/frostburn/)
XenoS (https://github.com/XenoS-ITA)
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Released: TBD

### Bug fixes
- [#490](https://github.com/peggyjs/peggy/issues/490) Throw error when imports are used in unsupported formats. Supported formats are now only "es" and "commonjs".
- [#494](https://github.com/peggyjs/peggy/pull/494) Updated docs to make `--allowedRules *` more clear

4.0.1
-----
Expand Down
2 changes: 1 addition & 1 deletion docs/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ <h3 id="importing-external-rules">Importing External Rules</h3>
grammar, NOT the source. Grammars MUST be compiled by a version that
supports imports in order to be imported. Only rules that are allowed
start rules are valid. It can be useful to specify
<code>--allowed-start-rules \*</code> in library grammars. Imports are
<code>--allowed-start-rules *</code> in library grammars. Imports are
only valid in output formats "es" and "commonjs". If you
use imports, you should use <code>{ output: "source" }</code>; the default
output of "parser" will call `eval` on the source which fails immediately
Expand Down

0 comments on commit 9955b45

Please sign in to comment.