diff options
| author | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2024-08-04 18:40:27 -0400 |
|---|---|---|
| committer | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2024-08-04 18:40:27 -0400 |
| commit | d3a51e208d01d2ab59067018a219340d42a228fa (patch) | |
| tree | ad75c700a55d98d0f9d24d6c4c38c933bdad7a4b /core/text | |
| parent | cd8272557feae951543c0d661b3c8d82e1a67c44 (diff) | |
Hide `Regular_Expression` values
We don't directly support printing these.
To prevent future issues being raised about the pattern being missing if
someone tries to print one, hide everything.
Diffstat (limited to 'core/text')
| -rw-r--r-- | core/text/regex/regex.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/text/regex/regex.odin b/core/text/regex/regex.odin index 0bb0b7824..9da7e9246 100644 --- a/core/text/regex/regex.odin +++ b/core/text/regex/regex.odin @@ -30,8 +30,8 @@ Capture :: struct { } Regular_Expression :: struct { - flags: Flags, - class_data: []virtual_machine.Rune_Class_Data, + flags: Flags `fmt:"-"`, + class_data: []virtual_machine.Rune_Class_Data `fmt:"-"`, program: []virtual_machine.Opcode `fmt:"-"`, } |