diff options
| author | Paul Eggert | 2011-03-16 14:29:13 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-16 14:29:13 -0700 |
| commit | cef2010db4a6e9f7264e60620c0e84123245e696 (patch) | |
| tree | 70b049c954bfbab2165d20f511c09d67f5a9e3a1 /src | |
| parent | d4d7173a912c261de01021649468f06df1b1a5a3 (diff) | |
| download | emacs-cef2010db4a6e9f7264e60620c0e84123245e696.tar.gz emacs-cef2010db4a6e9f7264e60620c0e84123245e696.zip | |
* lread.c (read1): Rewrite so as not to use empty "else".
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/lread.c | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 690a585b641..8bdb71c582b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-03-16 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-03-16 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * lread.c (read1): Rewrite so as not to use empty "else". | ||
| 4 | |||
| 3 | * print.c (Fredirect_debugging_output): Fix pointer signedess. | 5 | * print.c (Fredirect_debugging_output): Fix pointer signedess. |
| 4 | 6 | ||
| 5 | * lisp.h (debug_output_compilation_hack): Add decl here, to avoid | 7 | * lisp.h (debug_output_compilation_hack): Add decl here, to avoid |
diff --git a/src/lread.c b/src/lread.c index 3c5b627f98c..a287ed0e4bd 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -2781,8 +2781,9 @@ read1 (register Lisp_Object readcharfun, int *pch, int first_in_list) | |||
| 2781 | p = read_buffer + nchars; | 2781 | p = read_buffer + nchars; |
| 2782 | } | 2782 | } |
| 2783 | else | 2783 | else |
| 2784 | /* Otherwise, READ_BUFFER contains only ASCII. */ | 2784 | { |
| 2785 | ; | 2785 | /* Otherwise, READ_BUFFER contains only ASCII. */ |
| 2786 | } | ||
| 2786 | 2787 | ||
| 2787 | /* We want readchar_count to be the number of characters, not | 2788 | /* We want readchar_count to be the number of characters, not |
| 2788 | bytes. Hence we adjust for multibyte characters in the | 2789 | bytes. Hence we adjust for multibyte characters in the |