mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Add comment
This commit is contained in:
@@ -308,6 +308,10 @@ parse_bytes :: proc(data: []u8, options := DEFAULT_OPTIONS, path := "", error_ha
|
|||||||
case .Open_Bracket:
|
case .Open_Bracket:
|
||||||
// This could be a CDATA tag part of a tag's body. Unread the `<![`
|
// This could be a CDATA tag part of a tag's body. Unread the `<![`
|
||||||
t.offset -= 3
|
t.offset -= 3
|
||||||
|
|
||||||
|
// Instead of calling `parse_body` here, we could also `continue loop`
|
||||||
|
// and fall through to the `case:` at the bottom of the outer loop.
|
||||||
|
// This makes the intent clearer.
|
||||||
parse_body(doc, element, opts) or_return
|
parse_body(doc, element, opts) or_return
|
||||||
|
|
||||||
case:
|
case:
|
||||||
|
|||||||
Reference in New Issue
Block a user