projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the NULLINE and ENDCMD settings.
[pspp]
/
src
/
language
/
control
/
repeat.c
diff --git
a/src/language/control/repeat.c
b/src/language/control/repeat.c
index 130dfd68800d5327a3f66d872f199a9ab76d1c9a..7b5634c8b3cc19f1435a77815c4d50abf8193b6f 100644
(file)
--- a/
src/language/control/repeat.c
+++ b/
src/language/control/repeat.c
@@
-527,7
+527,7
@@
do_repeat_filter (struct getl_interface *interface, struct string *line)
/* Strip trailing whitespace, check for & remove terminal dot. */
ds_rtrim (line, ss_cstr (CC_SPACES));
/* Strip trailing whitespace, check for & remove terminal dot. */
ds_rtrim (line, ss_cstr (CC_SPACES));
- dot = ds_chomp (line,
settings_get_endcmd ()
);
+ dot = ds_chomp (line,
'.'
);
input = ds_ss (line);
in_apos = in_quote = false;
while ((c = ss_first (input)) != EOF)
input = ds_ss (line);
in_apos = in_quote = false;
while ((c = ss_first (input)) != EOF)
@@
-550,7
+550,7
@@
do_repeat_filter (struct getl_interface *interface, struct string *line)
}
}
if (dot)
}
}
if (dot)
- ds_put_byte (&output,
settings_get_endcmd ()
);
+ ds_put_byte (&output,
'.'
);
ds_swap (line, &output);
ds_destroy (&output);
ds_swap (line, &output);
ds_destroy (&output);