                   parentTokenIdx? and
                   tokenStack[parentTokenIdx].type is token and
                   tokenStack[parentTokenIdx].row is ( row - 1)
-                    tagIndentation = firstCharIndentation =
+                    tokenIndentation = firstCharIndentation =
                       @eslintIndentOptions.jsxIndent[1] + @getIndentOfPreviousRow row
                     indentRecalc = @indentRow({row: row, blockIndent: firstCharIndentation})
               else if parentTokenIdx?

              name: ''
              row: row
              firstTagInLineIndentation: firstTagInLineIndentation
              tagIndentation: tagIndentation
              firstCharIndentation: firstCharIndentation
              parentTokenIdx: parentTokenIdx
              termsThisTagsAttributesIdx: null  # ptr to > tag

        firstCharIndentation = (@editor.indentationForBufferRow row)
        # convert the matched column position into tab indents
        if @editor.getSoftTabs()
          tokenIndentation = (matchColumn / @editor.getTabLength())
        else tokenIndentation =
          do (@editor) ->
            hardTabsFound = charsFound = 0
            for i in [0...matchColumn]
              if ((line.substr i, 1) is '\t')
                hardTabsFound++
              else
                charsFound++
            return hardTabsFound + ( charsFound / @editor.getTabLength() )

        if isFirstTokenOfLine
          firstTagInLineIndentation =  tokenIndentation

        # big switch statement follows for each token. If the line is reformated
        # then we recalculate the new position.
