Skip to content

Commit

Permalink
(#72) Dependencies: update Yoakke libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Feb 14, 2022
1 parent 3c73833 commit 61bf625
Show file tree
Hide file tree
Showing 27 changed files with 48 additions and 46 deletions.
4 changes: 2 additions & 2 deletions Cesium.Ast/Cesium.Ast.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Yoakke.C.Syntax" Version="2021.12.23-2.33.11-nightly" />
<PackageReference Include="Yoakke.Lexer" Version="2021.12.23-2.33.11-nightly" />
<PackageReference Include="Yoakke.SynKit.C.Syntax" Version="2022.2.14-2.21.20-nightly" />
<PackageReference Include="Yoakke.SynKit.Lexer" Version="2022.2.14-2.21.20-nightly" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions Cesium.Ast/Expressions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections.Immutable;
using Yoakke.C.Syntax;
using Yoakke.Lexer;
using Yoakke.SynKit.C.Syntax;
using Yoakke.SynKit.Lexer;

namespace Cesium.Ast;

Expand Down
2 changes: 1 addition & 1 deletion Cesium.CodeGen.Tests/CodeGenTestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
using Cesium.Test.Framework;
using Mono.Cecil;
using Mono.Cecil.Cil;
using Yoakke.C.Syntax;
using Yoakke.Streams;
using Yoakke.SynKit.C.Syntax;

namespace Cesium.CodeGen.Tests;

Expand Down
2 changes: 1 addition & 1 deletion Cesium.CodeGen/Extensions/ExpressionEx.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Cesium.CodeGen.Ir.Expressions;
using Yoakke.C.Syntax;
using Yoakke.SynKit.C.Syntax;

namespace Cesium.CodeGen.Extensions;

Expand Down
4 changes: 3 additions & 1 deletion Cesium.CodeGen/Ir/Expressions/ConstantExpression.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Cesium.CodeGen.Contexts;
using Cesium.CodeGen.Ir.Expressions.Constants;
using Yoakke.C.Syntax;
using Yoakke.SynKit.C.Syntax;

namespace Cesium.CodeGen.Ir.Expressions;

Expand All @@ -25,6 +25,8 @@ public ConstantExpression(Ast.ConstantExpression expression)

private static IConstant GetConstant(Ast.ConstantExpression expression)
{
Span<char> x = new char[100];
var a = x.ToArray();
var constant = expression.Constant;
return constant.Kind switch
{
Expand Down
4 changes: 2 additions & 2 deletions Cesium.CodeGen/Ir/Expressions/Constants/StringConstant.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Cesium.CodeGen.Contexts;
using Cesium.Parser;
using Mono.Cecil.Cil;
using Yoakke.C.Syntax;
using Yoakke.Lexer;
using Yoakke.SynKit.C.Syntax;
using Yoakke.SynKit.Lexer;

namespace Cesium.CodeGen.Ir.Expressions.Constants;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Cesium.CodeGen.Contexts;
using Cesium.CodeGen.Ir.Expressions.LValues;
using Yoakke.C.Syntax;
using Yoakke.SynKit.C.Syntax;

namespace Cesium.CodeGen.Ir.Expressions;

Expand Down
2 changes: 1 addition & 1 deletion Cesium.Compiler/Cesium.Compiler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.8.0" />
<PackageReference Include="Yoakke.C.Syntax" Version="2021.12.23-2.33.11-nightly" />
<PackageReference Include="Yoakke.SynKit.C.Syntax" Version="2022.2.14-2.21.20-nightly" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Cesium.Compiler/Compilation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
using Cesium.Parser;
using Cesium.Preprocessor;
using Mono.Cecil;
using Yoakke.C.Syntax;
using Yoakke.Streams;
using Yoakke.SynKit.C.Syntax;

namespace Cesium.Compiler;

Expand Down
2 changes: 1 addition & 1 deletion Cesium.Parser.Tests/LexerTests/IdentifierTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Cesium.Test.Framework;
using Yoakke.C.Syntax;
using Yoakke.SynKit.C.Syntax;

namespace Cesium.Parser.Tests.LexerTests;

Expand Down
2 changes: 1 addition & 1 deletion Cesium.Parser.Tests/LexerTests/PreprocessorLexerTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Cesium.Preprocessor;
using Cesium.Test.Framework;
using Yoakke.Lexer;
using Yoakke.SynKit.Lexer;

namespace Cesium.Parser.Tests.LexerTests;

Expand Down
2 changes: 1 addition & 1 deletion Cesium.Parser.Tests/ParserTests/DeclarationParserTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Cesium.Test.Framework;
using Yoakke.C.Syntax;
using Yoakke.SynKit.C.Syntax;

namespace Cesium.Parser.Tests.ParserTests;

Expand Down
2 changes: 1 addition & 1 deletion Cesium.Parser.Tests/ParserTests/FullParserTests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Cesium.Test.Framework;
using Xunit.Sdk;
using Yoakke.C.Syntax;
using Yoakke.Streams;
using Yoakke.SynKit.C.Syntax;

namespace Cesium.Parser.Tests.ParserTests;

Expand Down
2 changes: 1 addition & 1 deletion Cesium.Parser.Tests/ParserTests/StatementParserTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Cesium.Test.Framework;
using Yoakke.C.Syntax;
using Yoakke.SynKit.C.Syntax;

namespace Cesium.Parser.Tests.ParserTests;

Expand Down
6 changes: 3 additions & 3 deletions Cesium.Parser/CParser.CliExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Collections.Immutable;
using Cesium.Ast;
using Yoakke.C.Syntax;
using Yoakke.Lexer;
using Yoakke.Parser.Attributes;
using Yoakke.SynKit.C.Syntax;
using Yoakke.SynKit.Lexer;
using Yoakke.SynKit.Parser.Attributes;

namespace Cesium.Parser;

Expand Down
6 changes: 3 additions & 3 deletions Cesium.Parser/CParser.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System.Collections.Immutable;
using System.Diagnostics.CodeAnalysis;
using Cesium.Ast;
using Yoakke.C.Syntax;
using Yoakke.Lexer;
using Yoakke.Parser.Attributes;
using Yoakke.SynKit.C.Syntax;
using Yoakke.SynKit.Lexer;
using Yoakke.SynKit.Parser.Attributes;

namespace Cesium.Parser;

Expand Down
6 changes: 3 additions & 3 deletions Cesium.Parser/Cesium.Parser.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Yoakke.C.Syntax" Version="2021.12.23-2.33.11-nightly" />
<PackageReference Include="Yoakke.Parser" Version="2021.12.23-2.33.11-nightly" />
<PackageReference Include="Yoakke.Parser.Generator" Version="2021.12.23-2.33.11-nightly" />
<PackageReference Include="Yoakke.SynKit.C.Syntax" Version="2022.2.14-2.21.20-nightly" />
<PackageReference Include="Yoakke.SynKit.Parser" Version="2022.2.14-2.21.20-nightly" />
<PackageReference Include="Yoakke.SynKit.Parser.Generator" Version="2022.2.14-2.21.20-nightly" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Cesium.Parser/TokenExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Yoakke.C.Syntax;
using Yoakke.Lexer;
using Yoakke.SynKit.C.Syntax;
using Yoakke.SynKit.Lexer;

namespace Cesium.Parser;

Expand Down
4 changes: 2 additions & 2 deletions Cesium.Preprocessor/CPreprocessor.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System.Globalization;
using System.Text;
using Yoakke.Lexer;
using Yoakke.Streams;
using Yoakke.SynKit.Lexer;
using static Cesium.Preprocessor.CPreprocessorTokenType;
using Range = Yoakke.Text.Range;
using Range = Yoakke.SynKit.Text.Range;

namespace Cesium.Preprocessor;

Expand Down
2 changes: 1 addition & 1 deletion Cesium.Preprocessor/CPreprocessorLexer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Yoakke.Lexer.Attributes;
using Yoakke.SynKit.Lexer.Attributes;

namespace Cesium.Preprocessor;

Expand Down
4 changes: 2 additions & 2 deletions Cesium.Preprocessor/CPreprocessorTokenType.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Yoakke.Lexer;
using Yoakke.Lexer.Attributes;
using Yoakke.SynKit.Lexer;
using Yoakke.SynKit.Lexer.Attributes;

namespace Cesium.Preprocessor;

Expand Down
4 changes: 2 additions & 2 deletions Cesium.Preprocessor/Cesium.Preprocessor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Yoakke.Lexer" Version="2021.12.23-2.33.11-nightly" />
<PackageReference Include="Yoakke.Lexer.Generator" Version="2021.12.23-2.33.11-nightly" />
<PackageReference Include="Yoakke.SynKit.Lexer" Version="2022.2.14-2.21.20-nightly" />
<PackageReference Include="Yoakke.SynKit.Lexer.Generator" Version="2022.2.14-2.21.20-nightly" />
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions Cesium.Test.Framework/Cesium.Test.Framework.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

<ItemGroup>
<PackageReference Include="Verify.Xunit" Version="14.11.2" />
<PackageReference Include="Yoakke.C.Syntax" Version="2021.12.23-2.33.11-nightly" />
<PackageReference Include="Yoakke.Lexer" Version="2021.12.23-2.33.11-nightly" />
<PackageReference Include="Yoakke.Parser" Version="2021.12.23-2.33.11-nightly" />
<PackageReference Include="Yoakke.SynKit.C.Syntax" Version="2022.2.14-2.21.20-nightly" />
<PackageReference Include="Yoakke.SynKit.Lexer" Version="2022.2.14-2.21.20-nightly" />
<PackageReference Include="Yoakke.SynKit.Parser" Version="2022.2.14-2.21.20-nightly" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Cesium.Test.Framework/LexerTestBase.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Yoakke.C.Syntax;
using Yoakke.Lexer;
using Yoakke.SynKit.C.Syntax;
using Yoakke.SynKit.Lexer;

namespace Cesium.Test.Framework;

Expand Down
8 changes: 4 additions & 4 deletions Cesium.Test.Framework/ParserResultExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Text;
using Yoakke.C.Syntax;
using Yoakke.Lexer;
using Yoakke.Parser;
using Yoakke.SynKit.C.Syntax;
using Yoakke.SynKit.Lexer;
using Yoakke.SynKit.Parser;

namespace Cesium.Test.Framework;

Expand All @@ -28,4 +28,4 @@ public static class ParserResultExtensions

return errorMessage.ToString();
}
}
}
2 changes: 1 addition & 1 deletion Cesium.Test.Framework/ParserTestBase.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Yoakke.C.Syntax;
using Yoakke.SynKit.C.Syntax;

namespace Cesium.Test.Framework;

Expand Down
2 changes: 1 addition & 1 deletion Cesium.Test.Framework/TokenConverter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Newtonsoft.Json;
using Yoakke.Lexer;
using Yoakke.SynKit.Lexer;

namespace Cesium.Test.Framework;

Expand Down

0 comments on commit 61bf625

Please sign in to comment.