Recovered from cvs revision 2007-06-19 14:59:00
This commit is contained in:
parent
2bf9b055e6
commit
63589664ca
@ -13,9 +13,9 @@
|
|||||||
<Projects Name="aseawk.lib">awk\aseawk.bdsproj</Projects>
|
<Projects Name="aseawk.lib">awk\aseawk.bdsproj</Projects>
|
||||||
<Projects Name="aseawk++.lib">awk\aseawk++.bdsproj</Projects>
|
<Projects Name="aseawk++.lib">awk\aseawk++.bdsproj</Projects>
|
||||||
<Projects Name="aseutl.lib">utl\aseutl.bdsproj</Projects>
|
<Projects Name="aseutl.lib">utl\aseutl.bdsproj</Projects>
|
||||||
<Projects Name="asetestawk.exe">test\awk\asetestawk.bdsproj</Projects>
|
<Projects Name="aseawk.exe">test\awk\aseawk.bdsproj</Projects>
|
||||||
<Projects Name="asetestawk++.exe">test\awk\asetestawk++.bdsproj</Projects>
|
<Projects Name="aseawk++.exe">test\awk\aseawk++.bdsproj</Projects>
|
||||||
<Projects Name="Targets">asecmn.lib aseawk.lib aseawk++.lib aseutl.lib asetestawk.exe asetestawk++.exe</Projects>
|
<Projects Name="Targets">asecmn.lib aseawk.lib aseawk++.lib aseutl.lib aseawk.exe aseawk++.exe</Projects>
|
||||||
</Projects>
|
</Projects>
|
||||||
<Dependencies/>
|
<Dependencies/>
|
||||||
</Default.Personality>
|
</Default.Personality>
|
||||||
|
@ -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>
|
#include <ase/awk/Awk.hpp>
|
||||||
@ -574,6 +574,19 @@ namespace ASE
|
|||||||
return ase_awk_getmaxdepth (awk, id);
|
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 ()
|
int Awk::parse ()
|
||||||
{
|
{
|
||||||
ASE_ASSERT (awk != ASE_NULL);
|
ASE_ASSERT (awk != ASE_NULL);
|
||||||
|
@ -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_
|
#ifndef _ASE_AWK_AWK_HPP_
|
||||||
@ -411,6 +411,12 @@ namespace ASE
|
|||||||
virtual void setMaxDepth (int ids, size_t depth);
|
virtual void setMaxDepth (int ids, size_t depth);
|
||||||
virtual int getMaxDepth (int id) const;
|
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 parse ();
|
||||||
virtual int run (const char_t* main = ASE_NULL,
|
virtual int run (const char_t* main = ASE_NULL,
|
||||||
const char_t** args = ASE_NULL, size_t nargs = 0);
|
const char_t** args = ASE_NULL, size_t nargs = 0);
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
<property category="build.config.1" name="settings.win32b" value="default"/>
|
<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="type" value="Toolset"/>
|
||||||
<property category="build.config.1" name="win32.win32b.builddir" value="release"/>
|
<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="libraries" value="vcl.lib rtl.lib"/>
|
||||||
<property category="build.node" name="name" value="aseawk++.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"/>
|
<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.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.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.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.vi.enabled" value="0"/>
|
||||||
<property category="win32.Debug_Build.win32b.bcc32" name="option.y.enabled" value="1"/>
|
<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"/>
|
<property category="win32.Debug_Build.win32b.brcc32" name="option.16.enabled" value="0"/>
|
||||||
|
File diff suppressed because one or more lines are too long
@ -28,6 +28,7 @@
|
|||||||
<property category="build.config.1" name="settings.win32b" value="default"/>
|
<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="type" value="Toolset"/>
|
||||||
<property category="build.config.1" name="win32.win32b.builddir" value="release"/>
|
<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="libraries" value="vcl.lib rtl.lib"/>
|
||||||
<property category="build.node" name="name" value="asecmn.lib"/>
|
<property category="build.node" name="name" value="asecmn.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"/>
|
<property category="build.node" name="packages" value="vclx;vcl;rtl;dbrtl;vcldb;adortl;dbxcds;dbexpress;xmlrtl;vclie;inet;inetdbbde;inetdbxpress;soaprtl;dsnap;bdertl;vcldbx"/>
|
||||||
@ -63,7 +64,8 @@
|
|||||||
<property category="win32.Debug_Build.win32b.bcc32" name="option.n.enabled" value="1"/>
|
<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="0"/>
|
<property category="win32.Debug_Build.win32b.bcc32" name="option.r.enabled" value="0"/>
|
||||||
<property category="win32.Debug_Build.win32b.bcc32" name="option.v.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.vG.enabled" value="0"/>
|
||||||
|
<property category="win32.Debug_Build.win32b.bcc32" name="option.vG0.enabled" value="0"/>
|
||||||
<property category="win32.Debug_Build.win32b.bcc32" name="option.vi.enabled" value="0"/>
|
<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.bcc32" name="option.y.enabled" value="1"/>
|
||||||
<property category="win32.Debug_Build.win32b.dcc32" name="option.$D.enabled" value="1"/>
|
<property category="win32.Debug_Build.win32b.dcc32" name="option.$D.enabled" value="1"/>
|
||||||
|
@ -28,7 +28,8 @@
|
|||||||
<property category="build.config.1" name="settings.win32b" value="default"/>
|
<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="type" value="Toolset"/>
|
||||||
<property category="build.config.1" name="win32.win32b.builddir" value="release"/>
|
<property category="build.config.1" name="win32.win32b.builddir" value="release"/>
|
||||||
<property category="build.node" name="name" value="asetestawk++.exe"/>
|
<property category="build.node" name="lastconfig" value="Debug_Build"/>
|
||||||
|
<property category="build.node" name="name" value="aseawk++.exe"/>
|
||||||
<property category="build.node" name="packages" value="vclx;vcl;rtl;dbrtl;vcldb;adortl;dbxcds;dbexpress;xmlrtl;vclie;inet;inetdbbde;inetdbxpress;soaprtl;dsnap;bdertl;vcldbx"/>
|
<property category="build.node" name="packages" value="vclx;vcl;rtl;dbrtl;vcldb;adortl;dbxcds;dbexpress;xmlrtl;vclie;inet;inetdbbde;inetdbxpress;soaprtl;dsnap;bdertl;vcldbx"/>
|
||||||
<property category="build.node" name="use_packages" value="0"/>
|
<property category="build.node" name="use_packages" value="0"/>
|
||||||
<property category="build.platform" name="active" value="win32"/>
|
<property category="build.platform" name="active" value="win32"/>
|
||||||
@ -51,7 +52,7 @@
|
|||||||
<property category="win32.Debug_Build.win32b.bcc32" name="option.n.enabled" value="1"/>
|
<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="0"/>
|
<property category="win32.Debug_Build.win32b.bcc32" name="option.r.enabled" value="0"/>
|
||||||
<property category="win32.Debug_Build.win32b.bcc32" name="option.v.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.vG.enabled" value="0"/>
|
||||||
<property category="win32.Debug_Build.win32b.bcc32" name="option.vi.enabled" value="0"/>
|
<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.bcc32" name="option.y.enabled" value="1"/>
|
||||||
<property category="win32.Debug_Build.win32b.dcc32" name="option.$D.enabled" value="1"/>
|
<property category="win32.Debug_Build.win32b.dcc32" name="option.$D.enabled" value="1"/>
|
||||||
@ -250,12 +251,7 @@
|
|||||||
</IDEOPTIONS>
|
</IDEOPTIONS>
|
||||||
</BCBPROJECT>
|
</BCBPROJECT>
|
||||||
<buildevents>
|
<buildevents>
|
||||||
<buildevent file="aseawk.bdsproj">
|
<buildevent file="aseawk++.bdsproj">
|
||||||
<precompile mode="0" cancancel="0" capture="-1" showconsole="0">mkdir $(PROJECTDIR)..\..\release\win32\bds
|
|
||||||
mkdir $(PROJECTDIR)..\..\debug\win32\bds
|
|
||||||
</precompile>
|
|
||||||
</buildevent>
|
|
||||||
<buildevent file="asetestawk++.bdsproj">
|
|
||||||
<precompile mode="0" cancancel="0" capture="-1" showconsole="0">mkdir $(PROJECTDIR)..\release\bin
|
<precompile mode="0" cancancel="0" capture="-1" showconsole="0">mkdir $(PROJECTDIR)..\release\bin
|
||||||
mkdir $(PROJECTDIR)..\debug\bin
|
mkdir $(PROJECTDIR)..\debug\bin
|
||||||
</precompile>
|
</precompile>
|
@ -28,7 +28,8 @@
|
|||||||
<property category="build.config.1" name="settings.win32b" value="default"/>
|
<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="type" value="Toolset"/>
|
||||||
<property category="build.config.1" name="win32.win32b.builddir" value="release"/>
|
<property category="build.config.1" name="win32.win32b.builddir" value="release"/>
|
||||||
<property category="build.node" name="name" value="asetestawk.exe"/>
|
<property category="build.node" name="lastconfig" value="Debug_Build"/>
|
||||||
|
<property category="build.node" name="name" value="aseawk.exe"/>
|
||||||
<property category="build.node" name="packages" value="vclx;vcl;rtl;dbrtl;vcldb;adortl;dbxcds;dbexpress;xmlrtl;vclie;inet;inetdbbde;inetdbxpress;soaprtl;dsnap;bdertl;vcldbx"/>
|
<property category="build.node" name="packages" value="vclx;vcl;rtl;dbrtl;vcldb;adortl;dbxcds;dbexpress;xmlrtl;vclie;inet;inetdbbde;inetdbxpress;soaprtl;dsnap;bdertl;vcldbx"/>
|
||||||
<property category="build.node" name="use_packages" value="0"/>
|
<property category="build.node" name="use_packages" value="0"/>
|
||||||
<property category="build.platform" name="active" value="win32"/>
|
<property category="build.platform" name="active" value="win32"/>
|
||||||
@ -51,7 +52,10 @@
|
|||||||
<property category="win32.Debug_Build.win32b.bcc32" name="option.n.enabled" value="1"/>
|
<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="0"/>
|
<property category="win32.Debug_Build.win32b.bcc32" name="option.r.enabled" value="0"/>
|
||||||
<property category="win32.Debug_Build.win32b.bcc32" name="option.v.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.vG.enabled" value="0"/>
|
||||||
|
<property category="win32.Debug_Build.win32b.bcc32" name="option.vG0.enabled" value="0"/>
|
||||||
|
<property category="win32.Debug_Build.win32b.bcc32" name="option.vG2.enabled" value="0"/>
|
||||||
|
<property category="win32.Debug_Build.win32b.bcc32" name="option.vG3.enabled" value="0"/>
|
||||||
<property category="win32.Debug_Build.win32b.bcc32" name="option.vi.enabled" value="0"/>
|
<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.bcc32" name="option.y.enabled" value="1"/>
|
||||||
<property category="win32.Debug_Build.win32b.dcc32" name="option.$D.enabled" value="1"/>
|
<property category="win32.Debug_Build.win32b.dcc32" name="option.$D.enabled" value="1"/>
|
||||||
@ -249,11 +253,6 @@
|
|||||||
</BCBPROJECT>
|
</BCBPROJECT>
|
||||||
<buildevents>
|
<buildevents>
|
||||||
<buildevent file="aseawk.bdsproj">
|
<buildevent file="aseawk.bdsproj">
|
||||||
<precompile mode="0" cancancel="0" capture="-1" showconsole="0">mkdir $(PROJECTDIR)..\..\release\win32\bds
|
|
||||||
mkdir $(PROJECTDIR)..\..\debug\win32\bds
|
|
||||||
</precompile>
|
|
||||||
</buildevent>
|
|
||||||
<buildevent file="asetestawk.bdsproj">
|
|
||||||
<precompile mode="0" cancancel="0" capture="-1" showconsole="0">mkdir $(PROJECTDIR)..\release\bin
|
<precompile mode="0" cancancel="0" capture="-1" showconsole="0">mkdir $(PROJECTDIR)..\release\bin
|
||||||
mkdir $(PROJECTDIR)..\debug\bin
|
mkdir $(PROJECTDIR)..\debug\bin
|
||||||
</precompile>
|
</precompile>
|
@ -28,6 +28,7 @@
|
|||||||
<property category="build.config.1" name="settings.win32b" value="default"/>
|
<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="type" value="Toolset"/>
|
||||||
<property category="build.config.1" name="win32.win32b.builddir" value="release"/>
|
<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="libraries" value="vcl.lib rtl.lib"/>
|
||||||
<property category="build.node" name="name" value="aseutl.lib"/>
|
<property category="build.node" name="name" value="aseutl.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"/>
|
<property category="build.node" name="packages" value="vclx;vcl;rtl;dbrtl;vcldb;adortl;dbxcds;dbexpress;xmlrtl;vclie;inet;inetdbbde;inetdbxpress;soaprtl;dsnap;bdertl;vcldbx"/>
|
||||||
@ -63,7 +64,8 @@
|
|||||||
<property category="win32.Debug_Build.win32b.bcc32" name="option.n.enabled" value="1"/>
|
<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="0"/>
|
<property category="win32.Debug_Build.win32b.bcc32" name="option.r.enabled" value="0"/>
|
||||||
<property category="win32.Debug_Build.win32b.bcc32" name="option.v.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.vG.enabled" value="0"/>
|
||||||
|
<property category="win32.Debug_Build.win32b.bcc32" name="option.vG0.enabled" value="0"/>
|
||||||
<property category="win32.Debug_Build.win32b.bcc32" name="option.vi.enabled" value="0"/>
|
<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.bcc32" name="option.y.enabled" value="1"/>
|
||||||
<property category="win32.Debug_Build.win32b.dcc32" name="option.$D.enabled" value="1"/>
|
<property category="win32.Debug_Build.win32b.dcc32" name="option.$D.enabled" value="1"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user