xo-parser: prep: semicolon expr separator, prep for infix ops
This commit is contained in:
parent
876489700f
commit
37268113fb
6 changed files with 409 additions and 60 deletions
|
|
@ -18,6 +18,9 @@ namespace xo {
|
|||
using Expression = xo::ast::Expression;
|
||||
using span_type = span<const char>;
|
||||
|
||||
reader_result(rp<Expression> expr, span_type rem)
|
||||
: expr_{std::move(expr)}, rem_{rem} {}
|
||||
|
||||
/** parsed schematica expression **/
|
||||
rp<Expression> expr_;
|
||||
/** span giving text input consumed to construct expr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue