parse: lex: fix arithmetic state not scanning operator tokens
This commit is contained in:
@@ -168,14 +168,14 @@ static const unsigned int keywords[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const unsigned int operators[] = {
|
static const unsigned int operators[] = {
|
||||||
TKOP_NONE, TKOP_F, TKOP_BAND, TKOP_BOR,
|
TKOP_F, TKOP_BAND, TKOP_BOR, TKOP_BXOR,
|
||||||
TKOP_BXOR, TKOP_BNOT, TKOP_SHL, TKOP_SHR,
|
TKOP_BNOT, TKOP_SHL, TKOP_SHR, TKOP_EQ,
|
||||||
TKOP_EQ, TKOP_NE, TKOP_GT, TKOP_LT,
|
TKOP_NE, TKOP_GT, TKOP_LT, TKOP_GE,
|
||||||
TKOP_GE, TKOP_LE, TKOP_MATCH, TKOP_NOTMATCH,
|
TKOP_LE, TKOP_MATCH, TKOP_NOTMATCH, TKOP_REPLACE,
|
||||||
TKOP_REPLACE, TKOP_LIKE, TKOP_NOTLIKE, TKOP_IN,
|
TKOP_LIKE, TKOP_NOTLIKE, TKOP_IN, TKOP_NOTIN,
|
||||||
TKOP_NOTIN, TKOP_CONTAINS, TKOP_NOTCONTAINS, TKOP_AND,
|
TKOP_CONTAINS, TKOP_NOTCONTAINS, TKOP_AND, TKOP_OR,
|
||||||
TKOP_OR, TKOP_XOR, TKOP_NOT, TKOP_SPLIT,
|
TKOP_XOR, TKOP_NOT, TKOP_SPLIT, TKOP_JOIN,
|
||||||
TKOP_JOIN, TKOP_IS, TKOP_ISNOT, TKOP_AS,
|
TKOP_IS, TKOP_ISNOT, TKOP_AS, TKOP_NONE,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const unsigned int symbols[] = {
|
static const unsigned int symbols[] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user