X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Faggregate.c;h=a8e3f6d71d267545b1d1d85ef60490433149c0f8;hb=a46ed36dcbab01d36c08cf560ff96a7effd9779a;hp=50a98e483efeed4ede0fa6336692b2e57e0394c3;hpb=a45fa3f76f32c391c756b7e4334330458d74a1ab;p=pspp-builds.git diff --git a/src/language/stats/aggregate.c b/src/language/stats/aggregate.c index 50a98e48..a8e3f6d7 100644 --- 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)); @@ -499,7 +499,7 @@ parse_aggregate_functions (struct lexer *lexer, const struct dictionary *dict, 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;