mirror of https://github.com/x64dbg/btparser
added various keywords
This commit is contained in:
parent
4b4cda91cb
commit
b33fad74de
|
@ -55,7 +55,7 @@ namespace AST
|
|||
{
|
||||
};
|
||||
|
||||
class BuiltinVar : public Decl //built-in variable declaration (int x)
|
||||
class BuiltinVar : public Decl //built-in variable declaration (int x;)
|
||||
{
|
||||
Type mType;
|
||||
string mName;
|
||||
|
|
|
@ -22,7 +22,9 @@ DEF_KEYWORD(struct)
|
|||
DEF_KEYWORD(typedef)
|
||||
DEF_KEYWORD(sizeof)
|
||||
DEF_KEYWORD(void)
|
||||
DEF_KEYWORD(union)
|
||||
|
||||
DEF_KEYWORD(signed)
|
||||
DEF_KEYWORD(unsigned)
|
||||
DEF_KEYWORD(local)
|
||||
|
||||
|
@ -33,6 +35,8 @@ DEF_KEYWORD(false)
|
|||
DEF_KEYWORD(char)
|
||||
DEF_KEYWORD(uchar)
|
||||
DEF_KEYWORD(wchar_t)
|
||||
DEF_KEYWORD(char16_t)
|
||||
DEF_KEYWORD(char32_t)
|
||||
|
||||
DEF_KEYWORD(byte)
|
||||
DEF_KEYWORD(ubyte)
|
||||
|
@ -59,6 +63,7 @@ DEF_KEYWORD(WORD)
|
|||
DEF_KEYWORD(DWORD)
|
||||
DEF_KEYWORD(QWORD)
|
||||
|
||||
DEF_KEYWORD(float)
|
||||
DEF_KEYWORD(double)
|
||||
DEF_KEYWORD(string)
|
||||
DEF_KEYWORD(time_t)
|
||||
|
@ -73,3 +78,6 @@ DEF_KEYWORD(LONGLONG)
|
|||
DEF_KEYWORD(ULONG_PTR)
|
||||
DEF_KEYWORD(VQUAD)
|
||||
DEF_KEYWORD(UINT32)
|
||||
|
||||
DEF_KEYWORD(nullptr)
|
||||
DEF_KEYWORD(NULL)
|
|
@ -58,5 +58,3 @@ DEF_OP_SINGLE(op_or, '|')
|
|||
DEF_OP_SINGLE(lop_le, '<')
|
||||
DEF_OP_SINGLE(lop_gr, '>')
|
||||
DEF_OP_SINGLE(lop_not, '!')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue