xo-reader: integer arithmetic + parser + pretty-printing adds
This commit is contained in:
parent
75b74918b7
commit
8d5a9c825f
25 changed files with 408 additions and 26 deletions
|
|
@ -21,6 +21,7 @@ namespace xo {
|
|||
//using xo::ast::Constant;
|
||||
//using xo::reflect::Reflect;
|
||||
using xo::reflect::TypeDescr;
|
||||
using xo::print::ppindentinfo;
|
||||
|
||||
namespace scm {
|
||||
const char *
|
||||
|
|
@ -552,6 +553,13 @@ namespace xo {
|
|||
os << ">";
|
||||
}
|
||||
|
||||
bool
|
||||
exprstate::pretty_print(const ppindentinfo & ppii) const
|
||||
{
|
||||
return ppii.pps()->pretty_struct(ppii, "exprstate",
|
||||
refrtag("type", exs_type_));
|
||||
}
|
||||
|
||||
void
|
||||
exprstate::illegal_input_error(const char * self_name,
|
||||
const token_type & tk) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue