From: Sebastian Harl Date: Fri, 17 Oct 2014 08:35:07 +0000 (+0200) Subject: frontend/parser: Made clear that parser modes are flags. X-Git-Tag: sysdb-0.6.0~108 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4b45546f0aa53f9dac7c91a8149c19e118843195;p=sysdb.git frontend/parser: Made clear that parser modes are flags. It doesn't make a difference so far, but will avoid problems in the future. --- diff --git a/src/include/frontend/parser.h b/src/include/frontend/parser.h index d2dfb01..d78ab20 100644 --- a/src/include/frontend/parser.h +++ b/src/include/frontend/parser.h @@ -38,8 +38,8 @@ extern "C" { /* parser modes */ enum { SDB_PARSE_DEFAULT = 0, - SDB_PARSE_COND, - SDB_PARSE_EXPR, + SDB_PARSE_COND = 1 << 1, + SDB_PARSE_EXPR = 1 << 2, }; /* YY_EXTRA data */