added another test for the parser

This commit is contained in:
2025-03-19 15:16:43 -04:00
parent bbcbbe0ada
commit 3b0e576d29
11 changed files with 20179 additions and 17 deletions

View File

@@ -615,6 +615,7 @@ impl ParseStream {
if self.check_keyword("esac") {
node_tks.push(self.next_tk().unwrap());
self.assert_separator(&mut node_tks)?;
break
}
@@ -623,6 +624,7 @@ impl ParseStream {
}
}
let node = Node {
class: NdRule::CaseNode { pattern, case_blocks },
flags: NdFlags::empty(),