mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 07:18:11 -05:00
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:
@ -195,7 +195,6 @@ set count verts0 vertCount;
|
||||
set count vb0 0;
|
||||
set count vertList vertListCount;
|
||||
set count triIndices triCount;
|
||||
set align triIndices 16;
|
||||
set count indexBuffer 0;
|
||||
reorder:
|
||||
vertInfo
|
||||
|
@ -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(),
|
||||
|
@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user