fixed null-pointer constants and SkipToNewLine()

This commit is contained in:
eck
1989-12-12 12:52:03 +00:00
parent 1d3b1f73e4
commit b59ed5e96e
7 changed files with 62 additions and 47 deletions

View File

@@ -146,7 +146,7 @@ size_of(register struct expr **expp;)
[%if (first_of_type_specifier(AHEAD) && AHEAD != IDENTIFIER)
cast(&tp)
{
*expp = intexpr(size_of_type(tp, "type"), INT);
*expp = intexpr(size_of_type(tp, "type"), ULONG);
(*expp)->ex_flags |= EX_SIZEOF;
}
|