EgtGeneral :
- aggiunto controllo massimo numero chiamate annidate di RUN.
This commit is contained in:
@@ -420,6 +420,9 @@ CmdParser::ExecuteRun( const string& sCmd2, const STRVECTOR& vsParams)
|
||||
// 1 parametro : nome file di script da eseguire
|
||||
if ( vsParams.size() != 1)
|
||||
return false ;
|
||||
// controllo massimo numero di annidamenti
|
||||
if ( m_nLev >= 5)
|
||||
return false ;
|
||||
// esecuzione comando
|
||||
++ m_nLev ;
|
||||
bool bOk = Run( vsParams[0]) ;
|
||||
|
||||
Reference in New Issue
Block a user