diff options
Diffstat (limited to 'src/other_tools/just_mr/utils.hpp')
-rw-r--r-- | src/other_tools/just_mr/utils.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/other_tools/just_mr/utils.hpp b/src/other_tools/just_mr/utils.hpp index 5caf33d0..67878445 100644 --- a/src/other_tools/just_mr/utils.hpp +++ b/src/other_tools/just_mr/utils.hpp @@ -89,6 +89,19 @@ std::unordered_map<std::string, CheckoutType> const kCheckoutTypeMap = { {"distdir", CheckoutType::Distdir}, {"git tree", CheckoutType::GitTree}}; +/// \brief Pragma "special" value enum +enum class PragmaSpecial : std::uint8_t { + Ignore, + ResolvePartially, + ResolveCompletely +}; + +/// \brief Pragma "special" value map +std::unordered_map<std::string, PragmaSpecial> const kPragmaSpecialMap = { + {"ignore", PragmaSpecial::Ignore}, + {"resolve-partially", PragmaSpecial::ResolvePartially}, + {"resolve-completely", PragmaSpecial::ResolveCompletely}}; + namespace JustMR { struct Paths { |