mirror of
https://github.com/Ed94/gencpp.git
synced 2024-11-10 02:54:53 -08:00
Added bool type keyword to ETokType, move volatile pos in ESpecifier
volatile can be applied to a function so I moved it there.
This commit is contained in:
parent
3319bfcaa9
commit
6ad0ae97bc
@ -28,7 +28,6 @@ namespace ESpecifier
|
|||||||
RValue,
|
RValue,
|
||||||
Static,
|
Static,
|
||||||
Thread_Local,
|
Thread_Local,
|
||||||
Volatile,
|
|
||||||
Virtual,
|
Virtual,
|
||||||
Const,
|
Const,
|
||||||
Final,
|
Final,
|
||||||
|
@ -96,6 +96,7 @@ namespace parser
|
|||||||
Type_Signed,
|
Type_Signed,
|
||||||
Type_Short,
|
Type_Short,
|
||||||
Type_Long,
|
Type_Long,
|
||||||
|
Type_bool,
|
||||||
Type_char,
|
Type_char,
|
||||||
Type_int,
|
Type_int,
|
||||||
Type_double,
|
Type_double,
|
||||||
@ -197,6 +198,7 @@ namespace parser
|
|||||||
{ sizeof( "signed" ), "signed" },
|
{ sizeof( "signed" ), "signed" },
|
||||||
{ sizeof( "short" ), "short" },
|
{ sizeof( "short" ), "short" },
|
||||||
{ sizeof( "long" ), "long" },
|
{ sizeof( "long" ), "long" },
|
||||||
|
{ sizeof( "bool" ), "bool" },
|
||||||
{ sizeof( "char" ), "char" },
|
{ sizeof( "char" ), "char" },
|
||||||
{ sizeof( "int" ), "int" },
|
{ sizeof( "int" ), "int" },
|
||||||
{ sizeof( "double" ), "double" },
|
{ sizeof( "double" ), "double" },
|
||||||
|
@ -17,10 +17,10 @@ Register, register
|
|||||||
RValue, &&
|
RValue, &&
|
||||||
Static, static
|
Static, static
|
||||||
Thread_Local, thread_local
|
Thread_Local, thread_local
|
||||||
Volatile, volatile
|
|
||||||
Virtual, virtual
|
Virtual, virtual
|
||||||
Const, const
|
Const, const
|
||||||
Final, final
|
Final, final
|
||||||
NoExceptions, noexcept
|
NoExceptions, noexcept
|
||||||
Override, override
|
Override, override
|
||||||
Pure, = 0
|
Pure, = 0
|
||||||
|
Volatile, volatile
|
||||||
|
|
@ -77,10 +77,12 @@ Star, "*"
|
|||||||
Statement_End, ";"
|
Statement_End, ";"
|
||||||
StaticAssert, "static_assert"
|
StaticAssert, "static_assert"
|
||||||
String, "__string__"
|
String, "__string__"
|
||||||
|
Type_Typename, "typename"
|
||||||
Type_Unsigned, "unsigned"
|
Type_Unsigned, "unsigned"
|
||||||
Type_Signed, "signed"
|
Type_Signed, "signed"
|
||||||
Type_Short, "short"
|
Type_Short, "short"
|
||||||
Type_Long, "long"
|
Type_Long, "long"
|
||||||
|
Type_bool, "bool"
|
||||||
Type_char, "char"
|
Type_char, "char"
|
||||||
Type_int, "int"
|
Type_int, "int"
|
||||||
Type_double, "double"
|
Type_double, "double"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user