Fixed crash with labels in non-function/block scopes.
This commit is contained in:
@@ -1485,7 +1485,7 @@ static void ParseTypeSpec (DeclSpec* D, long Default, TypeCode Qualifiers,
|
|||||||
** long as it has no qualifiers.
|
** long as it has no qualifiers.
|
||||||
*/
|
*/
|
||||||
D->Flags |= DS_DEF_TYPE;
|
D->Flags |= DS_DEF_TYPE;
|
||||||
D->Type[0].C = T_QUAL_NONE;
|
D->Type[0].C = T_INT;
|
||||||
D->Type[1].C = T_END;
|
D->Type[1].C = T_END;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user