@@ -226,25 +226,25 @@ struct CmdPair {
struct ParsedCommandStruct {
uint np;
CmdPair pairs[32];
const CmdStruct *cmd[32]; // ordered by param #
};
/* Used when generating some advanced commands. */
static ParsedCommandStruct _cur_pcs;
static int _cur_argidx;
/** The buffer for writing a single string. */
struct Buffer : SmallVector<byte, 256> {
struct Buffer : std::vector<byte> {
/**
* Convenience method for adding a byte.
* @param value The value to add.
*/
void AppendByte(byte value)
{
this->push_back(value);
}
* Add an Unicode character encoded in UTF-8 to the buffer.
* @param value The character to add.