X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fcommand.c;h=032e4d7f1c4613410f8e318053264481b0a46683;hb=2d4dd90964061defa92972156ae2a12323708519;hp=cfae2ba03e5ec4b2b5c1f56e90f2c5993ed9d7c0;hpb=2997cc6481d0744e910eccb6f23d56efe93d32d3;p=pspp-builds.git diff --git a/src/language/command.c b/src/language/command.c index cfae2ba0..032e4d7f 100644 --- a/src/language/command.c +++ b/src/language/command.c @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #include #include @@ -162,7 +162,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 +172,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);