Don't need this reference
This commit is contained in:
parent
761500b9d6
commit
b45d09e81a
@ -174,7 +174,7 @@ impl Parser {
|
|||||||
let mut ast = Vec::new(); //TODO have this come from previously-parsed tree
|
let mut ast = Vec::new(); //TODO have this come from previously-parsed tree
|
||||||
loop {
|
loop {
|
||||||
let result: ParseResult<Statement> = match self.peek() {
|
let result: ParseResult<Statement> = match self.peek() {
|
||||||
Some(ref t) if is_delimiter(&t) => {
|
Some(ref t) if is_delimiter(t) => {
|
||||||
self.next();
|
self.next();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user