diff options
author | Jean-Pierre Ledure <jp@ledure.be> | 2017-11-03 12:37:20 +0100 |
---|---|---|
committer | Jean-Pierre Ledure <jp@ledure.be> | 2017-11-03 12:37:20 +0100 |
commit | 42d7a388989d57928a31e62999eb623366a485f0 (patch) | |
tree | b8f93d2f35ebbfea9e9dece1d7ebd19b312e8a2e /wizards/source | |
parent | 7bd8f9ed9559a745f3ed59161d282b199edd69a7 (diff) |
Access2Base - Correct error in module parsing
Error occurs when an unclosed string is present in a comment
Diffstat (limited to 'wizards/source')
-rw-r--r-- | wizards/source/access2base/Module.xba | 2 |
1 files changed, 1 insertions, 1 deletions
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" |