diff --git a/ase/stx/bootstrap.c b/ase/stx/bootstrp.c similarity index 98% rename from ase/stx/bootstrap.c rename to ase/stx/bootstrp.c index 4e65ed95..90286aa3 100644 --- a/ase/stx/bootstrap.c +++ b/ase/stx/bootstrp.c @@ -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 +#include #include #include #include diff --git a/ase/stx/bootstrap.h b/ase/stx/bootstrp.h similarity index 56% rename from ase/stx/bootstrap.h rename to ase/stx/bootstrp.h index bf301b90..d18f4a72 100644 --- a/ase/stx/bootstrap.h +++ b/ase/stx/bootstrp.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 diff --git a/ase/stx/makefile.lcc b/ase/stx/makefile.lcc index bc3175a4..09560e88 100644 --- a/ase/stx/makefile.lcc +++ b/ase/stx/makefile.lcc @@ -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 diff --git a/ase/stx/token.c b/ase/stx/token.c index 72541ed9..fe151a62 100644 --- a/ase/stx/token.c +++ b/ase/stx/token.c @@ -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 @@ -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;