     [quote] = STRING_START.exec(@chunk) || []
     return 0 unless quote
 
+    prev = @prev()
+
     # If the preceding token is `from` and this is an import or export statement,
     # properly tag the `from`.
     if @tokens.length and @value() is 'from' and (@seenImport or @seenExport)

    [..., token] = @tokens
    token?[1]

  # Are we in the midst of an unfinished expression?
  unfinished: ->
    LINE_CONTINUER.test(@chunk) or

  whitespaceToken: ->
    return 0 unless (match = WHITESPACE.exec @chunk) or
                    (nline = @chunk.charAt(0) is '\n')
    prev = @prev()
    prev[if match then 'spaced' else 'newLine'] = true if prev
    if match then match[0].length else 0

