From ba3525d53311dfc89610748ef3ce0a8d9e3756b9 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 15 Apr 2024 18:37:45 +0630 Subject: 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. --- asm/preprocesser.hpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'asm/preprocesser.hpp') 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 &, std::vector &); -std::pair, pp_err_t> -preprocess_const_blocks(const std::vector &); - -std::pair, pp_err_t> -preprocess_use_blocks(const std::vector &); - -// TODO: Implement this -std::pair, pp_err_t> -preprocess_macro_blocks(const std::vector &); - #endif -- cgit v1.2.3-13-gbd6f