| 1705 | } |
| 1706 | |
| 1707 | static void dump_num(dump_buf_t *b, const char *tag, long v) { |
| 1708 | int n = snprintf(b->buf + b->len, b->cap - b->len, " %s=%ld", tag, v); |
| 1709 | if (n > 0 && (size_t)n < b->cap - b->len) { |
| 1710 | b->len += (size_t)n; |
| 1711 | } |
| 1712 | } |
| 1713 | |
| 1714 | /* The Module def spans the whole file, and its end line follows the line |
| 1715 | * convention for a terminated last line (#1967), so it is compared on its own |