handle void properly, avoid 0-alignments, handle #if defined(..)

This commit is contained in:
ceriel
1986-12-01 10:00:23 +00:00
parent 5296d5f9e7
commit 5617c657b6
16 changed files with 187 additions and 148 deletions

View File

@@ -267,7 +267,7 @@ go_on: /* rescan, the following character has been read */
if (idef->id_macro && ReplaceMacros && replace(idef))
/* macro replacement should be performed */
goto again;
if (UnknownIdIsZero) {
if (UnknownIdIsZero && idef->id_reserved != SIZEOF) {
ptok->tk_ival = (arith)0;
ptok->tk_fund = INT;
return ptok->tk_symb = INTEGER;