projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add aux data parameter to q2c parse_<command>() and custom parser
[pspp]
/
src
/
language
/
stats
/
frequencies.q
diff --git
a/src/language/stats/frequencies.q
b/src/language/stats/frequencies.q
index 827f02af33342e8e29d2803b1526fc698636f823..95041d5d80aa3fa059e967e811b4f073dccc2f60 100644
(file)
--- a/
src/language/stats/frequencies.q
+++ b/
src/language/stats/frequencies.q
@@
-335,7
+335,7
@@
internal_cmd_frequencies (void)
n_variables = 0;
v_variables = NULL;
n_variables = 0;
v_variables = NULL;
- if (!parse_frequencies (&cmd))
+ if (!parse_frequencies (&cmd
, NULL
))
return CMD_FAILURE;
if (cmd.onepage_limit == NOT_LONG)
return CMD_FAILURE;
if (cmd.onepage_limit == NOT_LONG)
@@
-791,7
+791,7
@@
cleanup_freq_tab (struct variable *v)
/* Parses the VARIABLES subcommand, adding to
{n_variables,v_variables}. */
static int
/* Parses the VARIABLES subcommand, adding to
{n_variables,v_variables}. */
static int
-frq_custom_variables (struct cmd_frequencies *cmd UNUSED)
+frq_custom_variables (struct cmd_frequencies *cmd UNUSED
, void *aux UNUSED
)
{
int mode;
int min = 0, max = 0;
{
int mode;
int min = 0, max = 0;
@@
-879,7
+879,7
@@
frq_custom_variables (struct cmd_frequencies *cmd UNUSED)
/* Parses the GROUPED subcommand, setting the n_grouped, grouped
fields of specified variables. */
static int
/* Parses the GROUPED subcommand, setting the n_grouped, grouped
fields of specified variables. */
static int
-frq_custom_grouped (struct cmd_frequencies *cmd UNUSED)
+frq_custom_grouped (struct cmd_frequencies *cmd UNUSED
, void *aux UNUSED
)
{
lex_match ('=');
if ((token == T_ID && dict_lookup_var (default_dict, tokid) != NULL)
{
lex_match ('=');
if ((token == T_ID && dict_lookup_var (default_dict, tokid) != NULL)