From b5faa3c4cef4d8a076a2de9953806ea90c9052d7 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 27 Jun 2008 09:13:11 +0200 Subject: misc small changes: corrected version, removed some debug output, ..., restructured makefile, added some troubleshooting to test case (program rscript-parse.c has problem due to different structure alignment, where I do not yet know the reason) --- runtime/ctok.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'runtime/ctok.c') diff --git a/runtime/ctok.c b/runtime/ctok.c index 927e6a47..11951d28 100644 --- a/runtime/ctok.c +++ b/runtime/ctok.c @@ -390,7 +390,6 @@ ctokGetToken(ctok_t *pThis, ctok_token_t **ppToken) uchar szWord[128]; int bRetry = 0; /* retry parse? Only needed for inline comments... */ -dbgprintf("ctokGetToken\n"); ISOBJ_TYPE_assert(pThis, ctok); ASSERT(ppToken != NULL); @@ -409,7 +408,6 @@ dbgprintf("ctokGetToken\n"); /* find the next token. We may loop when we have inline comments */ do { -dbgprintf("we search for a new token\n"); bRetry = 0; CHKiRet(ctokSkipWhitespaceFromStream(pThis)); CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a charater */ @@ -529,6 +527,7 @@ dbgprintf("we search for a new token\n"); dbgoprint((obj_t*) pToken, "token: %d\n", pToken->tok); finalize_it: +//dbgprintf("ctokGetToken, returns %d, returns token %d, addr %p\n", iRet, (*ppToken)->tok, &((*ppToken)->tok)); if(iRet != RS_RET_OK) { if(pToken != NULL) ctok_token.Destruct(&pToken); -- cgit