Code

frontend/parser: Renamed SDB_PARSE_EXPR to SDB_PARSE_ARITH.
[sysdb.git] / src / include / frontend / parser.h
index b451ed5b6e88504980c008a42d132d871d50838c..766570157e426cfdab440db1b10be8ac958d8147 100644 (file)
@@ -39,9 +39,14 @@ extern "C" {
 
 /* parser modes */
 enum {
+       /* parser accepts any command statement */
        SDB_PARSE_DEFAULT = 0,
+
+       /* parser accepts any conditional statement */
        SDB_PARSE_COND    = 1 << 1,
-       SDB_PARSE_EXPR    = 1 << 2,
+
+       /* parser accepts any arithmetic expression */
+       SDB_PARSE_ARITH   = 1 << 2,
 };
 
 /* YY_EXTRA data */