public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: zippel@linux-m68k.org
Cc: linux-kernel@vger.kernel.org
Subject: tabs on otherwise empty lines
Date: Sun, 29 Dec 2002 14:25:38 -0800	[thread overview]
Message-ID: <20021229222538.GK29422@holomorphy.com> (raw)

The <HELP> state is willing to consume config options as part of help
texts AFAICT:

(1)	[ \t]+  {
(2)	\n/[^ \t\n] {
(3)	[ \t]*\n        {
(4)	[^ \t\n].* {
(5)	<<EOF>> {

Now consider: "\tSome help text.\n\t\nconfig FOO\n\tdepends on BAR\n"

"\tSome help text." is consumed by (1).
"\n" is consumed by (3).
"\t\n" is consumed by (3) again.
"config FOO" is consumed by (4), which resets first_ts to last_ts,
	which does not actually change the value of first_ts.
"\tdepends on BAR\n" is consumed by (1), and does not zconf_endhelp()
	as the indentation level is the same as for "\tSome help text."

Better boundary detection logic is needed here.

Thanks,
Bill

             reply	other threads:[~2002-12-29 22:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-29 22:25 William Lee Irwin III [this message]
2002-12-30  2:37 ` tabs on otherwise empty lines Roman Zippel

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=20021229222538.GK29422@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zippel@linux-m68k.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