diff options
| author | grischka <grischka> | 2010-08-21 13:39:12 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2010-08-21 13:39:12 +0200 |
| commit | 4ab4efd3a69e0e10262b3010aa9162e73b1cddfb (patch) | |
| tree | d35348f9c6f3ac92a81de70b96c5dd41c1a4117e /win32/include/sys | |
| parent | 7901d1e3ad19b630c39388612a5ad7c0bf84df39 (diff) | |
| download | tinycc-4ab4efd3a69e0e10262b3010aa9162e73b1cddfb.tar.gz tinycc-4ab4efd3a69e0e10262b3010aa9162e73b1cddfb.tar.bz2 | |
Revert "implemented C99 for loop with variable declaration"
This reverts commit 433ecdfc9d1402ecf03e710de481e2063ad6de90.
The patch breaks e.g. with
for ((i = 10); --i;);
In particular to check for a type decl. this is not sufficient:
if (tok < TOK_UIDENT) {
A future approach to c99 loop variables might instead use:
if (parse_btype(...)) {
plus refactor function decl() accordingly.
Diffstat (limited to 'win32/include/sys')
0 files changed, 0 insertions, 0 deletions
