[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/m4/m4private.h,v
From: |
Eric Blake |
Subject: |
Changes to m4/m4/m4private.h,v |
Date: |
Sat, 11 Nov 2006 16:21:26 +0000 |
CVSROOT: /sources/m4
Module name: m4
Changes by: Eric Blake <ericb> 06/11/11 16:21:25
Index: m4/m4private.h
===================================================================
RCS file: /sources/m4/m4/m4/m4private.h,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -b -r1.71 -r1.72
--- m4/m4private.h 11 Nov 2006 14:00:28 -0000 1.71
+++ m4/m4private.h 11 Nov 2006 16:21:25 -0000 1.72
@@ -279,7 +279,7 @@
#define DEF_ECOMM "\n"
typedef struct {
- unsigned char *string; /* characters of the string */
+ char *string; /* characters of the string */
size_t length; /* length of the string */
} m4_string;
@@ -287,8 +287,10 @@
/* Please read the comment at the top of input.c for details */
unsigned short table[CHAR_RETRY];
- m4_string lquote, rquote;
- m4_string bcomm, ecomm;
+ m4_string lquote;
+ m4_string rquote;
+ m4_string bcomm;
+ m4_string ecomm;
/* true iff strlen(rquote) == strlen(lquote) == 1 */
bool is_single_quotes;
@@ -303,10 +305,10 @@
/* Fast macro versions of syntax table accessor functions,
that also have an identically named function exported in m4module.h. */
#ifdef NDEBUG
-# define m4_get_syntax_lquote(S) ((const char *) (S)->lquote.string)
-# define m4_get_syntax_rquote(S) ((const char *) (S)->rquote.string)
-# define m4_get_syntax_bcomm(S) ((const char *) (S)->bcomm.string)
-# define m4_get_syntax_ecomm(S) ((const char *) (S)->ecomm.string)
+# define m4_get_syntax_lquote(S) ((S)->lquote.string)
+# define m4_get_syntax_rquote(S) ((S)->rquote.string)
+# define m4_get_syntax_bcomm(S) ((S)->bcomm.string)
+# define m4_get_syntax_ecomm(S) ((S)->ecomm.string)
# define m4_is_syntax_single_quotes(S) ((S)->is_single_quotes)
# define m4_is_syntax_single_comments(S) ((S)->is_single_comments)