[gs-cvs] rev 7693 - in trunk/gs: doc src

leonardo at ghostscript.com leonardo at ghostscript.com
Mon Feb 12 04:02:53 PST 2007


Author: leonardo
Date: 2007-02-12 04:02:52 -0800 (Mon, 12 Feb 2007)
New Revision: 7693

Modified:
   trunk/gs/doc/pscet_status.txt
   trunk/gs/src/zchar.c
Log:
Fix (interpreter) : Must not remove cshow, kshow procedure operands.

DETAILS :

This improvement is done for CET 13-12-4.

EXPECTED DIFFERENCES :

comparefiles: None.
CET tests :  13-12-4 (the final fix), 09-47C-2, 11-20-4, 13-03-2, 35_all-12.


Modified: trunk/gs/doc/pscet_status.txt
===================================================================
--- trunk/gs/doc/pscet_status.txt	2007-02-12 08:28:32 UTC (rev 7692)
+++ trunk/gs/doc/pscet_status.txt	2007-02-12 12:02:52 UTC (rev 7693)
@@ -1849,8 +1849,7 @@
 
 11-20-3  OK	Minor differences visually reviewed by RJJ
 
-11-20-4  DIFF	show operator doesn't restore the stack
-                assign Peter.
+11-20-4  OK
 
 11-20-5  DIFF	Analyzed by Igor.
 		I believe it is CPSI problem.
@@ -2912,8 +2911,7 @@
 
 13-12-3  OK	
 
-13-12-4  DIFF	kshow error inconformity
-                assign: Igor.
+13-12-4  OK
 
 13-12-5  OK	Minor differences visually reviewed by RJJ
 

Modified: trunk/gs/src/zchar.c
===================================================================
--- trunk/gs/src/zchar.c	2007-02-12 08:28:32 UTC (rev 7692)
+++ trunk/gs/src/zchar.c	2007-02-12 12:02:52 UTC (rev 7693)
@@ -784,11 +784,14 @@
     int code = 0;
 
     if (for_error) {
+#if 0 /* Disabled for CPSI compatibility for 13-12-4. 
+         CPSI doesn't remove cshow, kshow proc operands. */
 	uint saved_count = esodepth(ep).value.intval;
 	uint count = ref_stack_count(&o_stack);
 
 	if (count > saved_count)	/* if <, we're in trouble */
 	    ref_stack_pop(&o_stack, count - saved_count);
+#endif
 	if (ep[1].value.opproc == op_show_continue && penum->enum_client_data != NULL) {
 	    /* Replace the continuation operaton on estack with the right operator : */
 	    op_proc_t proc;



More information about the gs-cvs mailing list