mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-22 16:07:39 +00:00
Fix comment of sepolicy
This commit is contained in:
parent
f57839379a
commit
652a26d5d9
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user