xo-reader2 stack: support op<=

This commit is contained in:
Roland Conybeare 2026-03-12 21:08:58 -05:00
commit 41f704f7ab
3 changed files with 3 additions and 3 deletions

View file

@ -92,7 +92,7 @@ namespace xo {
tk_rightangle,
/** less-equal @c '<=' **/
tk_lessequal,
tk_cmple,
/** great-equal @c '>=' **/
tk_greatequal,

View file

@ -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 {

View file

@ -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);