added comment about how bad typedef behaviour can be reproduced

This commit is contained in:
Daniel Marjamäki 2011-05-07 14:40:47 +02:00
parent 8e5c63104c
commit 03cd57260a
1 changed files with 4 additions and 0 deletions

View File

@ -2427,6 +2427,10 @@ bool Tokenizer::tokenize(std::istream &code,
simplifyTypedef();
// catch bad typedef canonicalization
//
// to reproduce bad typedef, download upx-ucl from:
// http://packages.debian.org/sid/upx-ucl
// analyse the file src/stub/src/i386-linux.elf.interp-main.c
if (!validate())
{
// Source has syntax errors, can't proceed