Browse Source

Small correction in lark.lark

Added multi-name-imports to the lark.lark grammar.
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.8.0
MegaIng 5 years ago
committed by GitHub
parent
commit
ec67938933
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      examples/lark.lark

+ 2
- 1
examples/lark.lark View File

@@ -13,7 +13,8 @@ statement: "%ignore" expansions _NL -> ignore
| "%import" import_args ["->" name] _NL -> import
| "%declare" name+ -> declare

import_args: "."? name ("." name)*
import_args: import_path ["(" name ("," name)* ")"]
import_path: "."? name ("." name)*

?expansions: alias (_VBAR alias)*



Loading…
Cancel
Save