xo-reader2 stack: support op<=
This commit is contained in:
parent
6f95f38373
commit
41f704f7ab
3 changed files with 3 additions and 3 deletions
|
|
@ -92,7 +92,7 @@ namespace xo {
|
|||
tk_rightangle,
|
||||
|
||||
/** less-equal @c '<=' **/
|
||||
tk_lessequal,
|
||||
tk_cmple,
|
||||
|
||||
/** great-equal @c '>=' **/
|
||||
tk_greatequal,
|
||||
|
|
|
|||
|
|
@ -486,7 +486,7 @@ namespace xo {
|
|||
log && log("leftangle or lessequal token");
|
||||
|
||||
if (*(ix + 1) == '=') {
|
||||
tk_type = tokentype::tk_lessequal;
|
||||
tk_type = tokentype::tk_cmple;
|
||||
++ix;
|
||||
++ix;
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ namespace xo {
|
|||
CASE(tk_leftangle);
|
||||
CASE(tk_rightangle);
|
||||
|
||||
CASE(tk_lessequal);
|
||||
CASE(tk_cmple);
|
||||
CASE(tk_greatequal);
|
||||
CASE(tk_dot);
|
||||
CASE(tk_comma);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue