projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lexer: Change the functions for retrieving token strings.
[pspp-builds.git]
/
src
/
language
/
stats
/
regression.q
diff --git
a/src/language/stats/regression.q
b/src/language/stats/regression.q
index 53ac594b455ff4955959b3b8dcf2049ec98915b9..e5b86ea2bc84a024a9f2503796b16a3654c8a2d1 100644
(file)
--- a/
src/language/stats/regression.q
+++ b/
src/language/stats/regression.q
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2005, 2009 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2009
, 2010
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-752,10
+752,10
@@
regression_custom_variables (struct lexer *lexer, struct dataset *ds,
{
const struct dictionary *dict = dataset_dict (ds);
{
const struct dictionary *dict = dataset_dict (ds);
- lex_match (lexer,
'='
);
+ lex_match (lexer,
T_EQUALS
);
if ((lex_token (lexer) != T_ID
if ((lex_token (lexer) != T_ID
- || dict_lookup_var (dict, lex_tok
id
(lexer)) == NULL)
+ || dict_lookup_var (dict, lex_tok
cstr
(lexer)) == NULL)
&& lex_token (lexer) != T_ALL)
return 2;
&& lex_token (lexer) != T_ALL)
return 2;