Skip to content

Commit

Permalink
Fix #292
Browse files Browse the repository at this point in the history
  • Loading branch information
nilproject committed Aug 26, 2023
1 parent 6221057 commit fee05fd
Show file tree
Hide file tree
Showing 11 changed files with 35,873 additions and 325 deletions.
2 changes: 2 additions & 0 deletions NiL.JS/Expressions/ExpressionTree.cs
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,8 @@ internal static Expression Parse(ParseInfo state, ref int index, bool forUnary =
{
int i = index;

Tools.SkipSpaces(state.Code, ref i);

var result = parseOperand(state, ref i, forNew, forForLoop);
if (result == null)
return null;
Expand Down
12 changes: 6 additions & 6 deletions NiL.JS/NiL.JS.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Description>ECMAScript 6 (ES2015) engine</Description>
<AssemblyTitle>NiL.JS</AssemblyTitle>
<AssemblyTitle>NiL.JS</AssemblyTitle>
<Authors>NiLProject</Authors>
<PackageReleaseNotes>@(ReleaseNoteLines, '%0a')</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>
<TargetFrameworks Condition="'$(TargetFrameworks)' == ''">netcoreapp3.1;net461;net48;net5.0;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks Condition="'$(TargetFrameworks)' == ''">netcoreapp3.1;net48;net5.0;net6.0;net7.0</TargetFrameworks>
<DefineConstants>TRACE;INLINE</DefineConstants>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>portable</DebugType>
<LangVersion>latest</LangVersion>
<LangVersion>latest</LangVersion>
<AssemblyName>NiL.JS</AssemblyName>
<AssemblyOriginatorKeyFile>keys.snk</AssemblyOriginatorKeyFile>
<SignAssembly Condition="Exists('$(AssemblyOriginatorKeyFile)')">true</SignAssembly>
Expand All @@ -37,11 +37,11 @@
<Output TaskParameter="Lines" ItemName="ReleaseNoteLines"/>
</ReadLinesFromFile>
</Target>

<PropertyGroup Condition="'$(VersionPrefix)' == ''">
<VersionPrefix>2.5</VersionPrefix>
</PropertyGroup>

<ItemGroup>
<None Include="../README.md" Pack="true" PackagePath="" />
<None Include="../Release.md" Pack="true" PackagePath="" />
Expand Down
4 changes: 2 additions & 2 deletions NiL.JS/Properties/InternalInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
internal static class InternalInfo
{
internal const string Version = "2.5.1482";
internal const string Year = "2021";
internal const string Version = "2.5.1665";
internal const string Year = "2023";
}
Loading

0 comments on commit fee05fd

Please sign in to comment.