Update of /cvsroot/monetdb/pathfinder/compiler
In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv6812/compiler

Modified Files:
        main_sql.c 
Log Message:
-- Value-Attribute of Property-Node is optional now.

Index: main_sql.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/main_sql.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- main_sql.c  17 Mar 2010 21:56:05 -0000      1.15
+++ main_sql.c  13 Apr 2010 12:06:58 -0000      1.16
@@ -195,8 +195,13 @@
        }
        nestSpaces[nest] = '\0';
 
-       fprintf (stdout, "%s<property name=\"%s\" value=\"%s\"",
-                       nestSpaces, property.name, property.value);
+       fprintf (stdout, "%s<property name=\"%s\"",
+           nestSpaces, property.name);
+       if (property.value)
+       {
+           fprintf (stdout, " value=\"%s\"",
+                       property.value);
+       }
        if (property.properties)
        {
                fprintf (stdout, ">\n");


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to