Make LastToken point to OfKeyword

This commit is contained in:
Jason Freeman 2015-02-19 16:43:28 -08:00
parent fa85b22962
commit 0d09dd5948

View File

@ -142,7 +142,7 @@ module ts {
StringKeyword,
SymbolKeyword,
TypeKeyword,
OfKeyword,
OfKeyword, // LastKeyword and LastToken
// Parse tree nodes
// Names
@ -269,7 +269,7 @@ module ts {
FirstPunctuation = OpenBraceToken,
LastPunctuation = CaretEqualsToken,
FirstToken = Unknown,
LastToken = TypeKeyword,
LastToken = OfKeyword,
FirstTriviaToken = SingleLineCommentTrivia,
LastTriviaToken = ConflictMarkerTrivia,
FirstLiteralToken = NumericLiteral,