int x = get_u32();
printf ("\"%s\" with %d variables:\n", base, x);
- if (match_u32(0))
+ for (int i = 0; i < x; i++)
{
- for (int i = 0; i < x; i++)
+ int y = get_u32();
+ if (!y)
+ y = 1;
+ else
+ match_u32_assert(0);
+ for (int j = 0; j <= level; j++)
+ printf (" ");
+ printf("variable %d has %d values:\n", i, y);
+ for (int j = 0; j < y; j++)
{
- dump_value (level+1, match1);
+ match_byte(0);
+ match_byte(0);
+ match_byte(0);
+ match_byte(0);
+ dump_value__ (level+1, false);
putchar('\n');
}
}
- else
- {
- for (int i = 0; i < x; i++)
- {
- int y = get_u32();
- match_u32_assert(0);
- for (int j = 0; j <= level; j++)
- printf (" ");
- printf("variable %d has %d values:\n", i, y);
- for (int j = 0; j < y; j++)
- {
- dump_value (level+1, false);
- putchar('\n');
- }
- }
- }
}
}