/[pspp]/pspp/src/expressions/parse.c
ViewVC logotype

Diff of /pspp/src/expressions/parse.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by blp, Mon Oct 24 02:51:28 2005 UTC revision 1.14 by blp, Thu Nov 3 06:21:47 2005 UTC
# Line 86  expr_parse (struct dictionary *dict, enu Line 86  expr_parse (struct dictionary *dict, enu
86      }      }
87  }  }
88    
89    /* Parses and returns an expression of the given TYPE, as
90       expr_parse(), and sets up so that destroying POOL will free
91       the expression as well. */
92    struct expression *
93    expr_parse_pool (struct pool *pool,
94                     struct dictionary *dict, enum expr_type type)
95    {
96      struct expression *e = expr_parse (dict, type);
97      if (e != NULL)
98        pool_add_subpool (pool, e->expr_pool);
99      return e;
100    }
101    
102  /* Free expression E. */  /* Free expression E. */
103  void  void
104  expr_free (struct expression *e)  expr_free (struct expression *e)

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26