From 799f949452dd3b5cd058fa7fc2323c1bcf287e07 Mon Sep 17 00:00:00 2001
From: Ben Pfaff <blp@gnu.org>
Date: Sat, 15 Apr 2006 21:31:29 +0000
Subject: [PATCH] * 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.

---
 src/language/lexer/ChangeLog | 6 ++++++
 src/language/lexer/q2c.c     | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/language/lexer/ChangeLog b/src/language/lexer/ChangeLog
index 65198388..6fc3eae9 100644
--- a/src/language/lexer/ChangeLog
+++ b/src/language/lexer/ChangeLog
@@ -1,3 +1,9 @@
+Sat Apr 15 14:30:35 2006  Ben Pfaff  <blp@gnu.org>
+
+	* 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  <blp@gnu.org>
 
 	* q2c.c: (dump_free) Free proper member for var list, instead of
diff --git a/src/language/lexer/q2c.c b/src/language/lexer/q2c.c
index c4bfef6d..72ce7add 100644
--- a/src/language/lexer/q2c.c
+++ b/src/language/lexer/q2c.c
@@ -336,7 +336,7 @@ find_symbol (int x)
   return iter;
 }
 
-#if DEBUGGING 
+#if DUMP_TOKENS 
 /* Writes a printable representation of the current token to
    stdout. */
 static void
@@ -354,7 +354,7 @@ dump_token (void)
       printf ("PUNCT\t%c\n", token);
     }
 }
-#endif /* DEBUGGING */
+#endif /* DUMP_TOKENS */
 
 /* Reads a token from the input file. */
 static int
@@ -404,7 +404,7 @@ lex_get (void)
   else
     token = *cp++;
   
-#if DEBUGGING
+#if DUMP_TOKENS
   dump_token ();
 #endif
   
-- 
2.30.2