Code

frontend/grammar: Added 'STORE host|service|metric [attribute]' commands.
[sysdb.git] / src / frontend / scanner.l
index 6781122c3c2b830547b66a0fe82a7e57b3f15cb4..3985bf87433553545a8ee7022cfb926370ab3b5b 100644 (file)
@@ -59,6 +59,7 @@ static struct {
        { "FILTER",      FILTER },
        { "IN",          IN },
        { "IS",          IS },
+       { "LAST",        LAST },
        { "LIST",        LIST },
        { "LOOKUP",      LOOKUP },
        { "MATCHING",    MATCHING },
@@ -66,7 +67,9 @@ static struct {
        { "NULL",        NULL_T },
        { "OR",          OR },
        { "START",       START },
+       { "STORE",       STORE },
        { "TIMESERIES",  TIMESERIES },
+       { "UPDATE",      UPDATE },
 
        /* object types */
        { "host",        HOST_T },