MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / ParseInput

Function ParseInput

source/Debugger/Debug.cpp:8558–8575  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

8556
8557//===========================================================================
8558int ParseInput ( LPTSTR pConsoleInput, bool bCook )
8559{
8560 int nArg = 0;
8561
8562 // TODO: need to check for non-quoted command separator ';', and buffer input
8563 RemoveWhiteSpaceReverse( pConsoleInput );
8564
8565 ArgsClear();
8566 nArg = ArgsGet( pConsoleInput ); // Get the Raw Args
8567
8568 int iArg;
8569 for ( iArg = 0; iArg <= nArg; iArg++ )
8570 {
8571 g_aArgs[ iArg ] = g_aArgRaw[ iArg ];
8572 }
8573
8574 return nArg;
8575}
8576
8577// Return address of next line to write to.
8578//===========================================================================

Callers 1

DebuggerProcessCommandFunction · 0.85

Calls 3

RemoveWhiteSpaceReverseFunction · 0.85
ArgsClearFunction · 0.85
ArgsGetFunction · 0.85

Tested by

no test coverage detected