From 11df8dd48c070a66fec6992361be7aa75243de80 Mon Sep 17 00:00:00 2001 From: "Xenos.exe" <55803068+XenoS-ITA@users.noreply.github.com> Date: Sun, 25 Feb 2024 19:57:31 +0100 Subject: [PATCH] Fixed documentation typo in the `Importing External Rules` section, where the `--allowed-start-rules` option was being remembered the was the command \* and not * as it should --- docs/documentation.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/documentation.html b/docs/documentation.html index 44a1da73..b3fed470 100644 --- a/docs/documentation.html +++ b/docs/documentation.html @@ -746,7 +746,7 @@

Importing External Rules

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 - --allowed-start-rules \* in library grammars. Imports are + --allowed-start-rules * in library grammars. Imports are only valid in output formats "es" and "commonjs". If you use imports, you should use { output: "source" }; the default output of "parser" will call `eval` on the source which fails immediately