str: Change "char" to "byte" in function names.
[pspp-builds.git] / src / language / utilities / host.c
index ae344367252bc053a1945480513c5f9ccc102395..dc9d4898ad1e058f77803ec61565acea4b953de1 100644 (file)
@@ -141,10 +141,10 @@ cmd_host (struct lexer *lexer, struct dataset *ds UNUSED)
         return CMD_FAILURE;
 
       ds_init_empty (&command);
-      while (lex_token (lexer) == T_STRING)
+      while (lex_is_string (lexer))
         {
           if (!ds_is_empty (&command))
-            ds_put_char (&command, '\n');
+            ds_put_byte (&command, '\n');
           ds_put_substring (&command, ds_ss (lex_tokstr (lexer)));
           lex_get (lexer);
         }