Skip to content

Commit

Permalink
parser check_class_for_duplicate_names malloc
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Jan 12, 2025
1 parent a78b324 commit 313e75b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/parser.jou
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ def check_class_for_duplicate_names(classdef: AstClassDef*) -> None:
)
fail(p2->name_location, message)

free(infos)


# TODO: this function is just bad...
def read_assertion_from_file(start: Location, end: Location) -> byte*:
Expand Down

0 comments on commit 313e75b

Please sign in to comment.