[gs-cvs] rev 8502 - trunk/gs/src

leonardo at ghostscript.com leonardo at ghostscript.com
Wed Jan 23 10:33:35 PST 2008


Author: leonardo
Date: 2008-01-23 10:33:35 -0800 (Wed, 23 Jan 2008)
New Revision: 8502

Modified:
   trunk/gs/src/zdscpars.c
Log:
Fix (DSC parser) : Avoid a structure type name duplicate.

DETAILS :

The old name cmd_list_s is also defined in gxclist.h .
It confused MSVC debugger while tracing gxclutil.c for bug 689626.

EXPECTED DIFFERENCES :

None.


Modified: trunk/gs/src/zdscpars.c
===================================================================
--- trunk/gs/src/zdscpars.c	2008-01-23 18:12:27 UTC (rev 8501)
+++ trunk/gs/src/zdscpars.c	2008-01-23 18:33:35 UTC (rev 8502)
@@ -343,7 +343,7 @@
  * This list is used to translate the commment code returned
  * from Russell's DSC parser, define a name, and a parameter procedure.
  */
-typedef struct cmd_list_s {
+typedef struct cmdlist_s {
     int code;			/* Russell's DSC parser code (see dsc.h) */
     const char *comment_name;	/* A name to be returned to postscript caller */
     int (*dsc_proc) (gs_param_list *, const CDSC *);



More information about the gs-cvs mailing list