Update of /cvsroot/monetdb/pathfinder/compiler/semantics
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv13876/compiler/semantics
Modified Files:
normalize.brg typecheck.brg
Log Message:
propagated changes of Sunday Feb 11 2007 - Tuesday Feb 20 2007
from the XQuery_0-16 branch to the development trunk
Index: typecheck.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/semantics/typecheck.brg,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- typecheck.brg 25 Jan 2007 23:40:20 -0000 1.53
+++ typecheck.brg 20 Feb 2007 12:06:53 -0000 1.54
@@ -425,7 +425,7 @@
else if (PFty_subtype (TY(R(p)), PFty_star (PFty_docmgmt ())))
/* okay, this is a document management query */
;
- else if (PFty_subtype (TY(R(p)), PFty_star (PFty_none ())))
+ else if (PFty_subtype (TY(R(p)), PFty_none ()))
/* not really okay, but we let it go through with
* a warning: the query *statically* evaluated to
* the error type (none). */
Index: normalize.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/semantics/normalize.brg,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- normalize.brg 23 Jan 2007 14:05:47 -0000 1.15
+++ normalize.brg 20 Feb 2007 12:06:53 -0000 1.16
@@ -199,6 +199,7 @@
%term recursion = 126
%term seed = 127
%term xrpc = 128
+%term docmgmt_ty = 129
%%
@@ -601,6 +602,10 @@
/* Pathfinder extension: XRPC */
XRPCCall: xrpc (Expr, FunctionCall) = 246 (10);
+/* Pathfinder extension: document management function declarations */
+FunctionDeclaration: fun_decl (fun_sig (OptParamList_,
+ seq_ty (docmgmt_ty (nil))),
+ OptExpr) = 247 (10);
%%
-------------------------------------------------------------------------
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