Fix comment of sepolicy

This commit is contained in:
LoveSy 2024-04-02 16:19:50 +08:00 committed by John Wu
parent f57839379a
commit 652a26d5d9

View File

@ -436,6 +436,9 @@ fn extract_token<'a>(s: &'a str, tokens: &mut Vec<Token<'a>>) {
fn tokenize_statement(statement: &str) -> Vec<Token> { fn tokenize_statement(statement: &str) -> Vec<Token> {
let mut tokens = Vec::new(); let mut tokens = Vec::new();
for s in statement.split_whitespace() { for s in statement.split_whitespace() {
if s.starts_with('#') {
break;
}
extract_token(s, &mut tokens); extract_token(s, &mut tokens);
} }
tokens tokens