Rename parameter
This commit is contained in:
parent
4a96491d5b
commit
cdd5b6a7e9
|
@ -917,9 +917,9 @@ namespace ts {
|
|||
return token > SyntaxKind.LastReservedWord;
|
||||
}
|
||||
|
||||
function parseExpected(kind: SyntaxKind, diagnosticMessage?: DiagnosticMessage, advance = true): boolean {
|
||||
function parseExpected(kind: SyntaxKind, diagnosticMessage?: DiagnosticMessage, shouldAdvance = true): boolean {
|
||||
if (token === kind) {
|
||||
if (advance) {
|
||||
if (shouldAdvance) {
|
||||
nextToken();
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue