m4-commit
[Top][All Lists]
Advanced

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

Changes to m4/src/Attic/input.c,v [branch-1_4]


From: Eric Blake
Subject: Changes to m4/src/Attic/input.c,v [branch-1_4]
Date: Wed, 02 Aug 2006 15:11:59 +0000

CVSROOT:        /sources/m4
Module name:    m4
Branch:         branch-1_4
Changes by:     Eric Blake <ericb>      06/08/02 15:11:58

Index: src/input.c
===================================================================
RCS file: /sources/m4/m4/src/Attic/input.c,v
retrieving revision 1.1.1.1.2.15
retrieving revision 1.1.1.1.2.16
diff -u -b -r1.1.1.1.2.15 -r1.1.1.1.2.16
--- src/input.c 1 Aug 2006 13:05:45 -0000       1.1.1.1.2.15
+++ src/input.c 2 Aug 2006 15:11:58 -0000       1.1.1.1.2.16
@@ -586,8 +586,7 @@
 #define MATCH(ch, s) \
   (to_uchar ((s)[0]) == (ch)                                            \
    && (ch) != '\0'                                                      \
-   && ((s)[1] == '\0'                                                   \
-       || (match_input ((s) + 1) ? (ch) = peek_input (), 1 : 0)))
+   && ((s)[1] == '\0' || (match_input ((s) + 1))))
 
 
 /*----------------------------------------------------------.
@@ -769,6 +768,10 @@
     {
       init_macro_token (td);
       (void) next_char ();
+#ifdef DEBUG_INPUT
+      fprintf (stderr, "next_token -> MACDEF (%s)\n",
+               find_builtin_by_addr (TOKEN_DATA_FUNC (td))->name);
+#endif
       return TOKEN_MACDEF;
     }
 




reply via email to

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