Skip to content

Commit

Permalink
Fix check for token emulation conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Sep 26, 2020
1 parent 1b479e7 commit b9b65a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PhpParser/Lexer.php
Expand Up @@ -439,7 +439,7 @@ private function defineCompatibilityTokens() {
$token, $clashingToken
));
}
$usedTokenIds[$token] = $tokenId;
$usedTokenIds[$tokenId] = $token;
}
}

Expand Down

0 comments on commit b9b65a2

Please sign in to comment.