Rename parameter
This commit is contained in:
parent
4a96491d5b
commit
cdd5b6a7e9
1 changed files with 2 additions and 2 deletions
|
@ -917,9 +917,9 @@ namespace ts {
|
||||||
return token > SyntaxKind.LastReservedWord;
|
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 (token === kind) {
|
||||||
if (advance) {
|
if (shouldAdvance) {
|
||||||
nextToken();
|
nextToken();
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue