ezrosent / frawk

an efficient awk-like language
Apache License 2.0
1.24k stars 34 forks source link

Continue does not jump to correct point in loop #106

Open andrewchambers opened 6 months ago

andrewchambers commented 6 months ago
BEGIN {
    for (i = 0 ; i < 10 ; i += 1) {
        if (1)
            continue;
    }
    print("ok")
}
$ awk -f bug.awk
ok
$ frawk -f bug.awk
# infinite loop.