-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Untangle the per-name stack from the macro entry struct
Use an STL stack to store the macro entries sharing the name to separate the data from its containing structure, this lets the macro entries be proper C++ objects that manage their own business only and thus can be also directly stored containers, doing away with manual allocation. And now that these entries no longer need any special care, we can delete all the copy-control fubar from the main macro context: it's all standard library storage now and don't need our handholding.
- Loading branch information
Showing
1 changed file
with
47 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters