xo-reader2: + op> support
This commit is contained in:
parent
6104515656
commit
4c9771126b
3 changed files with 27 additions and 154 deletions
|
|
@ -151,6 +151,12 @@ namespace xo {
|
|||
this->cmple_binding_ = global_symtab_->lookup_binding(name);
|
||||
}
|
||||
|
||||
{
|
||||
const DUniqueString * name = stringtable_.lookup("_cmpgt");
|
||||
assert(name);
|
||||
this->cmpgt_binding_ = global_symtab_->lookup_binding(name);
|
||||
}
|
||||
|
||||
{
|
||||
const DUniqueString * name = stringtable_.lookup("_cmpge");
|
||||
assert(name);
|
||||
|
|
@ -241,6 +247,15 @@ namespace xo {
|
|||
return retval;
|
||||
}
|
||||
|
||||
obj<AGCObject>
|
||||
ParserStateMachine::cmpgt_pm() const
|
||||
{
|
||||
obj<AGCObject> retval = global_env_->lookup_value(cmpgt_binding_);
|
||||
assert(retval);
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
obj<AGCObject>
|
||||
ParserStateMachine::cmpge_pm() const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue