# HG changeset patch # User David Anderson # Date 1353222770 28800 # Node ID 2f9997088e9bdcb2e168fe62ad065df13c3b150b # Parent 5cbec15fadfe70c2d1a182340572f9f99cc1e122 Added missing file. diff -r 5cbec15fadfe -r 2f9997088e9b src/compiler/ConstantEvaluator.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/compiler/ConstantEvaluator.h Sat Nov 17 23:12:50 2012 -0800 @@ -0,0 +1,32 @@ +/* vim: set ts=4 sw=4 tw=99 et: + * + * Copyright (C) 2012 David Anderson + * + * This file is part of SourcePawn. + * + * SourcePawn is free software: you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) + * any later version. + * + * SourcePawn is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along with + * SourcePawn. If not, see http://www.gnu.org/licenses/. + */ +#ifndef _include_sp2_constant_evaluator_h_ +#define _include_sp2_constant_evaluator_h_ + +#include "../Types.h" + +namespace ke { + +class Expression; + +bool EvaluateForConstant(Expression *expr, BoxedPrimitive *out); + +} + +#endif // _include_sp2_constant_evaluator_h_