Browse Source

Oops

gm/2021-09-23T00Z/github.com--lark-parser-lark/v0.12.0
Erez Sh 3 years ago
parent
commit
a85f7d9667
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      lark/ast_utils.py

+ 1
- 0
lark/ast_utils.py View File

@@ -54,6 +54,7 @@ def create_transformer(ast_module, transformer=None):
if not name.startswith('_') and inspect.isclass(obj):
if issubclass(obj, Ast):
if not issubclass(obj, AsList):
if issubclass(obj, WithMeta):
obj = with_meta_inline(obj).__get__(t)
else:
obj = inline(obj).__get__(t)


Loading…
Cancel
Save