projects
/
pspp-builds.git
/ 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-builds.git]
/
src
/
language
/
lexer
/
lexer.c
diff --git
a/src/language/lexer/lexer.c
b/src/language/lexer/lexer.c
index 4a899bdff91b7b9b13d8a57d8f1b6c1f521a96ff..00724e6472b73fd3ed23b1462c6af0ef46408dca 100644
(file)
--- a/
src/language/lexer/lexer.c
+++ b/
src/language/lexer/lexer.c
@@
-917,8
+917,7
@@
lex_preprocess_line (struct string *line,
{
strip_comments (line);
ds_rtrim (line, ss_cstr (CC_SPACES));
{
strip_comments (line);
ds_rtrim (line, ss_cstr (CC_SPACES));
- *line_ends_command = (ds_chomp (line, settings_get_endcmd ())
- || (ds_is_empty (line) && settings_get_nulline ()));
+ *line_ends_command = ds_chomp (line, '.') || ds_is_empty (line);
*line_starts_command = false;
if (syntax == GETL_BATCH)
{
*line_starts_command = false;
if (syntax == GETL_BATCH)
{