build: osx carveouts
This commit is contained in:
parent
c1446de13d
commit
4b6f52291c
2 changed files with 4 additions and 1 deletions
|
|
@ -23,6 +23,7 @@ namespace xo {
|
|||
: pps_{pps}, ci0_{ci0}, ci1_{ci0 + indent_width}, upto_{upto} {}
|
||||
|
||||
ppstate * pps() const { return pps_; }
|
||||
std::uint32_t ci0_unused() const { return ci0_; }
|
||||
std::uint32_t ci1() const { return ci1_; }
|
||||
bool upto() const { return upto_; }
|
||||
|
||||
|
|
|
|||
|
|
@ -39,6 +39,8 @@ namespace xo {
|
|||
uint32_t indent_width() const { return config_->indent_width_; }
|
||||
ppindentinfo indent_info(bool upto) { return ppindentinfo(this, lpos(), indent_width(), upto); }
|
||||
|
||||
std::uint32_t current_indent_unused() const { return current_indent_; }
|
||||
|
||||
std::uint32_t pos() const { return scratch_sbuf_->pos(); }
|
||||
/** current position relative to start of line (last \n or \r),
|
||||
* excluding color escape sequences
|
||||
|
|
@ -170,7 +172,7 @@ namespace xo {
|
|||
|
||||
/** readonly pretty-printer config **/
|
||||
const ppconfig * config_ = nullptr;
|
||||
};
|
||||
}; /*ppstate*/
|
||||
|
||||
/** @class ppstate_standalone
|
||||
* @brief like ppstate, but also holds streambuf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue