In order to build HTML-Parser-3.02 with perl 5.005_03 using xlc on AIX
4.1, I had to remove the final commas after the last elements of all the
enums in hparser.[ch]. Patches for those files are included below:
*** hparser.c.old Wed Dec 15 12:56:37 1999
--- hparser.c Fri Feb 4 15:23:12 2000
***************
*** 44,50 ****
ARG_LENGTH,
ARG_EVENT,
ARG_UNDEF,
! ARG_LITERAL, /* Always keep last */
};
char *argname[] = {
--- 44,50 ----
ARG_LENGTH,
ARG_EVENT,
ARG_UNDEF,
! ARG_LITERAL /* Always keep last */
};
char *argname[] = {
*** hparser.h.old Fri Dec 17 06:11:40 1999
--- hparser.h Fri Feb 4 15:22:33 2000
***************
*** 20,26 ****
MS_INCLUDE,
MS_RCDATA,
MS_CDATA,
! MS_IGNORE,
};
#define CDATA_MODE(p_state) ((p_state)->literal_mode || \
--- 20,26 ----
MS_INCLUDE,
MS_RCDATA,
MS_CDATA,
! MS_IGNORE
};
#define CDATA_MODE(p_state) ((p_state)->literal_mode || \
***************
*** 44,50 ****
E_PROCESS,
E_DEFAULT,
/**/
! EVENT_COUNT,
};
typedef enum event_id event_id_t;
--- 44,50 ----
E_PROCESS,
E_DEFAULT,
/**/
! EVENT_COUNT
};
typedef enum event_id event_id_t;
James Walden, PMD OR Postmaster | "Fall leaves blanket ground
Intel PMD Engineering Computing | Redmond dreams darkly, beware
JF1-213, 2nd floor, pole D-13 | Winter brings penguins"
(503) 712-1433 | -- Kevin Hackman