if(foo){ bar=baz; } else { bar=gazong; }
Ok. Compiler Error: 1:else without if. Compiler Error: 1:parse error, unexpected '{' Compiler Error: 1:parse error, unexpected '}' Compiler Error: 1:Missing ';'.
if(foo) bar=baz; else bar=gazong;
Ok. Compiler Error: 1:parse error, unexpected TOK_ELSE
putting the statement on multiple lines does not help. in a file there are no problems.
greetings, martin.
pike-devel@lists.lysator.liu.se