wizards/source/access2base/Module.xba | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 42d7a388989d57928a31e62999eb623366a485f0 Author: Jean-Pierre Ledure <j...@ledure.be> Date: Fri Nov 3 12:37:20 2017 +0100 Access2Base - Correct error in module parsing Error occurs when an unclosed string is present in a comment diff --git a/wizards/source/access2base/Module.xba b/wizards/source/access2base/Module.xba index 4e6156c81b9f..b26ba837936c 100644 --- a/wizards/source/access2base/Module.xba +++ b/wizards/source/access2base/Module.xba @@ -445,7 +445,7 @@ Private Function _FindPattern(ByVal psPattern As Variant, Optional ByRef plStart ' Common patterns Const cstComment = "('|\bREM\b)[^\n]*$" -Const cstString = """[^""]*""" +Const cstString = """[^""\n]*""" Const cstBeginStatement = "(^|:|\bthen\b|\belse\b|\n)[ \t]*" Const cstEndStatement = "[ \t]*($|:|\bthen\b|\belse\b|\n)" Const cstContinuation = "[ \t]_\n" _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits