Howdy,

Files which mix statements with class and function declarations
parse in a way I find confusing.

Given the following:

parsetest.py = """\
s1 = "s1"
def f1():
    pass
s2 = "s2"
def f2():
    pass
s3 = "s3"
"""
The node
@auto parsetest.py

contains the following
@language python
@tabwidth -4
@others
s3 = "s3"

and has 3 children:

<parsetest declarations>
s1 = "s1"

<f1>
def f1():
    pass

<f2>
s2 = "s2"
def f2():
    pass

I would prefer if nodes were created for each statement block.
As it is, the string definitions are hard to find.

Thanks,
Kent

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to