printf("variable %d has %d values:\n", i, y);
for (int j = 0; j < y; j++)
{
+ match_byte(0);
if (match_byte(3))
{
char *a = get_string();
for (int k = 0; k <= level + 1; k++)
printf (" ");
printf ("\"%s\", \"%s\", \"%s\"", a, b, c);
- match_byte(0);
- match_byte(0);
- match_byte(0);
- match_byte(0);
- match_byte(0);
}
else
dump_value (level+1);
+
+ match_byte(0);
+ match_byte(0);
+ match_byte(0);
+ match_byte(0);
putchar('\n');
}
}
match_byte_assert (0x58);
printf ("variable \"%s\"", get_string());
get_string();
- if (!match_byte (2))
+ if (!match_byte (1) && !match_byte (2))
match_byte_assert(3);
}
else if (match_byte (2))
vallab = get_string ();
printf ("value %g format %d(%d.%d) var \"%s\" vallab \"%s\"",
value, format >> 16, (format >> 8) & 0xff, format & 0xff, var, vallab);
- if (!match_u32 (3))
- match_u32_assert (2);
+ if (!match_byte (1) && !match_byte (2))
+ match_byte_assert (3);
+ match_byte (0);
+ match_byte (0);
match_byte (0);
}
else if (match_byte (1))
unsigned int format;
double value;
- match_byte_assert (0x58);
+ dump_value_31 ();
format = get_u32 ();
value = get_double ();
printf ("value %g format %d(%d.%d)", value, format >> 16, (format >> 8) & 0xff, format & 0xff);
match_byte (0);
match_byte (0);
match_byte (0);
- match_byte (1);
}
else
{
- match_byte (0);
dump_value_31();
printf ("; \"%s\", substitutions:", get_string());
int total_subs = get_u32();
match_byte (0);
match_byte (0);
match_byte (0);
- match_byte (0);
}
else
{
match_byte (0);
match_byte (0);
match_byte (0);
- match_byte (0);
- match_byte (0);
- match_byte (0);
- match_byte (0);
}
else if (match_byte (4))
{
match_byte (0);
match_byte (0);
match_byte (0);
- match_byte (0);
}
else if (match_byte (1))
{