Skip to content

Commit 9fb5d99

Browse files
Upgrade ANTLR to 4.13.1
1 parent 1ae631f commit 9fb5d99

10 files changed

+1508
-2076
lines changed

Sources/AngouriMath/AngouriMath/AngouriMath.csproj

+4
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,8 @@
1515
<ItemGroup>
1616
<Compile Remove="Core/Entity/GenericMath/**" Condition="'$(TargetFramework)' != 'net7.0'" />
1717
</ItemGroup>
18+
19+
<ItemGroup>
20+
<PackageReference Update="Antlr4.Runtime.Standard" Version="4.13.1" />
21+
</ItemGroup>
1822
</Project>

Sources/AngouriMath/AngouriMath/Core/Antlr/AngouriMath.interp

+1-1
Large diffs are not rendered by default.

Sources/AngouriMath/AngouriMath/Core/Antlr/AngouriMathBaseListener.cs

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
//------------------------------------------------------------------------------
22
// <auto-generated>
33
// This code was generated by a tool.
4-
// ANTLR Version: 4.8
4+
// ANTLR Version: 4.13.1
55
//
66
// Changes to this file may cause incorrect behavior and will be lost if
77
// the code is regenerated.
88
// </auto-generated>
99
//------------------------------------------------------------------------------
1010

11-
// Generated from ./AngouriMath.g by ANTLR 4.8
11+
// Generated from ./AngouriMath.g by ANTLR 4.13.1
1212

1313
// Unreachable code detected
1414
#pragma warning disable 0162
@@ -21,15 +21,6 @@
2121

2222
namespace AngouriMath.Core.Antlr {
2323

24-
using System.Linq;
25-
using AngouriMath;
26-
using static AngouriMath.Core.Exceptions.FunctionArgumentCountException;
27-
using static AngouriMath.Entity.Number;
28-
using AngouriMath.Core.Exceptions;
29-
using static AngouriMath.Entity.Set;
30-
using static AngouriMath.Entity;
31-
32-
3324
using Antlr4.Runtime.Misc;
3425
using IErrorNode = Antlr4.Runtime.Tree.IErrorNode;
3526
using ITerminalNode = Antlr4.Runtime.Tree.ITerminalNode;
@@ -41,7 +32,8 @@ namespace AngouriMath.Core.Antlr {
4132
/// which can be extended to create a listener which only needs to handle a subset
4233
/// of the available methods.
4334
/// </summary>
44-
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.8")]
35+
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.13.1")]
36+
[System.Diagnostics.DebuggerNonUserCode]
4537
[System.CLSCompliant(false)]
4638
internal partial class AngouriMathBaseListener : IAngouriMathListener {
4739
/// <summary>

Sources/AngouriMath/AngouriMath/Core/Antlr/AngouriMathLexer.cs

+366-901
Large diffs are not rendered by default.

Sources/AngouriMath/AngouriMath/Core/Antlr/AngouriMathLexer.interp

+1-1
Large diffs are not rendered by default.

Sources/AngouriMath/AngouriMath/Core/Antlr/AngouriMathListener.cs

+3-12
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
//------------------------------------------------------------------------------
22
// <auto-generated>
33
// This code was generated by a tool.
4-
// ANTLR Version: 4.8
4+
// ANTLR Version: 4.13.1
55
//
66
// Changes to this file may cause incorrect behavior and will be lost if
77
// the code is regenerated.
88
// </auto-generated>
99
//------------------------------------------------------------------------------
1010

11-
// Generated from ./AngouriMath.g by ANTLR 4.8
11+
// Generated from ./AngouriMath.g by ANTLR 4.13.1
1212

1313
// Unreachable code detected
1414
#pragma warning disable 0162
@@ -20,15 +20,6 @@
2020
#pragma warning disable 419
2121

2222
namespace AngouriMath.Core.Antlr {
23-
24-
using System.Linq;
25-
using AngouriMath;
26-
using static AngouriMath.Core.Exceptions.FunctionArgumentCountException;
27-
using static AngouriMath.Entity.Number;
28-
using AngouriMath.Core.Exceptions;
29-
using static AngouriMath.Entity.Set;
30-
using static AngouriMath.Entity;
31-
3223
using Antlr4.Runtime.Misc;
3324
using IParseTreeListener = Antlr4.Runtime.Tree.IParseTreeListener;
3425
using IToken = Antlr4.Runtime.IToken;
@@ -37,7 +28,7 @@ namespace AngouriMath.Core.Antlr {
3728
/// This interface defines a complete listener for a parse tree produced by
3829
/// <see cref="AngouriMathParser"/>.
3930
/// </summary>
40-
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.8")]
31+
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.13.1")]
4132
[System.CLSCompliant(false)]
4233
internal interface IAngouriMathListener : IParseTreeListener {
4334
/// <summary>

0 commit comments

Comments
 (0)