- 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:
Randy Heit 2007-01-31 00:30:42 +00:00
commit 095b11bc36
13 changed files with 2848 additions and 3282 deletions

View file

@ -34,8 +34,6 @@
#ifndef NAME_H
#define NAME_H
#include "doomtype.h"
enum ENamedName
{
#define xx(n) NAME_##n,

View file

@ -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;