diff options
| author | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2024-08-04 18:45:20 -0400 |
|---|---|---|
| committer | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2024-08-04 18:56:29 -0400 |
| commit | 1ccb0b25583cc2e5b1b58ba6d60571d637a28370 (patch) | |
| tree | 10ebedd8dc0d840ccc992e91869e671104728346 /core/text | |
| parent | babdc432e963f2c6456b0d85102419c526600718 (diff) | |
Remove unused code
Diffstat (limited to 'core/text')
| -rw-r--r-- | core/text/regex/compiler/compiler.odin | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/text/regex/compiler/compiler.odin b/core/text/regex/compiler/compiler.odin index f5d6d2f6a..1ce881894 100644 --- a/core/text/regex/compiler/compiler.odin +++ b/core/text/regex/compiler/compiler.odin @@ -41,7 +41,6 @@ SPLIT_SIZE :: size_of(Opcode) + 2 * size_of(u16) Compiler :: struct { flags: common.Flags, - anchor_start_seen: bool, class_data: [dynamic]Rune_Class_Data, } @@ -192,7 +191,6 @@ generate_code :: proc(c: ^Compiler, node: Node) -> (code: Program) { append(&code, Opcode.Multiline_Close) } else { if specific.start { - c.anchor_start_seen = true append(&code, Opcode.Assert_Start) } else { append(&code, Opcode.Assert_End) |