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 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'runtime/ctok.c') 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; -- cgit v1.2.3