diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-09-06 15:11:26 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-09-06 15:11:26 -0400 |
| commit | fb216e955f04a803f11953be27e76bd4d2c9e76d (patch) | |
| tree | de2c471c5416ec2ee490bdb33f5e3e202d94675a /src/environment.c | |
| parent | 73246764f88f6f652316ee0c138a990d836698a7 (diff) | |
Use colons instead of '=' for tables (e.g. {1: 2})
Diffstat (limited to 'src/environment.c')
| -rw-r--r-- | src/environment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/environment.c b/src/environment.c index 7ac54a7a..421f993e 100644 --- a/src/environment.c +++ b/src/environment.c @@ -372,7 +372,7 @@ env_t *global_env(bool source_mapping) { {"starts_with", "Text$starts_with", "func(text,prefix:Text, remainder:&Text? = none -> Bool)"}, // {"title", "Text$title", "func(text:Text, language='C' -> Text)"}, // {"to", "Text$to", "func(text:Text, last:Int -> Text)"}, // - {"translate", "Text$translate", "func(text:Text, translations:{Text=Text} -> Text)"}, // + {"translate", "Text$translate", "func(text:Text, translations:{Text:Text} -> Text)"}, // {"trim", "Text$trim", "func(text:Text, to_trim=\" \t\r\n\", left=yes, right=yes -> Text)"}, // {"upper", "Text$upper", "func(text:Text, language='C' -> Text)"}, // {"utf32_codepoints", "Text$utf32_codepoints", "func(text:Text -> [Int32])"}, // |
