Skip to content

Commit dcf5fa9

Browse files
authored
Merge pull request #41 from codingseb/dev
Version 1.4.4.0
2 parents 0747723 + ad81515 commit dcf5fa9

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

CodingSeb.ExpressionEvaluator/CodingSeb.ExpressionEvaluator.csproj

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<Product>CodingSeb.ExpressionEvaluator</Product>
66
<Description>A Simple Math and Pseudo C# Expression Evaluator in One C# File. Can also execute small C# like scripts</Description>
77
<Copyright>Copyright © Coding Seb 2017</Copyright>
8-
<Version>1.4.3.0</Version>
9-
<AssemblyVersion>1.4.3.0</AssemblyVersion>
10-
<FileVersion>1.4.3.0</FileVersion>
8+
<Version>1.4.4.0</Version>
9+
<AssemblyVersion>1.4.4.0</AssemblyVersion>
10+
<FileVersion>1.4.4.0</FileVersion>
1111
<OutputPath>bin\$(Configuration)\</OutputPath>
1212
<Authors>Coding Seb</Authors>
1313
<PackageId>CodingSeb.ExpressionEvaluator</PackageId>
@@ -18,9 +18,7 @@
1818
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1919
<PackageIconUrl>https://github.com/codingseb/ExpressionEvaluator/blob/master/Icon.png?raw=true</PackageIconUrl>
2020
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
21-
<PackageReleaseNotes>Improvement
22-
* Possibility to declare typed variables (Better C# like)
23-
* New Option to allow last expression of a script without semicolon</PackageReleaseNotes>
21+
<PackageReleaseNotes>* Small correction in the text of some exception</PackageReleaseNotes>
2422
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
2523
</PropertyGroup>
2624
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

CodingSeb.ExpressionEvaluator/ExpressionEvaluator.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/******************************************************************************************************
22
Title : ExpressionEvaluator (https://github.com/codingseb/ExpressionEvaluator)
3-
Version : 1.4.3.0
3+
Version : 1.4.4.0
44
(if last digit (the forth) is not a zero, the version is an intermediate version and can be unstable)
55
66
Author : Coding Seb
@@ -2124,9 +2124,9 @@ protected virtual bool EvaluateVarOrFunc(string expression, Stack<object> stack,
21242124
if (Variables.ContainsKey(varFuncName))
21252125
throw new ExpressionEvaluatorSyntaxErrorException($"Can not declare a new variable named [{varFuncName}]. A variable with this name already exists");
21262126
else if (varFuncMatch.Groups["varKeyword"].Success)
2127-
throw new ExpressionEvaluatorSyntaxErrorException("Can not declare a variable wih type and var keyword.");
2127+
throw new ExpressionEvaluatorSyntaxErrorException("Can not declare a variable with type and var keyword.");
21282128
else if (varFuncMatch.Groups["dynamicKeyword"].Success)
2129-
throw new ExpressionEvaluatorSyntaxErrorException("Can not declare a variable wih type and dynamic keyword.");
2129+
throw new ExpressionEvaluatorSyntaxErrorException("Can not declare a variable with type and dynamic keyword.");
21302130

21312131
stack.Pop();
21322132

0 commit comments

Comments
 (0)