From: Ben Pfaff Date: Fri, 4 Mar 2005 07:18:56 +0000 (+0000) Subject: Fix arg type for expr_parse. X-Git-Tag: v0.4.0~167 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1ca4ab566c6f8317ba8ff0fd27046b82b4acd63;p=pspp-builds.git Fix arg type for expr_parse. --- diff --git a/src/expressions/ChangeLog b/src/expressions/ChangeLog index 2cf04b36..07f4be66 100644 --- a/src/expressions/ChangeLog +++ b/src/expressions/ChangeLog @@ -1,3 +1,8 @@ +Thu Mar 3 23:17:51 2005 Ben Pfaff + + * parse.c: (expr_parse) Fix parameter type. Thanks to John + Darrington for reporting this bug. + Thu Mar 3 22:10:25 WST 2005 John Darrington * Makefile.am evaluate.h.pl evaluate.inc.pl operations.h.pl diff --git a/src/expressions/parse.c b/src/expressions/parse.c index 2288d527..ea3b06a5 100644 --- a/src/expressions/parse.c +++ b/src/expressions/parse.c @@ -66,7 +66,7 @@ static bool type_check (struct expression *, union any_node **, Returns the new expression if successful or a null pointer otherwise. */ struct expression * -expr_parse (struct dictionary *dict, atom_type type) +expr_parse (struct dictionary *dict, enum expr_type type) { union any_node *n; struct expression *e;