From: Jim Blandy <jimb@redhat.com>
To: insight@sources.redhat.com
Subject: Don't recognize 'option' in midst of prefs line
Date: Thu, 14 Aug 2003 05:03:00 -0000 [thread overview]
Message-ID: <vt27k5g3k3c.fsf@zenia.home> (raw)
Does this look right?
It seems like something similar should be done for the case
immediately above this one, for section markers. But I don't really
know enough about the official syntax of Windows config files to say
for sure.
2003-08-13 Jim Blandy <jimb@redhat.com>
* library/prefs.tcl (pref_read): The word 'option' must be the
first thing on the line; it doesn't count if it appears in the
middle of the line.
Index: gdb/gdbtk/library/prefs.tcl
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/prefs.tcl,v
retrieving revision 1.27
diff -c -r1.27 prefs.tcl
*** gdb/gdbtk/library/prefs.tcl 29 Jul 2003 22:08:10 -0000 1.27
--- gdb/gdbtk/library/prefs.tcl 14 Aug 2003 04:59:16 -0000
***************
*** 92,98 ****
regexp {\[(.*)\]} $line match section
}
! {[ \t\n]*option.*} {
set line [string trimleft $line]
eval $line
}
--- 92,98 ----
regexp {\[(.*)\]} $line match section
}
! {^[ \t\n]*option.*} {
set line [string trimleft $line]
eval $line
}
next reply other threads:[~2003-08-14 5:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-14 5:03 Jim Blandy [this message]
2003-08-14 16:09 ` Keith Seitz
2003-12-11 22:20 Jim Blandy
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=vt27k5g3k3c.fsf@zenia.home \
--to=jimb@redhat.com \
--cc=insight@sources.redhat.com \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).