diff options
m--------- | helpcontent2 | 0 | ||||
-rw-r--r-- | librelogo/source/LibreLogo/LibreLogo.py | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/helpcontent2 b/helpcontent2 -Subproject 35ad87caa5923b90d8ef5e7d951059fa60d6ced +Subproject 0d8b37cd9e0b89d1136b09a81671c88fc91fee3 diff --git a/librelogo/source/LibreLogo/LibreLogo.py b/librelogo/source/LibreLogo/LibreLogo.py index e030fc816351..33fe172631ad 100644 --- a/librelogo/source/LibreLogo/LibreLogo.py +++ b/librelogo/source/LibreLogo/LibreLogo.py @@ -1595,7 +1595,7 @@ def __compil__(s): (?:[^\n]*(?<!\b(%(END)s))\n)* # 0 or more lines (not END) [^\n]*\b(?:%(OUTPUT)s)\b[^\n]*\n # line with OUTPUT (functions = procedures with OUTPUT) (?:[^\n]*(?<!\b(?:%(END)s))\n)* # 0 or more lines (not END) - (?:%(END)s)\b""" % __l12n__(_.lng), s, re.X) ] # final END (XXX multiple names of "END" doesn't supported) + [ \t]*\b(?:%(END)s)\b""" % __l12n__(_.lng), s, re.X) ] # final END (XXX multiple names of "END" doesn't supported) # add line breaks before procedure calls procedures = set(subnames) - set(functions) if len(procedures) > 0: |