@@ -7523,9 +7523,8 @@ DatatypeIsPointer(parse_context *Ctx, datatype *Data, parser *Scope = 0, c_token
7523
7523
7524
7524
case type_type_def:
7525
7525
{
7526
- InvalidCodePath ();
7527
- /* type_def *TDef = SafeAccessPtr(type_def, Data); */
7528
- /* Result = TypeSpecIsPointer(&TDef->Type); */
7526
+ type_def *TDef = &SafeAccessPtr (type_def, Data);
7527
+ Result = TypeSpecIsPointer (&TDef->Type );
7529
7528
} break ;
7530
7529
7531
7530
case type_declaration:
@@ -8423,7 +8422,6 @@ GoGoGadgetMetaprogramming(parse_context* Ctx, todo_list_info* TodoInfo)
8423
8422
Builder.Chunks .Memory = &Global_PermMemory;
8424
8423
8425
8424
program_datatypes *Datatypes = &Ctx->Datatypes ;
8426
- meta_func_stream *FunctionDefs = &Ctx->MetaFunctions ;
8427
8425
memory_arena *Memory = Ctx->Memory ;
8428
8426
8429
8427
parser *Parser = Ctx->CurrentParser ;
@@ -9006,12 +9004,15 @@ main(s32 ArgCount_, const char** ArgStrings)
9006
9004
9007
9005
if (Stdlib.Plat .Input .Escape .Clicked ) { break ; }
9008
9006
9009
- b32 Toggle2 = False, Toggle = False;
9010
- if (Stdlib.Plat .Input .F1 .Clicked ) { Toggle = True; }
9011
- if (Stdlib.Plat .Input .F2 .Clicked ) { Toggle2 = True; }
9007
+ Info (" Hi" );
9008
+
9009
+ b32 Toggle = False, Toggle2 = False;
9010
+ if (Stdlib.Plat .Input .F1 .Clicked ) { Info (" hi" ); Toggle = True; }
9011
+ if (Stdlib.Plat .Input .F2 .Clicked ) { Info (" hi2" ); Toggle2 = True; }
9012
9012
9013
+ Info (" %d" , Stdlib.Plat .Input .F1 .Clicked );
9013
9014
9014
- DebugState->DisplayDebugMenu = True;
9015
+ /* DebugState->DisplayDebugMenu = True; */
9015
9016
DEBUG_FRAME_BEGIN (&Ui, Dt, Toggle, Toggle2);
9016
9017
9017
9018
PushTableStart (&Ui);
0 commit comments