ZoneCodeGenerator: Remove align statement. Alignments will be defined via types created by a typedef that have a __declspec(align(X)) part

This commit is contained in:
Jan
2019-10-31 15:41:35 +01:00
parent d1e097bbdf
commit 3d30915308
4 changed files with 0 additions and 89 deletions

View File

@ -11,7 +11,6 @@ namespace ZoneCodeGenerator.Parsing.CommandFile.Impl
class CommandParserState : ICommandParserState
{
private static readonly ITokenTest<ICommandParserState>[] tests = {
new TestAlign(),
new TestAsset(),
new TestBlock(),
new TestCondition(),

View File

@ -1,35 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZoneCodeGenerator.Parsing.Matching;
using ZoneCodeGenerator.Parsing.Matching.Matchers;
using ZoneCodeGenerator.Parsing.Testing;
namespace ZoneCodeGenerator.Parsing.CommandFile.Tests
{
class TestAlign : AbstractTokenTest<ICommandParserState>
{
private const string MemberTypeNameToken = "name";
private const string AlignValueToken = "align";
private static readonly TokenMatcher[] matchers = {
new MatcherLiteral("set"),
new MatcherLiteral("align"),
new MatcherTypename().WithName(MemberTypeNameToken),
new MatcherNumber().WithName(AlignValueToken),
new MatcherLiteral(";")
};
public TestAlign() : base(matchers)
{
}
protected override void ProcessMatch(ICommandParserState state)
{
}
}
}