*** empty log message ***
This commit is contained in:
parent
3e8db2c72a
commit
7abd54ea12
@ -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/class.h>
|
||||
#include <xp/stx/object.h>
|
@ -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_
|
||||
#define _XP_STX_BOOTSTRAP_H_
|
||||
#ifndef _XP_STX_BOOTSTRP_H_
|
||||
#define _XP_STX_BOOTSTRP_H_
|
||||
|
||||
#include <xp/stx/stx.h>
|
||||
|
@ -1,7 +1,7 @@
|
||||
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 \
|
||||
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
|
||||
|
||||
CC = lcc
|
||||
|
@ -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>
|
||||
@ -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)
|
||||
{
|
||||
if (token->size >= token->capacity) {
|
||||
// double the capacity.
|
||||
/* double the capacity. */
|
||||
xp_stx_char_t* space = (xp_stx_char_t*)xp_stx_realloc (
|
||||
token->buffer, (token->capacity * 2 + 1) * xp_sizeof(xp_stx_char_t));
|
||||
if (space == XP_NULL) return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user