[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lost argument and doc string
From: |
Jason Rumney |
Subject: |
Re: lost argument and doc string |
Date: |
13 Feb 2002 19:50:17 +0000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.90 |
Tak Ota <address@hidden> writes:
> --- lib-src/make-docfile.c Tue Feb 12 11:28:01 2002
> ***************
> *** 911,925 ****
> else
> while (c != ')')
> c = getc (infile);
> - skip_white (infile);
>
> ! /* If the next three characters aren't `dquote bslash newline'
> ! then we're not reading a docstring.
> ! */
> ! if ((c = getc (infile)) != '"'
> ! || (c = getc (infile)) != '\\'
> ! || ((c = getc (infile)) != '\n' && c != '\r'))
> ! {
> #ifdef DEBUG
> fprintf (stderr, "## non-docstring in %s (%s)\n",
> buffer, filename);
> --- 911,920 ----
> else
> while (c != ')')
> c = getc (infile);
>
> ! skip_white (infile);
> ! if ((c = getc (infile)) != '\"')
> ! {
> #ifdef DEBUG
> fprintf (stderr, "## non-docstring in %s (%s)\n",
> buffer, filename);
Be careful that the following does the right thing:
(defvar string-variable "String value" "\
This is the documentation for a string variable.")
That seems like the only logical reason for the current convention.
--
Jason Rumney
- Re: lost argument and doc string, (continued)
- Re: lost argument and doc string, Eli Zaretskii, 2002/02/11
- Re: lost argument and doc string, Tak Ota, 2002/02/11
- Re: lost argument and doc string, Eli Zaretskii, 2002/02/12
- Re: lost argument and doc string, Tak Ota, 2002/02/12
- Re: lost argument and doc string, Jason Rumney, 2002/02/12
- Re: lost argument and doc string, Tak Ota, 2002/02/12
- Re: lost argument and doc string, Eli Zaretskii, 2002/02/13
- Re: lost argument and doc string, Tak Ota, 2002/02/13
- Re: lost argument and doc string, Andreas Schwab, 2002/02/13
- Re: lost argument and doc string, Eli Zaretskii, 2002/02/13
- Re: lost argument and doc string,
Jason Rumney <=
- Re: lost argument and doc string, Tak Ota, 2002/02/13
- Re: lost argument and doc string, Jason Rumney, 2002/02/13
- Re: lost argument and doc string, Tak Ota, 2002/02/14
- Re: lost argument and doc string, Richard Stallman, 2002/02/15
- Re: lost argument and doc string, Tak Ota, 2002/02/15
- Re: lost argument and doc string, Tak Ota, 2002/02/13
- Re: lost argument and doc string, Richard Stallman, 2002/02/13
- Re: lost argument and doc string, Tak Ota, 2002/02/14
- Re: lost argument and doc string, Richard Stallman, 2002/02/13
- Re: lost argument and doc string, Richard Stallman, 2002/02/11