From e2f2f98013f9dc4867e55fe4b8b551a595726886 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 6 Nov 2014 19:35:02 -0800 Subject: [PATCH] Generalize dump_dim_value(). --- dump.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/dump.c b/dump.c index c89fe1f493..f2eaa5aec1 100644 --- a/dump.c +++ b/dump.c @@ -372,10 +372,6 @@ dump_dim_value(int level) get_string(); printf("string \"%s\"", get_string()); match_byte (0); - match_byte_assert (1); - match_byte (0); - match_byte (0); - match_byte (0); match_byte (1); } else if (match_byte (5)) @@ -497,16 +493,7 @@ dump_dim(void) int n_categories; printf("next dim\n"); match_byte(0); - if (match_byte(3)) - { - get_string(); - match_byte_assert(0x58); - get_string(); - printf("string \"%s\": ", get_string()); - match_byte(1) || match_byte(0); - } - else - dump_dim_value(0); + dump_dim_value(0); /* This byte is usually 0x02 but 0x00 and 0x75 (!) have also been spotted. */ pos++; -- 2.30.2