new built-in getCurrentScriptDirectory; new cli option syntax; added -p option to profile programs and -H to set heap size; fixed a bug in string.cat
This commit is contained in:
@@ -489,12 +489,12 @@ static inline TokenKind next(Context *ctx, const char *file, int line)
|
||||
Token *prev = ctx->token;
|
||||
|
||||
ctx->token = ctx->token->next;
|
||||
|
||||
/*
|
||||
fprintf(stderr, "NEXT [%.*s] -> [%.*s] from %s:%d\n",
|
||||
prev->length, ctx->src + prev->offset,
|
||||
ctx->token->length, ctx->src + ctx->token->offset,
|
||||
file, line);
|
||||
|
||||
*/
|
||||
return current(ctx);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user