pspp-cvs
[Top][All Lists]
Advanced

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

[Pspp-cvs] pspp/src/language/lexer ChangeLog q2c.c


From: Ben Pfaff
Subject: [Pspp-cvs] pspp/src/language/lexer ChangeLog q2c.c
Date: Sat, 15 Apr 2006 21:31:29 +0000

CVSROOT:        /cvsroot/pspp
Module name:    pspp
Branch:         
Changes by:     Ben Pfaff <address@hidden>      06/04/15 21:31:29

Modified files:
        src/language/lexer: ChangeLog q2c.c 

Log message:
        * q2c.c: Change DEBUGGING macro to DUMP_TOKENS for clarity and to
        avoid dumping all the tokens to stdout when --enable-debug is passed
        to configure.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/lexer/ChangeLog.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/lexer/q2c.c.diff?tr1=1.5&tr2=1.6&r1=text&r2=text

Patches:
Index: pspp/src/language/lexer/ChangeLog
diff -u pspp/src/language/lexer/ChangeLog:1.2 
pspp/src/language/lexer/ChangeLog:1.3
--- pspp/src/language/lexer/ChangeLog:1.2       Fri Mar 10 16:30:34 2006
+++ pspp/src/language/lexer/ChangeLog   Sat Apr 15 21:31:29 2006
@@ -1,3 +1,9 @@
+Sat Apr 15 14:30:35 2006  Ben Pfaff  <address@hidden>
+
+       * q2c.c: Change DEBUGGING macro to DUMP_TOKENS for clarity and to
+       avoid dumping all the tokens to stdout when --enable-debug is
+       passed to configure.
+
 Fri Mar 10 08:29:25 2006  Ben Pfaff  <address@hidden>
 
        * q2c.c: (dump_free) Free proper member for var list, instead of
Index: pspp/src/language/lexer/q2c.c
diff -u pspp/src/language/lexer/q2c.c:1.5 pspp/src/language/lexer/q2c.c:1.6
--- pspp/src/language/lexer/q2c.c:1.5   Tue Mar 21 00:33:05 2006
+++ pspp/src/language/lexer/q2c.c       Sat Apr 15 21:31:29 2006
@@ -336,7 +336,7 @@
   return iter;
 }
 
-#if DEBUGGING 
+#if DUMP_TOKENS 
 /* Writes a printable representation of the current token to
    stdout. */
 static void
@@ -354,7 +354,7 @@
       printf ("PUNCT\t%c\n", token);
     }
 }
-#endif /* DEBUGGING */
+#endif /* DUMP_TOKENS */
 
 /* Reads a token from the input file. */
 static int
@@ -404,7 +404,7 @@
   else
     token = *cp++;
   
-#if DEBUGGING
+#if DUMP_TOKENS
   dump_token ();
 #endif
   




reply via email to

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