summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>2004-01-24 16:27:32 +0100
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:48:49 +0200
commitbeba34dc223aa0dcf3e5f696966c5e8408b022c3 (patch)
treeea0523ac242bd3e877338e9a771b975d4cd3839a /cpp
parentb5dac1e3bdd01a2ce105df747a9073ff0d6a94e2 (diff)
downloaddev86-beba34dc223aa0dcf3e5f696966c5e8408b022c3.tar.gz
Import Dev86src-0.16.15.tar.gzv0.16.15
Diffstat (limited to 'cpp')
-rw-r--r--cpp/cpp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/cpp.c b/cpp/cpp.c
index 7fcc4b5..7d287f4 100644
--- a/cpp/cpp.c
+++ b/cpp/cpp.c
@@ -134,8 +134,8 @@ gettok()
if( ch == TK_WORD )
{
- struct token_trans *p;
- if( p=is_ckey(curword, strlen(curword)) )
+ struct token_trans *p = is_ckey(curword, strlen(curword)) ;
+ if( p )
return p->token;
}
@@ -551,7 +551,7 @@ unchget(ch)
fprintf(stderr, "\b", ch);
#endif
if(ch == 0) return; /* Hummm */
- if(ch == EOF) ch=EOT; /* EOF is pushed back as ^Z */
+ if(ch == EOF) ch=EOT; /* EOF is pushed back as a normal character. */
ch &= 0xFF;
if(unputc&0xFF000000)