m4-commit
[Top][All Lists]
Advanced

[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: Thu, 12 Oct 2006 21:14:52 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      06/10/12 21:14:50

Index: m4/m4private.h
===================================================================
RCS file: /sources/m4/m4/m4/m4private.h,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -b -r1.65 -r1.66
--- m4/m4private.h      4 Oct 2006 03:57:00 -0000       1.65
+++ m4/m4private.h      12 Oct 2006 21:14:50 -0000      1.66
@@ -264,6 +264,8 @@
 
 /* --- SYNTAX TABLE MANAGEMENT --- */
 
+/* CHAR_RETRY must be last, because we size the syntax table to hold
+   all other characters and sentinels. */
 #define CHAR_EOF       256     /* character return on EOF */
 #define CHAR_BUILTIN   257     /* character return for BUILTIN token */
 #define CHAR_RETRY     258     /* character return for end of input block */
@@ -280,7 +282,7 @@
 
 struct m4_syntax_table {
   /* Please read the comment at the top of input.c for details */
-  unsigned short table[256];
+  unsigned short table[CHAR_RETRY];
 
   m4_string lquote, rquote;
   m4_string bcomm, ecomm;
@@ -324,7 +326,7 @@
 } m4__token_type;
 
 extern m4__token_type m4__next_token (m4 *, m4_symbol_value *);
-extern m4__token_type m4__peek_token (m4 *);
+extern bool            m4__next_token_is_open (m4 *);
 
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]