while without braces
This commit is contained in:
parent
d5a3e6dad4
commit
785079e554
1 changed files with 6 additions and 0 deletions
|
@ -581,6 +581,12 @@ public class JavaParser extends Parser<JavaElement> {
|
||||||
.unique((validator) -> validator.validate((token) -> token.getValue().equals("}")))
|
.unique((validator) -> validator.validate((token) -> token.getValue().equals("}")))
|
||||||
.end((a,b) -> a);
|
.end((a,b) -> a);
|
||||||
|
|
||||||
|
operation_while.then(new RedirectStateTree<>(operation, (global, local) -> global.set(null)))
|
||||||
|
.end((a,b) -> {
|
||||||
|
System.out.println("JHUGYUFKHJO");
|
||||||
|
return a;
|
||||||
|
});
|
||||||
|
|
||||||
operation_while.then((validator) -> validator.validate((token) -> token.getValue().equals(";")))
|
operation_while.then((validator) -> validator.validate((token) -> token.getValue().equals(";")))
|
||||||
.end((a,b) -> a);
|
.end((a,b) -> a);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue