mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-13 06:20:23 -06:00
Inline method.
This commit is contained in:
parent
8c0fdbcff0
commit
6a3222ca30
@ -1304,10 +1304,6 @@ module ts {
|
||||
parseErrorAtCurrentToken(diagnosticMessage, arg0);
|
||||
}
|
||||
|
||||
return createMissingNodeWithoutError(kind);
|
||||
}
|
||||
|
||||
function createMissingNodeWithoutError(kind: SyntaxKind) {
|
||||
var result = createNode(kind, scanner.getStartPos());
|
||||
(<Identifier>result).text = "";
|
||||
return finishNode(result);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user