dump: Correctly remove match1 parameter from dump_value().
[pspp] / dump.c
diff --git a/dump.c b/dump.c
index 2c778210ffba851cda5f5b580c4cffc5d4854620..9b90fe651d62db98b82be547cb8618e99abeb384 100644 (file)
--- a/dump.c
+++ b/dump.c
@@ -431,7 +431,6 @@ dump_value(FILE *stream, int level)
       fprintf (stream, "/>\n");
       if (!match_byte (0))
         match_byte_assert(1);
-
     }
   else if (match_byte (5))
     {
@@ -558,7 +557,10 @@ dump_category(int level, int *indexes, int *n_indexes, int max_indexes)
     fprintf (stdout, "    ");
   printf ("<category>\n");
   dump_value (stdout, level + 1);
-  match_u32(1);
+  match_byte(1);
+  match_byte(0);
+  match_byte(0);
+  match_byte(0);
 
   if (match_u32 (1))
     match_byte (0);
@@ -829,7 +831,7 @@ dump_fonts(void)
     match_u32_assert(UINT32_MAX);
   if (match_byte('.'))
     {
-      if (!match_byte(','))
+      if (!match_byte(',') && !match_byte('\''))
         match_byte_assert(' ');
     }
   else