On 04/12/2011 09:21 PM, Steven Schveighoffer wrote:
int main(){ int a,b; do{ scanf("%d %d",&a,&b); }while(a<b) //note missing semicolon here return 0; }The grammar specifies this correctly, but then again, the example uses the semicolon. (http://www.digitalmars.com/d/2.0/statement.html#DoStatement) [...] I think the grammar should be changed...
yop!
This is almost as bad as go's requirement for if statement opening block to be on the same line...
why? I like Go's syntactuc diffs. (except for its "multi-for") denis -- _________________ vita es estrany spir.wikidot.com
