1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-05 06:57:27 +02:00

Various bug fixed from moving printed parts.

This commit is contained in:
Chris Palmer
2019-06-12 11:21:53 +01:00
parent 09db2f06b0
commit c1e31036eb
10 changed files with 57 additions and 18 deletions

View File

@@ -29,7 +29,7 @@ def parse_line(line):
return False, line[start :]
else:
words = line.split()
return len(words) and (words[0] == "module" or words[0] == "function"), ""
return len(words) and (words[0] == "module" or words[0] == "function" or words[0] == 'include'), ""
def _scrape_blurb(lines):
""" Find Markup lines before the first function or module given a list of lines."""