Branch: Tag:

2006-02-21

2006-02-21 06:31:59 by Martin Stjernholm <mast@lysator.liu.se>

Somewhat limit the number of different bytecode decode failure
messages that callers might need to be recognize.

Rev: src/encode.c:1.237

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: encode.c,v 1.236 2005/11/21 10:38:22 grubba Exp $ + || $Id: encode.c,v 1.237 2006/02/21 06:31:59 mast Exp $   */      #include "global.h"
2952:    INT32 bytecode_method = 0;    decode_number(bytecode_method, data);    if (bytecode_method != PIKE_BYTECODE_METHOD) { -  Pike_error("Unsupported bytecode method: %d. Expected %d\n", +  Pike_error("Unsupported byte-code method: %d. Expected %d\n",    bytecode_method, PIKE_BYTECODE_METHOD);    }    }