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:
2023-11-21 20:04:57 -05:00
parent 3319bfcaa9
commit 6ad0ae97bc
4 changed files with 5 additions and 2 deletions

View File

@ -28,7 +28,6 @@ namespace ESpecifier
RValue,
Static,
Thread_Local,
Volatile,
Virtual,
Const,
Final,

View File

@ -96,6 +96,7 @@ namespace parser
Type_Signed,
Type_Short,
Type_Long,
Type_bool,
Type_char,
Type_int,
Type_double,
@ -197,6 +198,7 @@ namespace parser
{ sizeof( "signed" ), "signed" },
{ sizeof( "short" ), "short" },
{ sizeof( "long" ), "long" },
{ sizeof( "bool" ), "bool" },
{ sizeof( "char" ), "char" },
{ sizeof( "int" ), "int" },
{ sizeof( "double" ), "double" },