private void CompileBooleanConstant(Parser parser, ByteBuffer buffer, BooleanConstant boolConstant, bool outputUsed) { if (!outputUsed) throw new ParserException(boolConstant.FirstToken, "This expression does nothing."); buffer.Add(boolConstant.FirstToken, OpCode.LITERAL, parser.GetBoolConstant(boolConstant.Value)); }