Update of /cvsroot/monetdb/pathfinder/compiler/include
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv2478/include
Modified Files:
Tag: XQuery_0-16
abssyn.h
Log Message:
Until now, document managenment functions could not be called from
user-defined functions (`docmgmt' is not a subtype of `item*').
Similar in spririt to the `declare updating function' syntax in the
W3C Update Facility, we now have the syntax extension
declare document management function foo(...)
{
...
};
That sets the return type `docmgmt*' for the respective function.
(I have the magic ability to foresee Peter's reactions on lengthy
syntax such as `declare document management function'. Based on my
predictive abilities, I also included the short-hand `declare
docmgmt function' for Peter's convenience. ;-))
Index: abssyn.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/abssyn.h,v
retrieving revision 1.30
retrieving revision 1.30.2.1
diff -u -d -r1.30 -r1.30.2.1
--- abssyn.h 3 Jan 2007 12:32:45 -0000 1.30
+++ abssyn.h 14 Feb 2007 10:27:12 -0000 1.30.2.1
@@ -182,6 +182,9 @@
/* Pathfinder extension: XRPC */
, p_xrpc = 128 /**< XRPC: "execute at" */
+
+ /* Pathfinder extension: document management (ret type for docmgmt func.)
*/
+ , p_docmgmt_ty = 129 /**< "item" type `docmgmt' (funct. decls.) */
};
typedef enum PFptype_t PFptype_t;
-------------------------------------------------------------------------
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