- Added an operator += for FString that takes an FName as input, since GCC
is unable to synthesize one. - Converted xlatcc to use lemon during its build process. Now you don't need bison to rebuild everything anymore. SVN r470 (trunk)
This commit is contained in:
parent
e8495e90f5
commit
095b11bc36
13 changed files with 2848 additions and 3282 deletions
|
|
@ -34,8 +34,6 @@
|
|||
#ifndef NAME_H
|
||||
#define NAME_H
|
||||
|
||||
#include "doomtype.h"
|
||||
|
||||
enum ENamedName
|
||||
{
|
||||
#define xx(n) NAME_##n,
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
#include <string.h>
|
||||
#include <stddef.h>
|
||||
#include "tarray.h"
|
||||
#include "name.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define PRINTFISH(x) __attribute__((format(printf, 2, x)))
|
||||
|
|
@ -117,6 +118,7 @@ public:
|
|||
FString &operator += (const FString &tail);
|
||||
FString &operator += (const char *tail);
|
||||
FString &operator += (char tail);
|
||||
FString &operator += (const FName &name) { return *this += name.GetChars(); }
|
||||
FString &AppendCStrPart (const char *tail, size_t tailLen);
|
||||
|
||||
FString Left (size_t numChars) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue