mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
37 lines
584 B
C++
37 lines
584 B
C++
#ifndef _cpp_cpp_h_
|
|
#define _cpp_cpp_h_
|
|
|
|
#include <Core/Core.h>
|
|
|
|
using namespace Upp;
|
|
|
|
class CT {
|
|
public:
|
|
struct ST : Moveable<ST> {
|
|
int x, y;
|
|
};
|
|
};
|
|
|
|
struct CppMacro : Moveable<CppMacro> {
|
|
String body;
|
|
Index<String> param;
|
|
bool flag;
|
|
|
|
String Expand(const Vector<String>& p);
|
|
|
|
CppMacro() { flag = false; }
|
|
};
|
|
|
|
struct Cpp {
|
|
VectorMap<String, CppMacro> macro;
|
|
|
|
void Define(const char *s);
|
|
|
|
static const char *SkipString(const char *s);
|
|
void ParamAdd(Vector<String>& param, const char *b, const char *e);
|
|
|
|
String Expand(const char *s);
|
|
};
|
|
|
|
|
|
#endif
|