From 4072e141073c03371623d4c1c5fd13a5ad0f2902 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Mon, 2 Sep 2002 05:51:14 +0000 Subject: [PATCH] Added REM which does euhm nothing Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@255 --- src/shell/shell_cmds.cpp | 6 ++++-- src/shell/shell_inc.h | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/shell/shell_cmds.cpp b/src/shell/shell_cmds.cpp index 1dcec3bc..aeb5a441 100644 --- a/src/shell/shell_cmds.cpp +++ b/src/shell/shell_cmds.cpp @@ -37,6 +37,8 @@ static SHELL_Cmd cmd_list[]={ "IF", 0, &DOS_Shell::CMD_IF, "Performs conditional processing in batch programs.", "GOTO", 0, &DOS_Shell::CMD_GOTO, "Jump to a labeled line in a batch script.", "TYPE", 0, &DOS_Shell::CMD_TYPE, "Display the contents of a text-file.", + "REM", 0, &DOS_Shell::CMD_REM, "Add comments in a batch file.", + /* "CHDIR", 0, &DOS_Shell::CMD_CHDIR, "Change Directory", "MKDIR", 0, &DOS_Shell::CMD_MKDIR, "Make Directory", @@ -377,5 +379,5 @@ nextfile: if (*args) goto nextfile; } - - +void DOS_Shell::CMD_REM(char * args) { +} \ No newline at end of file diff --git a/src/shell/shell_inc.h b/src/shell/shell_inc.h index d76d4ba9..b44c6134 100644 --- a/src/shell/shell_inc.h +++ b/src/shell/shell_inc.h @@ -77,6 +77,7 @@ public: void CMD_IF(char * args); void CMD_GOTO(char * args); void CMD_TYPE(char * args); + void CMD_REM(char * args); void SyntaxError(void); /* The shell's variables */