On Tuesday, February 21, 2017 at 9:18:17 AM UTC-6, Edward K. Ream wrote:
> parse-body should warn if @language python is not in effect.
Done at dedcc73. Actually, parse-body warns if there is no parser for the
present language. That is, parse-body will work for any language for which
there is a parser in leo/plugins/importers.
At present, parse-body will crash if the to-be-parsed node contains
children:
File "c:\leo.repo\leo-editor\leo\plugins\importers\linescanner.py",
line 175, in get_lines
return p.v._import_lines
AttributeError: 'VNodeBase' object has no attribute '_import_lines'
No a big deal now--parse-body recovers from the error.
It will be straightforward to fix this. Probably later today.
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.