diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2025-09-20 14:57:37 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2025-09-20 15:00:55 -0700 |
| commit | bf1278deff54ec70bc0a8bbf6ff55638b993c0af (patch) | |
| tree | 7b62dd451eef2ef207ecabf5b51ef0feeb2ca9f9 /src/unicode/main.zig | |
| parent | c277ef8d82a36edb6883deefb0c6d2dddb31360b (diff) | |
unicode: isolate properties, tables, and ziglyph into separate files
This makes it cleaner to add new sources of table generation and also
avoids inadvertently depending on different modules (despite Zig's lazy
analysis).
This also fixes up terminal to only use our look up tables which avoids
bringing ziglyph in for the terminal module.
Diffstat (limited to 'src/unicode/main.zig')
| -rw-r--r-- | src/unicode/main.zig | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/unicode/main.zig b/src/unicode/main.zig index 17c86deca..ae50075ff 100644 --- a/src/unicode/main.zig +++ b/src/unicode/main.zig @@ -1,14 +1,13 @@ pub const lut = @import("lut.zig"); const grapheme = @import("grapheme.zig"); -const props = @import("props.zig"); -pub const table = props.table; -pub const Properties = props.Properties; -pub const getProperties = props.get; +pub const table = @import("props_table.zig").table; +pub const Properties = @import("Properties.zig"); pub const graphemeBreak = grapheme.graphemeBreak; pub const GraphemeBreakState = grapheme.BreakState; test { + _ = @import("props_ziglyph.zig"); _ = @import("symbols.zig"); @import("std").testing.refAllDecls(@This()); } |
