m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to m4/src/m4.h,v [branch-1_4]


From: Eric Blake
Subject: Changes to m4/src/m4.h,v [branch-1_4]
Date: Thu, 03 Aug 2006 13:31:43 +0000

CVSROOT:        /sources/m4
Module name:    m4
Branch:         branch-1_4
Changes by:     Eric Blake <ericb>      06/08/03 13:31:40

Index: src/m4.h
===================================================================
RCS file: /sources/m4/m4/src/m4.h,v
retrieving revision 1.1.1.1.2.23
retrieving revision 1.1.1.1.2.24
diff -u -b -r1.1.1.1.2.23 -r1.1.1.1.2.24
--- src/m4.h    30 Jul 2006 23:46:51 -0000      1.1.1.1.2.23
+++ src/m4.h    3 Aug 2006 13:31:40 -0000       1.1.1.1.2.24
@@ -219,10 +219,13 @@
 enum token_type
 {
   TOKEN_EOF,                   /* end of file */
-  TOKEN_STRING,                        /* a quoted string */
+  TOKEN_STRING,                        /* a quoted string or comment */
   TOKEN_WORD,                  /* an identifier */
-  TOKEN_SIMPLE,                        /* a single character */
-  TOKEN_MACDEF                 /* a macros definition (see "defn") */
+  TOKEN_OPEN,                  /* ( */
+  TOKEN_COMMA,                 /* , */
+  TOKEN_CLOSE,                 /* ) */
+  TOKEN_SIMPLE,                        /* any other single character */
+  TOKEN_MACDEF                 /* a macro's definition (see "defn") */
 };
 
 /* The data for a token, a macro argument, and a macro definition.  */
@@ -262,7 +265,7 @@
 typedef enum token_data_type token_data_type;
 
 void input_init (void);
-int peek_input (void);
+token_type peek_token (void);
 token_type next_token (token_data *);
 void skip_line (void);
 




reply via email to

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