ref: 2afac7e64519cbcbf3d081a9061329badcf88344
parent: a993e8c13722106027d20e89369be1cc02753083
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sat Aug 15 07:13:11 EDT 2015
Convert second expression of for(;;) in a condition
--- a/cc1/stmt.c
+++ b/cc1/stmt.c
@@ -91,7 +91,7 @@
expect('(');
einit = (yytoken != ';') ? expr() : NULL;
expect(';');
- econd = (yytoken != ';') ? expr() : NULL;
+ econd = (yytoken != ';') ? condition() : NULL;
expect(';');
einc = (yytoken != ')') ? expr() : NULL;
expect(')');