projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lexer: New function lex_force_int_range().
[pspp]
/
src
/
language
/
stats
/
logistic.c
diff --git
a/src/language/stats/logistic.c
b/src/language/stats/logistic.c
index 2cf440c31f8829f34ee0416a26feea1ea12adf0f..dbf54c6b0b483093d7b6a2de692801accd987581 100644
(file)
--- a/
src/language/stats/logistic.c
+++ b/
src/language/stats/logistic.c
@@
-928,7
+928,7
@@
cmd_logistic (struct lexer *lexer, struct dataset *ds)
{
if (lex_force_match (lexer, T_LPAREN))
{
- if (! lex_force_int
(lexer
))
+ if (! lex_force_int
_range (lexer, "ITERATE", 0, INT_MAX
))
{
lex_error (lexer, NULL);
goto error;