File diff r23537:f6a6d4ce4bd5 → r23538:8df50944b27a
src/strgen/strgen_base.cpp
Show inline comments
 
@@ -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.