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
 
 &apos; Common patterns
 Const cstComment = &quot;(&apos;|\bREM\b)[^\n]*$&quot;
-Const cstString = &quot;&quot;&quot;[^&quot;&quot;]*&quot;&quot;&quot;
+Const cstString = &quot;&quot;&quot;[^&quot;&quot;\n]*&quot;&quot;&quot;
 Const cstBeginStatement = &quot;(^|:|\bthen\b|\belse\b|\n)[ \t]*&quot;
 Const cstEndStatement = &quot;[ \t]*($|:|\bthen\b|\belse\b|\n)&quot;
 Const cstContinuation = &quot;[ \t]_\n&quot;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to