Added extra_info as resolve-call site addendum

This commit is contained in:
2026-04-12 19:45:47 +02:00
parent cf1abadfc9
commit 1fdaee0b57
3 changed files with 17 additions and 12 deletions

View File

@@ -20,6 +20,11 @@ export function string_has_contents(str) {
return /\S/.test(str);
}
export function parse_csv(str) {
// NOTE: This is for simple comma separated values, a future RFC-4180 compatible version would have to be in a different module in this library (or be a third party thing)
return str.split(',').map(element => element.trim());
}
export function *indented_line_iterator(settings, text) {
let line_no = settings.first_line;