*** empty log message ***

This commit is contained in:
hyung-hwan 2005-05-23 12:06:53 +00:00
parent 3e8db2c72a
commit 7abd54ea12
4 changed files with 9 additions and 9 deletions

View File

@ -1,8 +1,8 @@
/* /*
* $Id: bootstrap.c,v 1.3 2005-05-22 17:02:58 bacon Exp $ * $Id: bootstrp.c,v 1.1 2005-05-23 12:06:53 bacon Exp $
*/ */
#include <xp/stx/bootstrap.h> #include <xp/stx/bootstrp.h>
#include <xp/stx/symbol.h> #include <xp/stx/symbol.h>
#include <xp/stx/class.h> #include <xp/stx/class.h>
#include <xp/stx/object.h> #include <xp/stx/object.h>

View File

@ -1,9 +1,9 @@
/* /*
* $Id: bootstrap.h,v 1.1 2005-05-22 15:38:31 bacon Exp $ * $Id: bootstrp.h,v 1.1 2005-05-23 12:06:53 bacon Exp $
*/ */
#ifndef _XP_STX_BOOTSTRAP_H_ #ifndef _XP_STX_BOOTSTRP_H_
#define _XP_STX_BOOTSTRAP_H_ #define _XP_STX_BOOTSTRP_H_
#include <xp/stx/stx.h> #include <xp/stx/stx.h>

View File

@ -1,7 +1,7 @@
SRCS = stx.c memory.c object.c symbol.c class.c \ SRCS = stx.c memory.c object.c symbol.c class.c \
hash.c misc.c context.c token.c parser.c bootstrap.c hash.c misc.c context.c token.c parser.c bootstrp.c
OBJS = stx.obj memory.obj object.obj symbol.obj class.obj \ OBJS = stx.obj memory.obj object.obj symbol.obj class.obj \
hash.obj misc.obj context.obj token.obj parser.obj bootstrap.obj hash.obj misc.obj context.obj token.obj parser.obj bootstrp.obj
OUT = xpstx.lib OUT = xpstx.lib
CC = lcc CC = lcc

View File

@ -1,5 +1,5 @@
/* /*
* $Id: token.c,v 1.2 2005-05-22 13:41:14 bacon Exp $ * $Id: token.c,v 1.3 2005-05-23 12:06:53 bacon Exp $
*/ */
#include <xp/stx/token.h> #include <xp/stx/token.h>
@ -46,7 +46,7 @@ void xp_stx_token_close (xp_stx_token_t* token)
int xp_stx_token_addc (xp_stx_token_t* token, xp_stx_cint_t c) int xp_stx_token_addc (xp_stx_token_t* token, xp_stx_cint_t c)
{ {
if (token->size >= token->capacity) { if (token->size >= token->capacity) {
// double the capacity. /* double the capacity. */
xp_stx_char_t* space = (xp_stx_char_t*)xp_stx_realloc ( xp_stx_char_t* space = (xp_stx_char_t*)xp_stx_realloc (
token->buffer, (token->capacity * 2 + 1) * xp_sizeof(xp_stx_char_t)); token->buffer, (token->capacity * 2 + 1) * xp_sizeof(xp_stx_char_t));
if (space == XP_NULL) return -1; if (space == XP_NULL) return -1;