From 2f15387e73435c1cf5bf61a766021bb69d46158c Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 8 Oct 2025 17:15:13 +0800 Subject: WIP(image): actually parse and build from ast --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index f926b00..67c2e43 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,7 +5,7 @@ use java2flowchart::image::FlowChart; use java2flowchart::parser; fn main() { - let test = "if (first) {firstthen; if (firstthenif) {firstthenifthen} else {firstthenelse}} else {firstelse}println('a')"; + let test = "first; if (first) {firstthen; if (firstthenif) {firstthenifthen} else {firstthenelse}} else {firstelse}println('a'); second; thirdlongprocess"; let ast = parse(&parser::parse(test)); -- cgit v1.2.3