private void CompileFloatConstant(Parser parser, ByteBuffer buffer, FloatConstant floatConstant, bool outputUsed) { if (!outputUsed) throw new ParserException(floatConstant.FirstToken, "This expression doesn't do anything."); buffer.Add(floatConstant.FirstToken, OpCode.LITERAL, parser.GetFloatConstant(floatConstant.Value)); }