private void Error(string nonterm, AlphaTexSymbols expected, bool symbolError = true) { if (symbolError) { throw new AlphaTexException(_curChPos, nonterm, expected, _sy); } throw new AlphaTexException(_curChPos, nonterm, expected, expected, _syData); }