Recovered from cvs revision 2007-06-19 14:59:00

This commit is contained in:
2007-06-19 23:59:00 +00:00
parent 2bf9b055e6
commit 63589664ca
9 changed files with 306 additions and 34 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: Awk.cpp,v 1.41 2007/06/16 13:34:47 bacon Exp $
* $Id: Awk.cpp,v 1.42 2007/06/19 03:59:38 bacon Exp $
*/
#include <ase/awk/Awk.hpp>
@ -574,6 +574,19 @@ namespace ASE
return ase_awk_getmaxdepth (awk, id);
}
int Awk::setWord (const ase_char_t* ow, const ase_char_t* nw)
{
return setWord (ow, ase_strlen(ow), nw, ase_strlen(nw));
}
int Awk::setWord (
const ase_char_t* ow, ase_size_t owl,
const ase_char_t* nw, ase_size_t nwl)
{
ASE_ASSERT (awk != ASE_NULL);
return ase_awk_setword (awk, ow, owl, nw, nwl);
}
int Awk::parse ()
{
ASE_ASSERT (awk != ASE_NULL);

View File

@ -1,5 +1,5 @@
/*
* $Id: Awk.hpp,v 1.39 2007/06/16 13:34:47 bacon Exp $
* $Id: Awk.hpp,v 1.40 2007/06/19 03:59:38 bacon Exp $
*/
#ifndef _ASE_AWK_AWK_HPP_
@ -411,6 +411,12 @@ namespace ASE
virtual void setMaxDepth (int ids, size_t depth);
virtual int getMaxDepth (int id) const;
virtual int setWord (
const ase_char_t* ow, const ase_char_t* nw);
virtual int setWord (
const ase_char_t* ow, ase_size_t owl,
const ase_char_t* nw, ase_size_t nwl);
virtual int parse ();
virtual int run (const char_t* main = ASE_NULL,
const char_t** args = ASE_NULL, size_t nargs = 0);

View File

@ -28,6 +28,7 @@
<property category="build.config.1" name="settings.win32b" value="default"/>
<property category="build.config.1" name="type" value="Toolset"/>
<property category="build.config.1" name="win32.win32b.builddir" value="release"/>
<property category="build.node" name="lastconfig" value="Debug_Build"/>
<property category="build.node" name="libraries" value="vcl.lib rtl.lib"/>
<property category="build.node" name="name" value="aseawk++.lib"/>
<property category="build.node" name="packages" value="vclx;vcl;rtl;dbrtl;vcldb;adortl;dbxcds;dbexpress;xmlrtl;vclie;inet;inetdbbde;inetdbxpress;soaprtl;dsnap;bdertl;vcldbx"/>
@ -56,7 +57,6 @@
<property category="win32.Debug_Build.win32b.bcc32" name="option.n.enabled" value="1"/>
<property category="win32.Debug_Build.win32b.bcc32" name="option.r.enabled" value="1"/>
<property category="win32.Debug_Build.win32b.bcc32" name="option.v.enabled" value="1"/>
<property category="win32.Debug_Build.win32b.bcc32" name="option.vG.enabled" value="1"/>
<property category="win32.Debug_Build.win32b.bcc32" name="option.vi.enabled" value="0"/>
<property category="win32.Debug_Build.win32b.bcc32" name="option.y.enabled" value="1"/>
<property category="win32.Debug_Build.win32b.brcc32" name="option.16.enabled" value="0"/>

File diff suppressed because one or more lines are too long