diff options
| author | 2025-10-15 10:45:12 +0200 | |
|---|---|---|
| committer | 2025-10-15 10:45:12 +0200 | |
| commit | 437efda31319573dcf67337d1cc6e4a23a6967a4 (patch) | |
| tree | 364c4e568a97b1d574d72289206a19e8494ab6e4 /lex.h | |
| parent | 867d9eba4f85406b466accb913f0ab8e2d410a41 (diff) | |
misc
Diffstat (limited to 'lex.h')
| -rw-r--r-- | lex.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ static inline bool joinspan(struct span0 *dst, struct span0 snd) { if (dst->file != snd.file) return 0; - assert(dst->off <= snd.off); + if (dst->off > snd.off) return 0; dst->len = snd.off + snd.len - dst->off; return 1; } |