diff options
| author | wrmr | 2025-10-19 20:44:58 -0400 |
|---|---|---|
| committer | wrmr | 2025-10-19 20:44:58 -0400 |
| commit | 468d82256a4e7172ef305923167853452a248554 (patch) | |
| tree | c1aa47ac1506317d0571d9f0c4311cde3b033de1 | |
| parent | d6348a4ba833f99b049766574628c23943a60e97 (diff) | |
support both # and ; comments in cbinkrc
| -rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1248,9 +1248,9 @@ int load_config(Arena *perm, Arena *temp) { continue; } if (!fn) continue; - line = str_trim(line); + line = str_trim(str_cut(line, '#').head); + line = str_trim(str_cut(line, ';').head); if (!line.n) continue; - if (line.s[0] == '#') continue; Cut c = str_cut(line, '='); c.head = str_trim(c.head); c.tail = str_trim(c.tail); |
