protected override void EnterChannelsSpec(GrammarAST tree)
{
if (g.IsParser())
{
g.tool.errMgr.GrammarError(ErrorType.CHANNELS_BLOCK_IN_PARSER_GRAMMAR, g.fileName, tree.Token);
}
else if (g.IsCombined())
{
g.tool.errMgr.GrammarError(ErrorType.CHANNELS_BLOCK_IN_COMBINED_GRAMMAR, g.fileName, tree.Token);
}
}