oxfeeefeee/goscript

Infinite loop with certain input

MakotoE opened this issue · 2 comments

This section of the code loops infinitely with input `.

#[test]
fn test() {
    let mut fs = fe::FileSet::new();
    let o = &mut fe::objects::Objects::new();
    let el = &mut fe::errors::ErrorList::new();
    parse_file(o, &mut fs, el, "/a", "`", false);
}

fixed

and thanks for the first issue!