This commit is contained in:
parent
088751e5a9
commit
961c493986
@ -62,7 +62,7 @@ libaseawk___la_OBJECTS = $(am_libaseawk___la_OBJECTS)
|
|||||||
@ENABLE_CXX_TRUE@am_libaseawk___la_rpath = -rpath $(libdir)
|
@ENABLE_CXX_TRUE@am_libaseawk___la_rpath = -rpath $(libdir)
|
||||||
libaseawk_la_DEPENDENCIES =
|
libaseawk_la_DEPENDENCIES =
|
||||||
am_libaseawk_la_OBJECTS = awk.lo err.lo tree.lo tab.lo parse.lo run.lo \
|
am_libaseawk_la_OBJECTS = awk.lo err.lo tree.lo tab.lo parse.lo run.lo \
|
||||||
rec.lo val.lo func.lo misc.lo extio.lo
|
rec.lo val.lo func.lo misc.lo extio.lo std.lo
|
||||||
libaseawk_la_OBJECTS = $(am_libaseawk_la_OBJECTS)
|
libaseawk_la_OBJECTS = $(am_libaseawk_la_OBJECTS)
|
||||||
DEFAULT_INCLUDES =
|
DEFAULT_INCLUDES =
|
||||||
depcomp = $(SHELL) $(top_srcdir)/autoconf/depcomp
|
depcomp = $(SHELL) $(top_srcdir)/autoconf/depcomp
|
||||||
@ -210,7 +210,7 @@ target_alias = @target_alias@
|
|||||||
AUTOMAKE_OPTIONS = nostdinc
|
AUTOMAKE_OPTIONS = nostdinc
|
||||||
AM_CPPFLAGS = -I$(top_srcdir)/include
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
lib_LTLIBRARIES = libaseawk.la $(am__append_1)
|
lib_LTLIBRARIES = libaseawk.la $(am__append_1)
|
||||||
libaseawk_la_SOURCES = awk.c err.c tree.c tab.c parse.c run.c rec.c val.c func.c misc.c extio.c awk_i.h extio.h func.h misc.h parse.h run.h tab.h tree.h
|
libaseawk_la_SOURCES = awk.c err.c tree.c tab.c parse.c run.c rec.c val.c func.c misc.c extio.c std.c awk_i.h extio.h func.h misc.h parse.h run.h tab.h tree.h
|
||||||
libaseawk_la_LDFLAGS = -L../cmn -version-info 1:0:0
|
libaseawk_la_LDFLAGS = -L../cmn -version-info 1:0:0
|
||||||
libaseawk_la_LIBADD = -lasecmn
|
libaseawk_la_LIBADD = -lasecmn
|
||||||
@ENABLE_CXX_TRUE@libaseawk___la_SOURCES = Awk.cpp StdAwk.cpp
|
@ENABLE_CXX_TRUE@libaseawk___la_SOURCES = Awk.cpp StdAwk.cpp
|
||||||
@ -297,6 +297,7 @@ distclean-compile:
|
|||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parse.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parse.Plo@am__quote@
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rec.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rec.Plo@am__quote@
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/run.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/run.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/std.Plo@am__quote@
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tab.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tab.Plo@am__quote@
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tree.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tree.Plo@am__quote@
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/val.Plo@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/val.Plo@am__quote@
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "awk_i.h"
|
||||||
#include <ase/utl/stdio.h>
|
#include <ase/utl/stdio.h>
|
||||||
|
#include <ase/utl/helper.h>
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
typedef struct ext_t
|
typedef struct ext_t
|
||||||
{
|
{
|
||||||
@ -36,9 +43,10 @@ static void custom_awk_dprintf (void* custom, const ase_char_t* fmt, ...)
|
|||||||
ase_awk_t* ase_awk_openstd (void)
|
ase_awk_t* ase_awk_openstd (void)
|
||||||
{
|
{
|
||||||
ase_awk_t* awk;
|
ase_awk_t* awk;
|
||||||
|
ext_t* ext;
|
||||||
|
|
||||||
awk = ase_awk_open (ASE_GETMMGR(), ASE_SIZEOF(ext_t), ASE_NULL);
|
awk = ase_awk_open (ASE_GETMMGR(), ASE_SIZEOF(ext_t), ASE_NULL);
|
||||||
ase_awk_setccls (ASE_GETCCLS());
|
ase_awk_setccls (awk, ASE_GETCCLS());
|
||||||
|
|
||||||
ext = (ext_t*) ase_awk_getextension (awk);
|
ext = (ext_t*) ase_awk_getextension (awk);
|
||||||
ext->prmfns.pow = custom_awk_pow;
|
ext->prmfns.pow = custom_awk_pow;
|
||||||
|
Loading…
Reference in New Issue
Block a user