X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fcommand.c;h=b46d1e83b813a7744e7b9c056fe9205b11cbd33a;hb=13e7983c183d6448d09cd8ed9644351b676af4d3;hp=cfae2ba03e5ec4b2b5c1f56e90f2c5993ed9d7c0;hpb=3816248a008a4af75aac6319d0c9929cb7ff679e;p=pspp diff --git a/src/language/command.c b/src/language/command.c index cfae2ba03e..b46d1e83b8 100644 --- a/src/language/command.c +++ b/src/language/command.c @@ -1,6 +1,5 @@ /* PSPP - computes sample statistics. Copyright (C) 1997-9, 2000 Free Software Foundation, Inc. - Written by Ben Pfaff . This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -32,7 +31,7 @@ #include #include #include -#include +#include #include #include #include @@ -162,7 +161,7 @@ do_parse_command (struct lexer *lexer, struct dataset *ds, enum cmd_state state) enum cmd_result result; /* Read the command's first token. */ - getl_set_prompt_style (GETL_PROMPT_FIRST); + prompt_set_style (PROMPT_FIRST); set_completion_state (state); lex_get (lexer); if (lex_token (lexer) == T_STOP) @@ -172,7 +171,7 @@ do_parse_command (struct lexer *lexer, struct dataset *ds, enum cmd_state state) /* Null commands can result from extra empty lines. */ return CMD_SUCCESS; } - getl_set_prompt_style (GETL_PROMPT_LATER); + prompt_set_style (PROMPT_LATER); /* Parse the command name. */ command = parse_command_name (lexer);