From 8b75b5cbfbb53e0bfa51c63dc96ade69617cd1db Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 29 Jan 2009 02:24:25 -0400 Subject: Revised the way that parsing flags get passed around. --- src/expr.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/expr.cc') diff --git a/src/expr.cc b/src/expr.cc index 259440ac..e03c2710 100644 --- a/src/expr.cc +++ b/src/expr.cc @@ -48,7 +48,7 @@ expr_t::expr_t(const expr_t& other) TRACE_CTOR(expr_t, "copy"); } -expr_t::expr_t(const string& _str, const unsigned int flags) +expr_t::expr_t(const string& _str, const uint_least8_t flags) : str(_str), compiled(false) { TRACE_CTOR(expr_t, "const string&"); @@ -57,7 +57,7 @@ expr_t::expr_t(const string& _str, const unsigned int flags) ptr = parser->parse(str, flags); } -expr_t::expr_t(std::istream& in, const unsigned int flags) +expr_t::expr_t(std::istream& in, const uint_least8_t flags) : compiled(false) { TRACE_CTOR(expr_t, "std::istream&"); -- cgit v1.2.3