Skip to content

Commit

Permalink
import: Pass down registered class declaration callback
Browse files Browse the repository at this point in the history
  • Loading branch information
obiwac committed Oct 29, 2024
1 parent f35b77c commit 1809266
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flamingo/grammar/import.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ static int import(flamingo_t* flamingo, char* path) {
}

flamingo_register_external_fn_cb(imported_flamingo, flamingo->external_fn_cb, flamingo->external_fn_cb_data);
flamingo_register_class_decl_cb(imported_flamingo, flamingo->class_decl_cb, flamingo->class_decl_cb_data);

// Set the scope stack for the imported flamingo instance to be the same as ours.

Expand Down

0 comments on commit 1809266

Please sign in to comment.