mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
Faster read of semicolon comments
There is no need to do character encoding processing within semicolon comments. * libguile/read.c (scm_read_semicolon_comment): changed
This commit is contained in:
parent
44d3d11144
commit
8a8da78d97
1 changed files with 1 additions and 1 deletions
|
@ -860,7 +860,7 @@ scm_read_semicolon_comment (int chr, SCM port)
|
|||
always represents itself no matter what the encoding is. */
|
||||
for (c = scm_get_byte_or_eof (port);
|
||||
(c != EOF) && (c != '\n');
|
||||
c = scm_getc (port));
|
||||
c = scm_get_byte_or_eof (port));
|
||||
|
||||
return SCM_UNSPECIFIED;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue