       if contents in ['\n', quote] then contents else match
     body = body.replace /// #{quote} ///g, '\\$&'
     quote + @escapeLines(body, heredoc) + quote
-
-  # Throws a syntax error from current `@line`.
-  carp: (message) -> throw SyntaxError "#{message} on line #{ @line + 1}"
+    
+  # Throws a syntax error on the current `@line`.
+  error: (message) -> 
+    throw SyntaxError "#{message} on line #{ @line + 1}"
 
 # Constants
 # ---------

           @literalToken()

    @closeIndentation()
    @carp "missing #{tag}" if tag = @ends.pop()
    return @tokens if opts.rewrite is off
    (new Rewriter).rewrite @tokens


    {indent, herecomment} = options
    if herecomment
      if HEREDOC_ILLEGAL.test doc
        @error "block comment cannot contain \"*/\", starting"
      return doc if doc.indexOf('\n') <= 0
    else
      while match = HEREDOC_INDENT.exec doc
