*** empty log message ***
This commit is contained in:
parent
899dea38f0
commit
198b42407e
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: awk_i.h,v 1.44 2006-08-13 05:55:02 bacon Exp $
|
||||
* $Id: awk_i.h,v 1.45 2006-08-16 09:35:21 bacon Exp $
|
||||
*/
|
||||
|
||||
#ifndef _XP_AWK_AWKI_H_
|
||||
@ -27,7 +27,7 @@ typedef struct xp_awk_tree_t xp_awk_tree_t;
|
||||
#include <xp/awk/run.h>
|
||||
#include <xp/awk/extio.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (disable: 4996)
|
||||
#endif
|
||||
|
||||
|
1
ase/awk/makefile.ntddk
Normal file
1
ase/awk/makefile.ntddk
Normal file
@ -0,0 +1 @@
|
||||
!INCLUDE $(NTMAKEENV)\makefile.def
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: rex.c,v 1.20 2006-08-16 08:55:43 bacon Exp $
|
||||
* $Id: rex.c,v 1.21 2006-08-16 09:35:21 bacon Exp $
|
||||
*/
|
||||
|
||||
#include <xp/awk/awk_i.h>
|
||||
@ -49,6 +49,10 @@ enum
|
||||
CHARSET_CLASS_ALNUM
|
||||
};
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (disable: 4296)
|
||||
#endif
|
||||
|
||||
#define BOUND_MIN 0
|
||||
#define BOUND_MAX (XP_TYPE_MAX(xp_size_t))
|
||||
|
||||
|
71
ase/awk/sa.h
71
ase/awk/sa.h
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: sa.h,v 1.29 2006-08-13 16:04:32 bacon Exp $
|
||||
* $Id: sa.h,v 1.30 2006-08-16 09:35:21 bacon Exp $
|
||||
*/
|
||||
|
||||
#ifndef _XP_AWK_SA_H_
|
||||
@ -15,29 +15,58 @@
|
||||
#error Neither XP_CHAR_IS_MCHAR nor XP_CHAR_IS_WCHAR is defined.
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <assert.h>
|
||||
#ifdef XP_AWK_NTDDK
|
||||
#include <ntddk.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef XP_CHAR_IS_MCHAR
|
||||
#include <ctype.h>
|
||||
#ifdef XP_CHAR_IS_MCHAR
|
||||
#include <ctype.h>
|
||||
#else
|
||||
#include <ctype.h>
|
||||
#include <wchar.h>
|
||||
#endif
|
||||
|
||||
#define xp_assert ASSERT
|
||||
|
||||
#define xp_malloc malloc
|
||||
#define xp_calloc calloc
|
||||
#define xp_realloc realloc
|
||||
#define xp_free free
|
||||
|
||||
#define xp_memset(dst,fill,len) RtlFillMemory(dst,len,fill)
|
||||
#define xp_memcpy(dst,src,len) RtlCopyMemory(dst,src,len)
|
||||
#define xp_memcmp(src1,src2,len) RtlCompareMemory(src1,src2,len);
|
||||
#else
|
||||
#include <ctype.h>
|
||||
#include <wchar.h>
|
||||
#if !defined(__BEOS__)
|
||||
#include <wctype.h>
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <assert.h>
|
||||
|
||||
#ifdef XP_CHAR_IS_MCHAR
|
||||
#include <ctype.h>
|
||||
#else
|
||||
#include <ctype.h>
|
||||
#include <wchar.h>
|
||||
#if !defined(__BEOS__)
|
||||
#include <wctype.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define xp_assert assert
|
||||
|
||||
#define xp_malloc malloc
|
||||
#define xp_calloc calloc
|
||||
#define xp_realloc realloc
|
||||
#define xp_free free
|
||||
|
||||
#define xp_memset(dst,fill,len) memset(dst,fill,len)
|
||||
#define xp_memcpy(dst,src,len) memcpy(dst,src,len)
|
||||
#define xp_memcmp(src1,src2,len) memcmp(src1,src2,len);
|
||||
#endif
|
||||
|
||||
#define xp_malloc malloc
|
||||
#define xp_calloc calloc
|
||||
#define xp_realloc realloc
|
||||
#define xp_free free
|
||||
#define xp_memset memset
|
||||
#define xp_memcpy memcpy
|
||||
#define xp_assert assert
|
||||
|
||||
#ifdef XP_CHAR_IS_MCHAR
|
||||
#define xp_isdigit isdigit
|
||||
@ -69,8 +98,6 @@
|
||||
#define xp_tolower towlower
|
||||
#endif
|
||||
|
||||
#define xp_memcpy memcpy
|
||||
#define xp_memcmp memcmp
|
||||
|
||||
#define xp_va_start(pvar,param) va_start(pvar,param)
|
||||
#define xp_va_list va_list
|
||||
|
8
ase/awk/sources
Normal file
8
ase/awk/sources
Normal file
@ -0,0 +1,8 @@
|
||||
TARGETNAME=xpawk
|
||||
TARGETPATH=obj
|
||||
TARGETTYPE=DRIVER_LIBRARY
|
||||
|
||||
SOURCES=awk.c err.c tree.c tab.c map.c parse.c run.c sa.c val.c func.c misc.c extio.c rex.c
|
||||
|
||||
C_DEFINES=-DXP_AWK_STAND_ALONE -DXP_AWK_NTDDK
|
||||
INCLUDES=..\..
|
Loading…
Reference in New Issue
Block a user