emacs-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]