diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-15 18:37:45 +0630 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-15 18:37:45 +0630 |
commit | ba3525d53311dfc89610748ef3ce0a8d9e3756b9 (patch) | |
tree | 758b44b6f288a82b290902a567d0c5e4588830ca /asm/preprocesser.hpp | |
parent | d594c0c531dc04224d6909cbc99d3798bcf04060 (diff) | |
download | ovm-ba3525d53311dfc89610748ef3ce0a8d9e3756b9.tar.gz ovm-ba3525d53311dfc89610748ef3ce0a8d9e3756b9.tar.bz2 ovm-ba3525d53311dfc89610748ef3ce0a8d9e3756b9.zip |
preprocesser publicly exposes only preprocesser function
The preprocess_* functions are now privately contained within the
implementation file to help the preprocesser outer function.
Furthermore I've simplified the API of the preprocess_* functions by
making them only return pp_err_t and store their results in a vector
parameter taken by reference.
Diffstat (limited to 'asm/preprocesser.hpp')
-rw-r--r-- | asm/preprocesser.hpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/asm/preprocesser.hpp b/asm/preprocesser.hpp index ed5a421..aac3041 100644 --- a/asm/preprocesser.hpp +++ b/asm/preprocesser.hpp @@ -44,14 +44,4 @@ std::ostream &operator<<(std::ostream &, pp_err_t &); pp_err_t preprocesser(const std::vector<token_t *> &, std::vector<token_t *> &); -std::pair<std::vector<token_t *>, pp_err_t> -preprocess_const_blocks(const std::vector<token_t *> &); - -std::pair<std::vector<token_t *>, pp_err_t> -preprocess_use_blocks(const std::vector<token_t *> &); - -// TODO: Implement this -std::pair<std::vector<token_t *>, pp_err_t> -preprocess_macro_blocks(const std::vector<token_t *> &); - #endif |