projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NPAR TESTS: Accept .313 instead of .312 for point probability in SIGN test.
[pspp-builds.git]
/
src
/
language
/
stats
/
aggregate.c
diff --git
a/src/language/stats/aggregate.c
b/src/language/stats/aggregate.c
index 50a98e483efeed4ede0fa6336692b2e57e0394c3..a8e3f6d71d267545b1d1d85ef60490433149c0f8 100644
(file)
--- a/
src/language/stats/aggregate.c
+++ b/
src/language/stats/aggregate.c
@@
-432,7
+432,7
@@
parse_aggregate_functions (struct lexer *lexer, const struct dictionary *dict,
- if (lex_
token (lexer) == T_STRING
)
+ if (lex_
is_string (lexer)
)
{
struct string label;
ds_init_string (&label, lex_tokstr (lexer));
{
struct string label;
ds_init_string (&label, lex_tokstr (lexer));
@@
-499,7
+499,7
@@
parse_aggregate_functions (struct lexer *lexer, const struct dictionary *dict,
int type;
lex_match (lexer, ',');
int type;
lex_match (lexer, ',');
- if (lex_
token (lexer) == T_STRING
)
+ if (lex_
is_string (lexer)
)
{
arg[i].c = ds_xstrdup (lex_tokstr (lexer));
type = VAL_STRING;
{
arg[i].c = ds_xstrdup (lex_tokstr (lexer));
type = VAL_STRING;