Make some refactors for name mangling and encapsulation.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user