mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-29 16:30:19 +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. */
|
always represents itself no matter what the encoding is. */
|
||||||
for (c = scm_get_byte_or_eof (port);
|
for (c = scm_get_byte_or_eof (port);
|
||||||
(c != EOF) && (c != '\n');
|
(c != EOF) && (c != '\n');
|
||||||
c = scm_getc (port));
|
c = scm_get_byte_or_eof (port));
|
||||||
|
|
||||||
return SCM_UNSPECIFIED;
|
return SCM_UNSPECIFIED;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue