added another test for the parser
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user