diff options
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c index df89836d099..371ddedbd74 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -1507,9 +1507,15 @@ between them, return t; otherwise return nil.") | |||
| 1507 | 1507 | ||
| 1508 | while (count1 < 0) | 1508 | while (count1 < 0) |
| 1509 | { | 1509 | { |
| 1510 | while (from > stop) | 1510 | while (1) |
| 1511 | { | 1511 | { |
| 1512 | int quoted; | 1512 | int quoted; |
| 1513 | if (from <= stop) | ||
| 1514 | { | ||
| 1515 | SET_PT (stop); | ||
| 1516 | immediate_quit = 0; | ||
| 1517 | return Qnil; | ||
| 1518 | } | ||
| 1513 | 1519 | ||
| 1514 | DEC_POS (from); | 1520 | DEC_POS (from); |
| 1515 | quoted = char_quoted (from); | 1521 | quoted = char_quoted (from); |