From 8c0ac28fd9ff006154e78ffabd75a088cb8fe087 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 10 Jun 2008 08:18:10 +0200 Subject: fixed syntax error (typo in var name) and cleaup --- runtime/ctok.c | 10 ++++------ runtime/ctok_token.c | 2 -- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'runtime') diff --git a/runtime/ctok.c b/runtime/ctok.c index de2bd8a8..c938a292 100644 --- a/runtime/ctok.c +++ b/runtime/ctok.c @@ -413,15 +413,15 @@ ctokGetToken(ctok_t *pThis, ctok_token_t **ppToken) CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a charater */ switch(c) { case '=': /* == */ - CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a charater */ + CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a character */ pToken->tok = (c == '=')? ctok_CMP_EQ : ctok_INVALID; break; case '!': /* != */ - CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a charater */ + CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a character */ pToken->tok = (c == '=')? ctok_CMP_NEQ : ctok_INVALID; break; case '<': /* <, <=, <> */ - CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a charater */ + CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a character */ if(c == '=') { pToken->tok = ctok_CMP_LTEQ; } else if(c == '>') { @@ -431,7 +431,7 @@ ctokGetToken(ctok_t *pThis, ctok_token_t **ppToken) } break; case '>': /* >, >= */ - CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a charater */ + CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a character */ if(c == '=') { pToken->tok = ctok_CMP_GTEQ; } else { @@ -567,8 +567,6 @@ CODESTARTobjQueryInterface(ctok) * work here (if we can support an older interface version - that, * of course, also affects the "if" above). */ - //xxxpIf->oID = OBJctok; - pIf->Construct = ctokConstruct; pIf->ConstructFinalize = ctokConstructFinalize; pIf->Destruct = ctokDestruct; diff --git a/runtime/ctok_token.c b/runtime/ctok_token.c index 0f340675..8c17f693 100644 --- a/runtime/ctok_token.c +++ b/runtime/ctok_token.c @@ -109,8 +109,6 @@ CODESTARTobjQueryInterface(ctok_token) * work here (if we can support an older interface version - that, * of course, also affects the "if" above). */ - //xxxpIf->oID = OBJctok_token; - pIf->Construct = ctok_tokenConstruct; pIf->ConstructFinalize = ctok_tokenConstructFinalize; pIf->Destruct = ctok_tokenDestruct; -- cgit