mappyfile icon indicating copy to clipboard operation
mappyfile copied to clipboard

Adding lark-cython support

Open geographika opened this issue 2 years ago • 0 comments

Currently 12 failing tests relating to comment parsing. Possibly related to 1.0.0 change:

v_args(meta=True) now gives meta as the first argument. i.e. (meta, children).

However tests run fine without lark-cython.

Failing code:

    def _assign_comments(self, _tree, prev_end_line):

        for node in _tree.children:
            if not isinstance(node, Tree):
                continue

            try:
>               line = node.meta.line
E               AttributeError: 'Meta' object has no attribute 'line'

geographika avatar Aug 19 '22 06:08 geographika