commit-gnue
[Top][All Lists]
Advanced

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

gnue/geas lib/classdefs/classdata.c lib/classde...


From: Neil Tiffin
Subject: gnue/geas lib/classdefs/classdata.c lib/classde...
Date: Thu, 24 May 2001 18:06:14 -0700

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Neil Tiffin <address@hidden>    01/05/24 18:06:14

Modified files:
        geas/lib/classdefs: classdata.c gcdparser.h 
        geas/tools     : gcdverifier.c 

Log message:
        Misc minor updates.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/lib/classdefs/classdata.c.diff?cvsroot=OldCVS&tr1=1.48&tr2=1.49&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/lib/classdefs/gcdparser.h.diff?cvsroot=OldCVS&tr1=1.23&tr2=1.24&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/tools/gcdverifier.c.diff?cvsroot=OldCVS&tr1=1.17&tr2=1.18&r1=text&r2=text

Patches:
Index: gnue/geas/lib/classdefs/classdata.c
diff -u gnue/geas/lib/classdefs/classdata.c:1.48 
gnue/geas/lib/classdefs/classdata.c:1.49
--- gnue/geas/lib/classdefs/classdata.c:1.48    Thu May 24 11:59:00 2001
+++ gnue/geas/lib/classdefs/classdata.c Thu May 24 18:06:14 2001
@@ -22,7 +22,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  
 
-   $Id: classdata.c,v 1.48 2001/05/24 18:59:00 ntiffin Exp $
+   $Id: classdata.c,v 1.49 2001/05/25 01:06:14 ntiffin Exp $
    
 */
 
@@ -671,11 +671,9 @@
 odl_find_module (odl_tree * tree, const char *name, const char *id)
 {
   struct _odl_base *item;
+  g_assert (name != NULL);
+  /* g_assert (id != NULL); */  /* id's not working yet TODO */
 
-#ifdef DEBUG
-  assert (name != NULL);
-  assert (id != NULL);
-#endif
   item = (struct _odl_base *) odl_find_item (tree, name, id);
 
   if (!item)
Index: gnue/geas/lib/classdefs/gcdparser.h
diff -u gnue/geas/lib/classdefs/gcdparser.h:1.23 
gnue/geas/lib/classdefs/gcdparser.h:1.24
--- gnue/geas/lib/classdefs/gcdparser.h:1.23    Thu May 24 11:59:01 2001
+++ gnue/geas/lib/classdefs/gcdparser.h Thu May 24 18:06:14 2001
@@ -21,7 +21,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  
 
-   $Id: gcdparser.h,v 1.23 2001/05/24 18:59:01 ntiffin Exp $
+   $Id: gcdparser.h,v 1.24 2001/05/25 01:06:14 ntiffin Exp $
    
 */
 
@@ -29,7 +29,8 @@
 /** \file gcdparser.h
  * \warning This file should not be used outside of the ODL class library.
  * \brief Contains typedefs and function prototypes used inside the
- * GCD parser.
+ * GCD parser.  Should not contain any code called from outside of the
+ * module.
  */
 
 #ifndef GCD_PARSER_H
Index: gnue/geas/tools/gcdverifier.c
diff -u gnue/geas/tools/gcdverifier.c:1.17 gnue/geas/tools/gcdverifier.c:1.18
--- gnue/geas/tools/gcdverifier.c:1.17  Sat May 19 16:21:02 2001
+++ gnue/geas/tools/gcdverifier.c       Thu May 24 18:06:14 2001
@@ -20,7 +20,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  
  
-   $Id: gcdverifier.c,v 1.17 2001/05/19 23:21:02 ntiffin Exp $
+   $Id: gcdverifier.c,v 1.18 2001/05/25 01:06:14 ntiffin Exp $
 */
 
 #include <glib.h>
@@ -141,7 +141,7 @@
           else if (strcmp (argv[i], "--version") == 0)
             {
               GString *revision;
-              revision = g_string_new ("$Revision: 1.17 $");
+              revision = g_string_new ("$Revision: 1.18 $");
               if (revision->len > 14)
                 {
                   revision = g_string_erase (revision, 0, 11);  /* remove the 
'$Revsion:' part */
@@ -176,8 +176,9 @@
           t = odl_load_files (fl, NULL);
           if (t != NULL)
             {
-              /* diaplay the files that have been loaded */
+              /* display the files that have been loaded */
               odl_display_tree (stdout, t, fullname);
+              /* odl_dump_tree (stdout, t, TRUE); */
             }
         }
       /* free memory */



reply via email to

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