clever-lang/clever — Issue #128: Weird logical structure problem
Author: gogo40
Created: 2012-02-22 23:50:54+00:00
State: open
Labels: Bug, Compiler, Critical, Parser

This code is doing clever enter in infinite loop:

```
Int x=0; if(x==1){println("1=",x);} elseif (x==0) { println("2=",x); } else if(x==3) {println("ola");}
```

And, this one is generating a compile error:

```
if (reLookingHostname.matches(line)) {
/* Looking up for your hostname... */
println("* Looking up for your hostname...");
authenticate();
} else if (reWelcome.matches(line)) {
/* 001 Welcome */
println("* 001 Welcome.");
connected = True;
join();
} else {
println("No match: " + line);
}
```