Recovered from cvs revision 2007-05-23 03:45:00
This commit is contained in:
parent
2a75f49e57
commit
698794fb61
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: Awk.cpp,v 1.35 2007/05/19 16:45:27 bacon Exp $
|
||||
* $Id: Awk.cpp,v 1.36 2007/05/22 16:01:25 bacon Exp $
|
||||
*/
|
||||
|
||||
#include <ase/awk/Awk.hpp>
|
||||
@ -364,6 +364,16 @@ namespace ASE
|
||||
{
|
||||
}
|
||||
|
||||
void Awk::Run::setMaxBlockDepth (size_t n)
|
||||
{
|
||||
ase_awk_setmaxdepth (awk->awk, ASE_AWK_DEPTH_BLOCK_RUN, n);
|
||||
}
|
||||
|
||||
void Awk::Run::setMaxExpressionDepth (size_t n)
|
||||
{
|
||||
ase_awk_setmaxdepth (awk->awk, ASE_AWK_DEPTH_EXPR_RUN, n);
|
||||
}
|
||||
|
||||
int Awk::Run::stop ()
|
||||
{
|
||||
ASE_ASSERT (this->run != ASE_NULL);
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: Awk.hpp,v 1.33 2007/05/19 16:45:27 bacon Exp $
|
||||
* $Id: Awk.hpp,v 1.34 2007/05/22 16:01:25 bacon Exp $
|
||||
*/
|
||||
|
||||
#ifndef _ASE_AWK_AWK_HPP_
|
||||
@ -369,6 +369,9 @@ namespace ASE
|
||||
size_t getErrorLine () const;
|
||||
const char_t* getErrorMessage () const;
|
||||
|
||||
void setMaxBlockDepth (size_t n);
|
||||
void setMaxExpressionDepth (size_t n);
|
||||
|
||||
protected:
|
||||
Awk* awk;
|
||||
run_t* run;
|
||||
|
Loading…
Reference in New Issue
Block a user