bison-patches
[Top][All Lists]
Advanced

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

[PATCH] Formatting changes.


From: Akim Demaille
Subject: [PATCH] Formatting changes.
Date: Mon, 10 Nov 2008 10:15:05 -0000

---
 ChangeLog        |    4 ++++
 src/muscle_tab.h |    4 +++-
 src/output.c     |    6 +++---
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a1403ad..ef5d3b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-11-10  Akim Demaille  <address@hidden>
 
+       Formatting changes.
+
+2008-11-10  Akim Demaille  <address@hidden>
+
        Update the variant example.
        * examples/variant.yy: Formatting changes.
        One stage build.
diff --git a/src/muscle_tab.h b/src/muscle_tab.h
index 19fba8b..2f1e51e 100644
--- a/src/muscle_tab.h
+++ b/src/muscle_tab.h
@@ -1,5 +1,5 @@
 /* Muscle table manager for Bison,
-   Copyright (C) 2001, 2002, 2003, 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002, 2003, 2006, 2007, 2008 Free Software Foundation, 
Inc.
 
    This file is part of Bison, the GNU Compiler Compiler.
 
@@ -51,6 +51,7 @@ do {                                                          
\
   muscle_insert (Key, obstack_finish (&muscle_obstack));       \
 } while(0)
 
+/* Key -> Value, but don't apply escaping to Value. */
 #define MUSCLE_INSERT_STRING_RAW(Key, Value)                   \
 do {                                                           \
   obstack_sgrow (&muscle_obstack, Value);                      \
@@ -58,6 +59,7 @@ do {                                                          
\
   muscle_insert (Key, obstack_finish (&muscle_obstack));       \
 } while(0)
 
+/* Key -> Value, applying M4 escaping to Value. */
 #define MUSCLE_INSERT_STRING(Key, Value)                       \
 do {                                                           \
   MUSCLE_OBSTACK_SGROW (&muscle_obstack, Value);                \
diff --git a/src/output.c b/src/output.c
index 5afab69..d59429b 100644
--- a/src/output.c
+++ b/src/output.c
@@ -328,9 +328,9 @@ user_actions_output (FILE *out)
   fputs ("])\n\n", out);
 }
 
-/*--------------------------------------.
-| Output the merge functions to OUT.   |
-`--------------------------------------*/
+/*------------------------------------.
+| Output the merge functions to OUT.  |
+`------------------------------------*/
 
 static void
 merger_output (FILE *out)
-- 
1.6.0.2.588.g3102





reply via email to

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