===========================================================================
| 8556 | |
| 8557 | //=========================================================================== |
| 8558 | int 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 | //=========================================================================== |
no test coverage detected