Update of /cvsroot/monetdb/pathfinder/compiler/include
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv10631/include
Modified Files:
abssyn.h core.h core_mnemonic.h logical.h ns.h
Log Message:
-- Apply Anands whitespace fixes.
Index: ns.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/ns.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- ns.h 10 Nov 2009 09:44:59 -0000 1.21
+++ ns.h 10 Nov 2009 16:16:54 -0000 1.22
@@ -50,14 +50,14 @@
* either via an XQuery namespace declaration, e.g.
*
* declare namespace foo = "http://bar"
- *
+ *
* or a namespace declaration (xmlns) attribute, e.g.,
*
* <a xmlns:foo="http://bar"> ... </a>
*
* or by definition, see the W3C standard documents, e.g.
* W3C XQuery, 4.1 (Namespace Declarations):
- *
+ *
* "xs" |-> "http://www.w3.org/2001/XMLSchema"
*/
struct PFns_t {
@@ -72,7 +72,7 @@
/** Predefined namespace `xml' for any query */
extern PFns_t PFns_xml;
/** Predefined namespace `xs' (XML Schema) for any query */
-extern PFns_t PFns_xs;
+extern PFns_t PFns_xs;
/** Predefined namespace `xsi' (XML Schema Instance) for any query */
extern PFns_t PFns_xsi;
/** Predefined namespace `xdt' (XPath Data Types) for any query */
@@ -83,7 +83,7 @@
extern PFns_t PFns_upd;
/**
- * XQuery default function namespace (fn:..., this may be overridden
+ * XQuery default function namespace (fn:..., this may be overridden
* via `default function namespace = "..."')
* (see W3C XQuery 1.0 and XPath 2.0 Function and Operators, 1.5).
*/
@@ -97,17 +97,17 @@
/**
* Pathfinder's namespace for additional non-'fn' functions.
- */
+ */
extern PFns_t PFns_lib;
/**
* Pathfinder's namespace for additional tijah functions.
- */
+ */
extern PFns_t PFns_tijah;
/**
* Pathfinder's namespace for XRPC extension.
- */
+ */
extern PFns_t PFns_xrpc;
#ifdef HAVE_GEOXML
@@ -124,9 +124,9 @@
extern PFns_t PFns_pxmlsup;
#endif
-/**
+/**
* Pathfinder's own internal NS (pf:...).
- */
+ */
extern PFns_t PFns_pf;
/**
@@ -137,7 +137,7 @@
/** A prefix -> URI mapping table (implemented as PFarray_t */
typedef PFarray_t PFns_map_t;
-/**
+/**
* NS equality (URI-based, then prefix-based)
*/
int PFns_eq (PFns_t, PFns_t);
Index: core.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/core.h,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- core.h 10 Nov 2009 09:44:59 -0000 1.49
+++ core.h 10 Nov 2009 16:16:54 -0000 1.50
@@ -186,7 +186,7 @@
/* semantic content for flwr subexpressions (let/for) */
struct {
- PFty_t (*quantifier) (PFty_t);
+ PFty_t (*quantifier) (PFty_t);
/**< quantifier for flwor return expression */
int fid; /**< for loop id (used in milprint_summer.c) */
} flwr;
@@ -230,13 +230,13 @@
/* initialize global variables */
void PFcore_init (void);
-/**
+/**
* Core constructor functions below.
*/
PFcnode_t *PFcore_leaf (PFctype_t);
-PFcnode_t *PFcore_wire1 (PFctype_t,
+PFcnode_t *PFcore_wire1 (PFctype_t,
const PFcnode_t *);
-PFcnode_t *PFcore_wire2 (PFctype_t,
+PFcnode_t *PFcore_wire2 (PFctype_t,
const PFcnode_t *, const PFcnode_t *);
PFcnode_t *PFcore_nil (void);
Index: core_mnemonic.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/core_mnemonic.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- core_mnemonic.h 10 Nov 2009 09:44:59 -0000 1.26
+++ core_mnemonic.h 10 Nov 2009 16:16:54 -0000 1.27
@@ -44,48 +44,48 @@
#include "core.h"
-#undef nil
-#undef new_var
-#undef var
-#undef num
-#undef dec
-#undef dbl
-#undef str
-#undef seqtype
-#undef seqcast
-#undef proof
-#undef subty
-#undef typeswitch
-#undef case_
-#undef cases
-#undef ifthenelse
-#undef flwr
-#undef for_
-#undef let
+#undef nil
+#undef new_var
+#undef var
+#undef num
+#undef dec
+#undef dbl
+#undef str
+#undef seqtype
+#undef seqcast
+#undef proof
+#undef subty
+#undef typeswitch
+#undef case_
+#undef cases
+#undef ifthenelse
+#undef flwr
+#undef for_
+#undef let
#undef letbind
-#undef seq
-#undef twig_seq
-#undef empty
-#undef true_
-#undef false_
+#undef seq
+#undef twig_seq
+#undef empty
+#undef true_
+#undef false_
#undef _root
#undef constr_elem
#undef constr_attr
#undef constr
#undef constr_tag
-#undef locsteps
-#undef step
-#undef kindt
-#undef namet
-#undef function
-#undef apply
-#undef ebv
-#undef error
-#undef error_loc
+#undef locsteps
+#undef step
+#undef kindt
+#undef namet
+#undef function
+#undef apply
+#undef ebv
+#undef error
+#undef error_loc
#undef fs_convert_op
#undef fn_data
#undef some
-#undef cast
+#undef cast
#define nil() PFcore_nil ()
#define new_var(v) PFcore_new_var (v)
@@ -140,13 +140,13 @@
#define arg(e1,e2) PFcore_arg((e1), (e2))
#define apply(fn,e) PFcore_apply ((fn), (e))
#define ebv(e) PFcore_ebv (e)
-
+
#define fs_convert_op_by_type(e,t) PFcore_fs_convert_op_by_type ((e), (t))
#define fs_convert_op_by_expr(e1,e2) PFcore_fs_convert_op_by_expr ((e1), (e2))
#define fn_data(e1) PFcore_fn_data (e1)
#define some(v,e1,e2) PFcore_some(v,e1,e2)
-
-#endif
+
+#endif
/* vim:set shiftwidth=4 expandtab: */
Index: abssyn.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/abssyn.h,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- abssyn.h 10 Nov 2009 09:44:59 -0000 1.39
+++ abssyn.h 10 Nov 2009 16:16:54 -0000 1.40
@@ -37,19 +37,19 @@
#define ABSSYN_H
/* PFqname_t */
-#include "qname.h"
+#include "qname.h"
/* PFns_map_t */
#include "ns.h"
/* PFvar_t */
-#include "variable.h"
+#include "variable.h"
/* PFsort_t */
#include "pf_xq.h"
/** no type of parse tree node will need more than
- * this many child nodes
+ * this many child nodes
*/
#define PFPNODE_MAXCHILD 2
@@ -120,7 +120,7 @@
, p_mod_imp = 62 /**< Module import */
, p_mod_ns = 63 /**< module namespace */
, p_mult = 64 /**< * (multiplication) */
- , p_named_ty = 65 /**< named type */
+ , p_named_ty = 65 /**< named type */
, p_ne = 66 /**< != (inequality) */
, p_nil = 67 /**< end-of-sequence marker */
, p_node_ty = 68 /**< node type */
@@ -291,10 +291,10 @@
(XQ Update Facility) */
PFinsertmod_t insert; /**< insertion target for "do insert"
(XQ Update Facility) */
-};
+};
-/* interfaces to parse construction routines
+/* interfaces to parse construction routines
*/
PFpnode_t *
p_leaf (PFptype_t type, PFloc_t loc);
Index: logical.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/logical.h,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- logical.h 10 Nov 2009 09:44:59 -0000 1.73
+++ logical.h 10 Nov 2009 16:16:54 -0000 1.74
@@ -172,7 +172,7 @@
, la_internal_op = 99 /**< operator used inside optimizations */
/* builtin support for XQuery functions */
, la_string_join =102 /**< fn:string-join */
-
+
, la_dummy =120 /**< dummy operator that does nothing */
};
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins