diff options
| author | Paul Eggert | 2018-03-01 16:24:41 -0800 |
|---|---|---|
| committer | Paul Eggert | 2018-03-01 16:25:42 -0800 |
| commit | 2038b6a1dd2a4a27ac363a0901276255c37e79d8 (patch) | |
| tree | 03974e4e84353003a72abb8ff446420985f10f8d /src/kqueue.c | |
| parent | e58f9a45d6a31be4ca379e10a866766e0993f49e (diff) | |
| download | emacs-2038b6a1dd2a4a27ac363a0901276255c37e79d8.tar.gz emacs-2038b6a1dd2a4a27ac363a0901276255c37e79d8.zip | |
make-docfile: minor fixes and cleanups
* lib-src/make-docfile.c: Include c-ctype.h.
(read_c_string_or_comment, write_c_args, scan_c_stream, skip_white)
(read_lisp_symbol, scan_lisp_file):
Prefer c_isspace etc. to listing characters by hand.
(read_c_string_or_comment): Simplify.
(scan_c_stream, read_lisp_symbol): Use true for boolean 1.
(scan_c_stream): Fix typo (c >= 'Z' && c <= 'Z').
Minor rewrites to avoid duplicate code.
(scan_c_stream, read_lisp_symbol, scan_lisp_file):
Avoid infloop if at EOF.
(skip_white, read_lisp_symbol): Don’t stuff getc result into
‘char’, as this mishandles EOF.
Diffstat (limited to 'src/kqueue.c')
0 files changed, 0 insertions, 0 deletions