[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: gaf.git: branch: master updated (1.5.1-20081221-67-g87974a0)



The branch, master has been updated
       via  87974a03e1184d58edb1382f6006a13c47bcbc77 (commit)
      from  a29573b885273459bbf24ff68ae508d345f1037f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 gsymcheck/src/s_check.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)


=================
 Commit Messages
=================

commit 87974a03e1184d58edb1382f6006a13c47bcbc77
Author: Werner Hoch <werner.ho@xxxxxx>
Date:   Sat Dec 27 18:29:20 2008 +0100

    gsymcheck: warning message if show_name_value is weird [#2470862]
    
    If a text object is not an attribute the show_name_value field
    of the text object should be SHOW_NAME_VALUE.
    
    Create a warning if it's SHOW_NAME or SHOW_VALUE. It's not really
    an error, thus only create a warning

:100644 100644 0c7a7c8... 200fcce... M	gsymcheck/src/s_check.c

=========
 Changes
=========

commit 87974a03e1184d58edb1382f6006a13c47bcbc77
Author: Werner Hoch <werner.ho@xxxxxx>
Date:   Sat Dec 27 18:29:20 2008 +0100

    gsymcheck: warning message if show_name_value is weird [#2470862]
    
    If a text object is not an attribute the show_name_value field
    of the text object should be SHOW_NAME_VALUE.
    
    Create a warning if it's SHOW_NAME or SHOW_VALUE. It's not really
    an error, thus only create a warning

diff --git a/gsymcheck/src/s_check.c b/gsymcheck/src/s_check.c
index 0c7a7c8..200fcce 100644
--- a/gsymcheck/src/s_check.c
+++ b/gsymcheck/src/s_check.c
@@ -243,6 +243,15 @@ s_check_symbol_structure (GList *obj_list, SYMCHECK *s_current)
 	    g_list_append(s_current->error_messages, message);
 	  s_current->error_count++;
 	}	  
+      } else { /* object is not an attribute */
+        if (o_current->show_name_value != SHOW_NAME_VALUE) {
+          message = g_strdup_printf ("Found a simple text object with only SHOW_NAME"
+                                     " or SHOW_VALUE set [%s]\n",
+                                     o_current->text->string);
+          s_current->warning_messages =
+            g_list_append(s_current->warning_messages, message);
+          s_current->warning_count++;
+        }
       }
       g_strfreev(tokens);
     }




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs