mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-29 22:40:34 +02:00
Fix source location bug for neoteric exprs introduced by refactoring
* libguile/read.c (scm_read_expression): Ungetc after capturing the column.
This commit is contained in:
parent
e9c5a1719b
commit
64c89458e6
1 changed files with 1 additions and 1 deletions
|
@ -1893,9 +1893,9 @@ scm_read_expression (SCM port, scm_t_read_opts *opts)
|
|||
int c = flush_ws (port, opts, (char *) NULL);
|
||||
if (c == EOF)
|
||||
return SCM_EOF_VAL;
|
||||
scm_ungetc (c, port);
|
||||
line = scm_port_line (port);
|
||||
column = scm_port_column (port);
|
||||
scm_ungetc (c, port);
|
||||
}
|
||||
|
||||
expr = read_inner_expression (port, opts);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue