@@ -824,7 +824,7 @@ module ts {
824824 // to reuse are already at the appropriate position in the new text. That way when we
825825 // reuse them, we don't have to figure out if they need to be adjusted. Second, it makes
826826 // it very easy to determine if we can reuse a node. If the node's position is at where
827- // we are in the text, then we can reuse it. Otherwise we can't. If hte node's position
827+ // we are in the text, then we can reuse it. Otherwise we can't. If the node's position
828828 // is ahead of us, then we'll need to rescan tokens. If the node's position is behind
829829 // us, then we'll need to skip it or crumble it as appropriate
830830 //
@@ -1029,7 +1029,7 @@ module ts {
10291029 // that some tokens that would be considered identifiers may be considered keywords.
10301030 //
10311031 // When adding more parser context flags, consider which is the more common case that the
1032- // flag will be in. This should be hte 'false' state for that flag. The reason for this is
1032+ // flag will be in. This should be the 'false' state for that flag. The reason for this is
10331033 // that we don't store data in our nodes unless the value is in the *non-default* state. So,
10341034 // for example, more often than code 'allows-in' (or doesn't 'disallow-in'). We opt for
10351035 // 'disallow-in' set to 'false'. Otherwise, if we had 'allowsIn' set to 'true', then almost
@@ -1040,7 +1040,7 @@ module ts {
10401040 //
10411041 // An important thing about these context concepts. By default they are effectively inherited
10421042 // while parsing through every grammar production. i.e. if you don't change them, then when
1043- // you parse a sub-production, it will have the same context values as hte parent production.
1043+ // you parse a sub-production, it will have the same context values as the parent production.
10441044 // This is great most of the time. After all, consider all the 'expression' grammar productions
10451045 // and how nearly all of them pass along the 'in' and 'yield' context values:
10461046 //
@@ -1793,7 +1793,7 @@ module ts {
17931793 // some node, then we cannot get a node from the old source tree. This is because we
17941794 // want to mark the next node we encounter as being unusable.
17951795 //
1796- // Note: This may be too conservative. Perhaps we could reuse hte node and set the bit
1796+ // Note: This may be too conservative. Perhaps we could reuse the node and set the bit
17971797 // on it (or its leftmost child) as having the error. For now though, being conservative
17981798 // is nice and likely won't ever affect perf.
17991799 if ( parseErrorBeforeNextFinishedNode ) {
0 commit comments