aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 0af2a21a220..6e133ad9c27 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -3098,8 +3098,9 @@ the prefix syntax flag (p). */)
3098 opoint = pos; 3098 opoint = pos;
3099 opoint_byte = pos_byte; 3099 opoint_byte = pos_byte;
3100 3100
3101 if (pos + 1 > beg) 3101 if (pos <= beg)
3102 DEC_BOTH (pos, pos_byte); 3102 break;
3103 DEC_BOTH (pos, pos_byte);
3103 } 3104 }
3104 3105
3105 SET_PT_BOTH (opoint, opoint_byte); 3106 SET_PT_BOTH (opoint, opoint_byte);