Selaa lähdekoodia

Merge pull request #762 from ThatXliner/patch-1

📝 Updated docs
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.11.1
Erez Shinan 3 vuotta sitten
committed by GitHub
vanhempi
commit
a98c108bf5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      docs/grammar.md

+ 1
- 1
docs/grammar.md Näytä tiedosto

@@ -268,7 +268,7 @@ When importing rules, all their dependencies will be imported into a namespace,
%import <module> (<TERM1>, <TERM2>, <rule1>, <rule2>)
```

If the module path is absolute, Lark will attempt to load it from the built-in directory (currently, only `common.lark` is available).
If the module path is absolute, Lark will attempt to load it from the built-in directory (which currently contains `common.lark`, `python.lark`, and `unicode.lark`).

If the module path is relative, such as `.path.to.file`, Lark will attempt to load it from the current working directory. Grammars must have the `.lark` extension.



Ladataan…
Peruuta
Tallenna