From 4b45546f0aa53f9dac7c91a8149c19e118843195 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Fri, 17 Oct 2014 10:35:07 +0200 Subject: [PATCH] frontend/parser: Made clear that parser modes are flags. It doesn't make a difference so far, but will avoid problems in the future. --- src/include/frontend/parser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.30.2