|
@@ -17,7 +17,7 @@ public class LispImpl implements Lisp {
|
|
return this.parseList(explode);
|
|
return this.parseList(explode);
|
|
} else {
|
|
} else {
|
|
//Element seul
|
|
//Element seul
|
|
- if(explode.size() > 1) {
|
|
|
|
|
|
+ if(explode.size() > 0) {
|
|
throw new LispError("Invalid format");
|
|
throw new LispError("Invalid format");
|
|
}
|
|
}
|
|
return this.parseElement(val);
|
|
return this.parseElement(val);
|