Reworked settings so as to use one large struct instead of lots of static
[pspp-builds.git] / src / language / lexer / lexer.c
index d161287685beca3bd1956a025764152644805000..1c9542d78ed54ccf5271811b5cc27be54337aeae 100644 (file)
@@ -859,8 +859,8 @@ lex_preprocess_line (struct string *line,
 {
   strip_comments (line);
   ds_rtrim (line, ss_cstr (CC_SPACES));
-  *line_ends_command = (ds_chomp (line, get_endcmd ())
-                        || (ds_is_empty (line) && get_nulline ()));
+  *line_ends_command = (ds_chomp (line, settings_get_endcmd ())
+                        || (ds_is_empty (line) && settings_get_nulline ()));
   *line_starts_command = false;
   if (syntax == GETL_BATCH)
     {