diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2022-07-17 14:32:12 +0200 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2022-07-17 14:32:12 +0200 |
| commit | b0f127175d05d00d14cd4fee43a50718e83664a7 (patch) | |
| tree | 2b46dcca8d6dc4393f9d3d4cc3a4d90f9a7e2fa1 | |
| parent | 03cc939f593fe35db9543442bcf819db833b900d (diff) | |
Forgot file...
| -rw-r--r-- | src/odin/printer/document.odin | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/odin/printer/document.odin b/src/odin/printer/document.odin index 2345140..9be7da1 100644 --- a/src/odin/printer/document.odin +++ b/src/odin/printer/document.odin @@ -134,11 +134,12 @@ enforce_fit :: proc(fitted_document: ^Document, allocator := context.allocator) return document } -enforce_break :: proc(fitted_document: ^Document, allocator := context.allocator) -> ^Document { +enforce_break :: proc(fitted_document: ^Document, options := Document_Group_Options{}, allocator := context.allocator) -> ^Document { document := new(Document, allocator) document^ = Document_Group { document = fitted_document, mode = .Break, + options = options, } return document } |