We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbecae3 commit f233801Copy full SHA for f233801
1 file changed
src/compiler/scanner.ts
@@ -1039,7 +1039,7 @@ module ts {
1039
value = 0;
1040
}
1041
tokenValue = "" + value;
1042
- return SyntaxKind.NumericLiteral;
+ return token = SyntaxKind.NumericLiteral;
1043
1044
else if (pos + 2 < len && (text.charCodeAt(pos + 1) === CharacterCodes.O || text.charCodeAt(pos + 1) === CharacterCodes.o)) {
1045
pos += 2;
@@ -1049,7 +1049,7 @@ module ts {
1049
1050
1051
1052
1053
1054
// Try to parse as an octal
1055
if (pos + 1 < len && isOctalDigit(text.charCodeAt(pos + 1))) {
0 commit comments