Skip to content

Commit

Permalink
pdl_dump_flags_fixspace only dump flags not "State:"
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Jan 23, 2024
1 parent 3160a40 commit 4ad883b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Basic/Core/pdlutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ PDL_LIST_FLAGS_PDLVTABLE(X)
flagchar = transflagchar;
}
}
printf("%sState: (%d) ",spaces,flags);
printf("(%d) ",flags);
found = 0; sz = 0;
for (i=0;flagval[i]!=0; i++)
if (flags & flagval[i]) {
Expand All @@ -403,7 +403,7 @@ PDL_LIST_FLAGS_PDLVTABLE(X)
void pdl_dump_trans_fixspace (pdl_trans *it, int nspac) {
PDL_Indx i;
SET_SPACE(spaces, nspac);
printf("%sDUMPTRANS %p (%s)\n",spaces,(void*)it,it->vtable->name);
printf("%sDUMPTRANS %p (%s)\n%s Flags: ",spaces,(void*)it,it->vtable->name,spaces);
pdl_dump_flags_fixspace(it->flags,nspac+3, PDL_FLAGS_TRANS);
printf("%s vtable flags ",spaces);
pdl_dump_flags_fixspace(it->vtable->flags,nspac+3,PDL_FLAGS_VTABLE);
Expand Down Expand Up @@ -438,7 +438,7 @@ void pdl_dump_fixspace(pdl *it,int nspac)
PDL_DECL_CHILDLOOP(it)
PDL_Indx i;
SET_SPACE(spaces, nspac);
printf("%sDUMPING %p datatype: %d\n",spaces,(void*)it,it->datatype);
printf("%sDUMPING %p datatype: %d\n%s State: ",spaces,(void*)it,it->datatype,spaces);
pdl_dump_flags_fixspace(it->state,nspac+3,PDL_FLAGS_PDL);
printf("%s transvtable: %p, trans: %p, sv: %p\n",spaces,
(void*)(it->trans_parent?it->trans_parent->vtable:0), (void*)(it->trans_parent), (void*)(it->sv));
Expand Down

0 comments on commit 4ad883b

Please sign in to comment.