Update of /cvsroot/monetdb/pathfinder/compiler/mil
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv17899
Modified Files:
Tag: XQuery_0-16
milprint_summer.c
Log Message:
Rewrite expression to avoid compilation problem:
error #187: use of "=" where "==" may have been intended
Index: milprint_summer.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/mil/milprint_summer.c,v
retrieving revision 1.318.2.16
retrieving revision 1.318.2.17
diff -u -d -r1.318.2.16 -r1.318.2.17
--- milprint_summer.c 22 Feb 2007 18:44:29 -0000 1.318.2.16
+++ milprint_summer.c 23 Feb 2007 09:06:37 -0000 1.318.2.17
@@ -6520,7 +6520,7 @@
"} # end of translate pf:collection (string) as node*\n",
(rc)?item_ext:val_join(STR));
return NORMAL;
} else if (PFqname_eq(fnQname,PFqname (PFns_lib,"documents")) == 0 ||
- (PFqname_eq(fnQname,PFqname (PFns_lib,"documents-unsafe")) == 0
&& (rc=1)))
+ (rc = 1, PFqname_eq(fnQname,PFqname
(PFns_lib,"documents-unsafe")) == 0))
{
char *consistent = rc?"false":"true";
if (fun->arity) {
@@ -6545,7 +6545,7 @@
"} # end of translate fn:documents (string?) as string*\n");
return NORMAL;
} else if (PFqname_eq(fnQname,PFqname (PFns_lib,"collections")) == 0 ||
- (PFqname_eq(fnQname,PFqname (PFns_lib,"collections-unsafe")) ==
0 && (rc=1)))
+ (rc = 1, PFqname_eq(fnQname,PFqname
(PFns_lib,"collections-unsafe")) == 0))
{
char *consistent = rc?"false":"true";
milprintf(f,
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins