diff --git a/src/ZoneCodeGenerator/Parsing/C_Header/Tests/TestVariable.cs b/src/ZoneCodeGenerator/Parsing/C_Header/Tests/TestVariable.cs index bbc0e5f8..20be331f 100644 --- a/src/ZoneCodeGenerator/Parsing/C_Header/Tests/TestVariable.cs +++ b/src/ZoneCodeGenerator/Parsing/C_Header/Tests/TestVariable.cs @@ -20,7 +20,7 @@ namespace ZoneCodeGenerator.Parsing.C_Header.Tests private const string TokenConst = "constToken"; private static readonly TokenMatcher[] arrayOfPointersMatchers = { - new MatcherGroupOptional(new MatcherLiteral("const").WithTag(TokenConst)), + new MatcherGroupOptional(new MatcherLiteral("const").WithName(TokenConst)), new MatcherTypename().WithName(TypeNameToken), new MatcherGroupLoop(MatcherGroupLoop.LoopMode.ZeroOneMultiple, new MatcherLiteral("*").WithName(PointerTokens)), new MatcherName().WithName(NameToken), @@ -33,7 +33,7 @@ namespace ZoneCodeGenerator.Parsing.C_Header.Tests }; private static readonly TokenMatcher[] pointerToArrayMatchers = { - new MatcherGroupOptional(new MatcherLiteral("const").WithTag(TokenConst)), + new MatcherGroupOptional(new MatcherLiteral("const").WithName(TokenConst)), new MatcherTypename().WithName(TypeNameToken), new MatcherLiteral("("), new MatcherGroupLoop(MatcherGroupLoop.LoopMode.OneMultiple, new MatcherLiteral("*").WithName(PointerTokens)),