diff --git a/include/xo/tokenizer2/tokentype.hpp b/include/xo/tokenizer2/tokentype.hpp index 18857af9..a5538131 100644 --- a/include/xo/tokenizer2/tokentype.hpp +++ b/include/xo/tokenizer2/tokentype.hpp @@ -95,7 +95,7 @@ namespace xo { tk_cmple, /** great-equal @c '>=' **/ - tk_greatequal, + tk_cmpge, /** dot @c '.' **/ tk_dot, diff --git a/src/tokenizer2/Tokenizer.cpp b/src/tokenizer2/Tokenizer.cpp index 76881e7f..88f03755 100644 --- a/src/tokenizer2/Tokenizer.cpp +++ b/src/tokenizer2/Tokenizer.cpp @@ -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 { diff --git a/src/tokenizer2/tokentype.cpp b/src/tokenizer2/tokentype.cpp index e704b38d..c9749a34 100644 --- a/src/tokenizer2/tokentype.cpp +++ b/src/tokenizer2/tokentype.cpp @@ -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);