Update based on PR feedback
This commit is contained in:
parent
8a60952100
commit
13e00e4a3d
11 changed files with 47 additions and 32 deletions
|
@ -579,7 +579,9 @@ impl<'a> Parser<'a> {
|
|||
if self.is_keyword(kw) {
|
||||
self.bump();
|
||||
true
|
||||
} else { false }
|
||||
} else {
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
/// If the given word is not a keyword, signal an error.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue