From 227f5de9273d766b3b7a32fb447ebdb358ba8a51 Mon Sep 17 00:00:00 2001 From: Erez Sh Date: Wed, 15 Apr 2020 17:05:00 +0300 Subject: [PATCH] Docs fix (Issue #560) --- docs/grammar.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/grammar.md b/docs/grammar.md index 66d33e20..94c7d177 100644 --- a/docs/grammar.md +++ b/docs/grammar.md @@ -233,7 +233,7 @@ When importing rules, all their dependencies will be imported into a namespace, %import . %import . -> %import . -> -%import ( ) +%import (, , , ) ``` If the module path is absolute, Lark will attempt to load it from the built-in directory (currently, only `common.lark` is available). @@ -246,7 +246,7 @@ The rule or terminal can be imported under an other name with the `->` syntax. ```perl %import common.NUMBER -%import .terminals_file (A B C) +%import .terminals_file (A, B, C) %import .rules_file.rulea -> ruleb ```