xo-reader2: + op>= support
This commit is contained in:
parent
6b46975642
commit
a68aaf41ec
35 changed files with 143 additions and 43 deletions
|
|
@ -95,7 +95,7 @@ namespace xo {
|
|||
tk_cmple,
|
||||
|
||||
/** great-equal @c '>=' **/
|
||||
tk_greatequal,
|
||||
tk_cmpge,
|
||||
|
||||
/** dot @c '.' **/
|
||||
tk_dot,
|
||||
|
|
|
|||
|
|
@ -500,7 +500,7 @@ namespace xo {
|
|||
log && log("rightangle or greatequal token");
|
||||
|
||||
if (*(ix + 1) == '=') {
|
||||
tk_type = tokentype::tk_greatequal;
|
||||
tk_type = tokentype::tk_cmpge;
|
||||
++ix;
|
||||
++ix;
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ namespace xo {
|
|||
CASE(tk_rightangle);
|
||||
|
||||
CASE(tk_cmple);
|
||||
CASE(tk_greatequal);
|
||||
CASE(tk_cmpge);
|
||||
CASE(tk_dot);
|
||||
CASE(tk_comma);
|
||||
CASE(tk_colon);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue