Sun, 25 Aug 2002 13:21:28 +0000
cloning an input context wasn't updating last_input_context
semantics.c | file | annotate | diff | revisions |
1.1 diff -r 0f78374addae -r 23ef95d6ff07 semantics.c 1.2 --- a/semantics.c Wed Jan 30 08:55:53 2002 +0000 1.3 +++ b/semantics.c Sun Aug 25 13:21:28 2002 +0000 1.4 @@ -170,6 +170,7 @@ 1.5 memcpy (new_input_context, last_input_context, sizeof (input_context_t)); 1.6 new_input_context->image_count = 0; 1.7 last_input_context->next = new_input_context; 1.8 + last_input_context = new_input_context; 1.9 } 1.10 1.11 void input_set_file (char *name) 1.12 @@ -527,6 +528,7 @@ 1.13 if (has_page_size) 1.14 printf (" size %f, %f", page_size.width, page_size.height); 1.15 printf ("\n"); 1.16 + printf ("context: %08x\n", image->input_context); 1.17 } 1.18 } 1.19