diff options
| author | Alan Mackenzie | 2023-05-22 16:09:07 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2023-05-22 16:11:20 +0000 |
| commit | f33b301c29380cb0b295e1343e59c0faaf6ab621 (patch) | |
| tree | c76802a63656e4ceec14ce15f7364be9ee31a185 /exec/exec.c | |
| parent | 0cb1d695b429fceb45a11cd7ed73f3bb9ce7002f (diff) | |
| download | emacs-f33b301c29380cb0b295e1343e59c0faaf6ab621.tar.gz emacs-f33b301c29380cb0b295e1343e59c0faaf6ab621.zip | |
Fix syntax bugs involving escaped newlines in comments
This fixes bug#63535
* src/syntax.c (forw_comment): take the initial syntax from the
argument PREV_SYNTAX rather than checking the buffer position
for a backslash. Update the state at each character scanned.
(scan_sexps_forward): When the end position is escaped after a
call to forw_comment, return this status to the caller.
Diffstat (limited to 'exec/exec.c')
0 files changed, 0 insertions, 0 deletions