Skip to content

Commit 11702a0

Browse files
committed
update parser for match
1 parent 21da9c0 commit 11702a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sshdconfig/src/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl SshdConfigParser {
6060
}
6161
match node.kind() {
6262
"keyword" => self.parse_keyword_node(node, input, input_bytes),
63-
"comment" | "empty_line" => Ok(()),
63+
"comment" | "empty_line" | "match" => Ok(()), // TODO: do not ignore match nodes when parsing
6464
_ => Err(SshdConfigError::ParserError(t!("parser.unknownNodeType", node = node.kind()).to_string())),
6565
}
6666
}

0 commit comments

Comments
 (0)