Skip to content

Commit 12e05b6

Browse files
committed
Fix merge conflict
1 parent 824f362 commit 12e05b6

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/Parser.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -385,17 +385,6 @@ private function eat(...$kinds) {
385385
return new MissingToken($kinds[0], $token->fullStart);
386386
}
387387

388-
/** @param int $kind */
389-
private function eat1($kind) {
390-
$token = $this->token;
391-
if ($token->kind === $kind) {
392-
$this->token = $this->lexer->scanNextToken();
393-
return $token;
394-
}
395-
// TODO include optional grouping for token kinds
396-
return new MissingToken($kind, $token->fullStart);
397-
}
398-
399388
/**
400389
* Retrieve the current token, and check that it's of the kind $kind.
401390
* If so, advance and return the token. Otherwise return a MissingToken for

0 commit comments

Comments
 (0)