Skip to content

Commit f0a0529

Browse files
committed
v3.2.7
1 parent b8ce67c commit f0a0529

File tree

5 files changed

+9
-25
lines changed

5 files changed

+9
-25
lines changed

src/LO Basic/VBAExpressionsLib/TestVBAExpr.xba renamed to src/LO Basic/VBAExpressionsLib/TestRunner.xba

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
3-
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="TestVBAExpr" script:language="StarBasic">Option Explicit
3+
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="TestRunner" script:language="StarBasic">Option Explicit
44
Private Evaluator As Object
55
Private actual As String
66
Private sAcum As Long
@@ -459,20 +459,4 @@ TestFail:
459459
SF_Exception.debugprint(&quot;Test &quot; &amp; testName &amp; &quot; raised an error: #&quot; &amp; err.Number &amp; &quot; - &quot; &amp; err.Description)
460460
Resume TestExit
461461
End Sub
462-
sub testOver
463-
&apos;msgbox (&quot;a{2}&quot; Like &quot;[A-Zaz]*{*}&quot;)
464-
SF_Exception.consoleClear()
465-
&apos; Run( _
466-
&apos; &quot;IRR_ function test&quot;, _
467-
&apos; &quot;FORMAT(IRR({{-70000;12000;15000}};true);&apos;Percent&apos;)&quot;, _
468-
&apos; &quot;&apos;-44.35%&apos;&quot; _
469-
&apos; )
470-
Run( _
471-
&quot;Variables overloading&quot;, _
472-
&quot;SUM(C[0;0];C[1;1])&quot;, _
473-
&quot;14&quot;, _
474-
&quot;C = {{-1;13};{6;15}}&quot; _
475-
)
476-
SF_Exception.console()
477-
end sub
478462
</script:module>

src/LO Basic/VBAExpressionsLib/VBAexpressions.xba

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2219,7 +2219,8 @@ Public Function Create(ByRef aExpression As Variant, Optional resetScope As Bool
22192219
Else
22202220
ParseVariables(ExprToEval)
22212221
End If
2222-
ExprToEval = SBracketsNotationToNominal(ReplaceImpliedMult(ExprToEval))
2222+
ExprToEval = ReconstructLiteralStrings(P_EXPRESSION, _
2223+
SBracketsNotationToNominal(ReplaceImpliedMult(ExprToEval)))
22232224
Parse(ExprToEval)
22242225
End If
22252226
AssignedExpression = True

src/LO Basic/VBAExpressionsLib/script.xlb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<library:library xmlns:library="http://openoffice.org/2000/library" library:name="VBAExpressionsLib" library:readonly="false" library:passwordprotected="false">
44
<library:element library:name="VBAexpressionsScope"/>
55
<library:element library:name="VBAstrHelper"/>
6-
<library:element library:name="TestVBAExpr"/>
6+
<library:element library:name="UDFunctions"/>
77
<library:element library:name="VBAexpressions"/>
88
<library:element library:name="VBAcallBack"/>
9-
<library:element library:name="UDFunctions"/>
9+
<library:element library:name="TestRunner"/>
1010
</library:library>

src/LO Basic/release-notes_en.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Reaffirmation!
1+
# A note on!
22
## Bug Fix
3-
- [x] Resolved several collisions when analysing expressions with implicit functions and multiplications.
4-
## Changes
5-
- [x] Added update functionality for the LO extension.
3+
- [x] Resolved error when parsing literal strings with reserved grammar tokens.

src/VBAexpressions.cls

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2241,7 +2241,8 @@ Public Function Create(ByRef aExpression As Variant, Optional resetScope As Bool
22412241
Else
22422242
ParseVariables ExprToEval
22432243
End If
2244-
ExprToEval = SBracketsNotationToNominal(ReplaceImpliedMult(ExprToEval))
2244+
ExprToEval = ReconstructLiteralStrings(P_EXPRESSION, _
2245+
SBracketsNotationToNominal(ReplaceImpliedMult(ExprToEval)))
22452246
Parse ExprToEval
22462247
End If
22472248
AssignedExpression = True

0 commit comments

Comments
 (0)