Fixed Pish errors, prompt now prints, core dump after prompt input still
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
#define COMMON_H
|
||||
|
||||
typedef struct CommandStruct {
|
||||
char** argv;
|
||||
char* argv[100]; // Max 100 commands
|
||||
int argc;
|
||||
} CommandStruct;
|
||||
|
||||
|
||||
+1
-1
@@ -6,6 +6,6 @@
|
||||
void Pish(void);
|
||||
void Execute(char* command);
|
||||
char* GetInput(void);
|
||||
void ParseInput(char* inputString, CommandStruct command);
|
||||
void ParseInput(char* inputString, CommandStruct* command);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user