Make some refactors for name mangling and encapsulation.

This commit is contained in:
2020-09-15 18:51:28 -07:00
parent 18aac4c8fd
commit ed1f9a1460
18 changed files with 895 additions and 303 deletions

View File

@@ -68,7 +68,7 @@ using yyscan_t = void*;
%%
program
: definitions { $1.vis = visibility::global; std::swap(drv.global_defs, $1); }
: definitions { $1.vis = visibility::global; std::swap(drv.get_global_defs(), $1); }
;
definitions