OSSP CVS Repository

ossp - Difference in ossp-pkg/cfg/cfg_syn.c versions 1.13 and 1.14
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/cfg/cfg_syn.c 1.13 -> 1.14

--- cfg_syn.c    2002/07/18 15:34:55     1.13
+++ cfg_syn.c    2002/11/10 12:12:23     1.14
@@ -48,16 +48,16 @@
 
 /* build a node tree according to a textual specification */
 cfg_rc_t cfg_syn_import(
-    cfg_t *cfg, 
-    cfg_node_t **node, 
+    cfg_t *cfg,
+    cfg_node_t **node,
     const char *in_ptr,
     size_t in_len,
-    char *err_buf, 
+    char *err_buf,
     size_t err_len)
 {
     cfg_syn_ctx_t ctx;
     void *yyscan;
-    
+
     /* argument sanity checking */
     if (node == NULL || in_ptr == NULL || in_len == 0)
         return CFG_ERR_ARG;
@@ -66,7 +66,7 @@
     cfg_syn_lex_init(&yyscan);
     cfg_syn_set_extra(&ctx, yyscan);
 
-    /* establish our own context which is passed 
+    /* establish our own context which is passed
        through the parser and scanner */
     ctx.inputptr = in_ptr;
     ctx.inputbuf = in_ptr;
@@ -155,7 +155,7 @@
     *cp++ = '\0';
 
     /* remember parsing error: part I (context part) */
-    cfg_fmt_sprintf(ctx->err_buf, ctx->err_len, 
+    cfg_fmt_sprintf(ctx->err_buf, ctx->err_len,
                     "line %d, column %d: `%s'",
                     line, column, cpBuf);
     free(cpBuf);
@@ -227,7 +227,7 @@
 
     plain = 1;
     for (cp = token; *cp != '\0'; cp++) {
-        if (   !isprint((int)(*cp)) 
+        if (   !isprint((int)(*cp))
             || strchr(" \n\r\t\b\f;{}\\\"'", (int)(*cp)) != NULL) {
             plain = 0;
             break;
@@ -307,8 +307,8 @@
 }
 
 cfg_rc_t cfg_syn_export(
-    cfg_t *cfg, 
-    cfg_node_t *node, 
+    cfg_t *cfg,
+    cfg_node_t *node,
     char **output)
 {
     cfg_buf_t *buf;

CVSTrac 2.0.1