Parser - Fixed can_use_return()
This commit is contained in:
parent
d6ea1c3099
commit
3dea0c9a45
1 changed files with 1 additions and 1 deletions
|
@ -773,7 +773,7 @@ impl Parser {
|
||||||
let mut pos = self.loop_state.len() - 1;
|
let mut pos = self.loop_state.len() - 1;
|
||||||
loop {
|
loop {
|
||||||
if self.loop_state[pos] == LoopParsingState::None {
|
if self.loop_state[pos] == LoopParsingState::None {
|
||||||
return pos == 0;
|
return pos != 0;
|
||||||
}
|
}
|
||||||
pos -= 1;
|
pos -= 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue