diff --git a/src/util/src/ttokenizer.c b/src/util/src/ttokenizer.c index 8fca99291164a429867a090c98a61156daa40af2..019b618ca3d0983dcd0d1cf305e92678cedf7596 100644 --- a/src/util/src/ttokenizer.c +++ b/src/util/src/ttokenizer.c @@ -589,6 +589,11 @@ uint32_t tGetToken(char* z, uint32_t* tokenId) { for (i = 1; ((z[i] & 0x80) == 0) && isIdChar[(uint8_t) z[i]]; i++) { } *tokenId = tKeywordCode(z, i); + + //Check for function now() + if (*tokenId == TK_NOW && z[i] == '(' && z[i + 1] == ')') { + *tokenId = TK_ID; + } return i; } }