linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Alexey Zaytsev" <alexey.zaytsev@gmail.com>
To: Hannes Eder <hannes@hanneseder.net>
Cc: linux-sparse@vger.kernel.org
Subject: Re: [PATCH] Add -ftabstop=WIDTH
Date: Wed, 31 Dec 2008 18:29:49 +0300	[thread overview]
Message-ID: <f19298770812310729k6dbe23b2vba2a79f0c86597c@mail.gmail.com> (raw)
In-Reply-To: <20081231124108.10969.28189.stgit@vmbox.hanneseder.net>

On Wed, Dec 31, 2008 at 15:41, Hannes Eder <hannes@hanneseder.net> wrote:
> Make tokenizer aware of tabstops and add the commandline option:
>
> -ftabstop=WIDTH
>    Set the distance between tab stops.  This helps sparse report correct
>    column numbers in warnings or errors.  If the value is less than 1 or
>    greater than 100, the option is ignored.  The default is 8.

Handling tabs is probably a good idea, but making tabstop an option looks
a bit like overkill. Maybe just hardcode it as 8?

  reply	other threads:[~2008-12-31 15:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-31 12:41 [PATCH] Add -ftabstop=WIDTH Hannes Eder
2008-12-31 15:29 ` Alexey Zaytsev [this message]
2008-12-31 20:26 ` Christopher Li
2009-01-02 14:22   ` [PATCH v2] " Hannes Eder
2009-01-03 12:01     ` Junio C Hamano
2009-01-03 23:19       ` Christopher Li
2009-01-04  9:05         ` Junio C Hamano
2009-01-07  0:37           ` Christopher Li
2009-01-08 19:18         ` [PATCH v3] " Hannes Eder
2009-01-08 20:13           ` Christopher Li
2009-01-08 20:50             ` [PATCH] refactor handle_switch_f Hannes Eder
2009-01-09  4:25               ` Christopher Li
2009-01-03 22:41     ` [PATCH v2] Add -ftabstop=WIDTH Christopher Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f19298770812310729k6dbe23b2vba2a79f0c86597c@mail.gmail.com \
    --to=alexey.zaytsev@gmail.com \
    --cc=hannes@hanneseder.net \
    --cc=linux-sparse@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).