diff options
| author | Thomas Preud'homme <thomas.preudhomme@celest.fr> | 2010-04-11 01:53:40 +0200 |
|---|---|---|
| committer | Thomas Preud'homme <thomas.preudhomme@celest.fr> | 2010-04-15 19:05:53 +0200 |
| commit | 8de9b7a6314a4e93e88518b0b2f0e084cbc448b0 (patch) | |
| tree | 22b5b68bfe683115a2e64201ca34f34ca1b6ddd9 /tcc.h | |
| parent | 6655e06ec851e3541f2f47187f95956e5003c7b8 (diff) | |
| download | tinycc-8de9b7a6314a4e93e88518b0b2f0e084cbc448b0.tar.gz tinycc-8de9b7a6314a4e93e88518b0b2f0e084cbc448b0.tar.bz2 | |
Correctly support all unary expression with sizeof
Unary expression can start with a parenthesis. Thus, the current test
to detect which sizeof form is being parsed is inaccurate. This patch
makes tcc able to handle things like sizeof (x)[1] where x is declared
as char x[5]; wich is a valid unary expression
Diffstat (limited to 'tcc.h')
0 files changed, 0 insertions, 0 deletions
