mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
check comma count in enum instead
This commit is contained in:
@@ -31,7 +31,7 @@ sort_attribute :: proc(s: ^[dynamic]^ast.Attribute) -> sort.Interface {
|
||||
|
||||
@(private)
|
||||
comment_before_position :: proc(p: ^Printer, pos: tokenizer.Pos) -> bool {
|
||||
|
||||
|
||||
if len(p.comments) <= p.latest_comment_index {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user