index.js
function addPosition (error, message) {
        error.message = (
          message + ' at ' +
          'line ' + token.position.line + ', ' +
          'column ' + token.position.column
        )
        error.position = token.position
        return error
      }
function addPosition (error, message) {
        error.message = (
          message + ' at ' +
          'line ' + token.position.line + ', ' +
          'column ' + token.position.column
        )
        error.position = token.position
        return error
      }
function addPosition ( error , message ) { error . message = ( message + ' at ' + 'line ' + token . position . line + ', ' + 'column ' + token . position . column ) error . position = token . position return error }
Add position information to errors.
Add position information to errors .