tccgen: scopes levels for local symbols (update 1)

Catch top level redeclarations too.

Also fix mistakes in tcctest.c and the tcc sources (win32)
showing up now.
This commit is contained in:
grischka
2016-05-05 20:04:00 +02:00
parent fe845cf53d
commit d48662d496
5 changed files with 21 additions and 13 deletions

View File

@ -31,6 +31,8 @@
#define __need_wchar_t
#include "stddef.h"
#ifndef __int8_t_defined
#define __int8_t_defined
/* 7.18.1.1 Exact-width integer types */
typedef signed char int8_t;
typedef unsigned char uint8_t;
@ -40,6 +42,7 @@ typedef int int32_t;
typedef unsigned uint32_t;
typedef long long int64_t;
typedef unsigned long long uint64_t;
#endif
/* 7.18.1.2 Minimum-width integer types */
typedef signed char int_least8_t;