Fix crash in LLCalc::evalString, see FIRE-4381.
parent
14df45c313
commit
be8136be19
|
|
@ -27,6 +27,8 @@
|
|||
#ifndef LL_CALCPARSER_H
|
||||
#define LL_CALCPARSER_H
|
||||
|
||||
#define BOOST_SPIRIT_SINGLE_GRAMMAR_INSTANCE
|
||||
|
||||
#include <boost/spirit/include/classic_attribute.hpp>
|
||||
#include <boost/spirit/include/classic_core.hpp>
|
||||
#include <boost/spirit/include/classic_error_handling.hpp>
|
||||
|
|
|
|||
|
|
@ -110,6 +110,7 @@ std::map<std::string,LLUUID> FSLSLPreprocessor::cached_assetids;
|
|||
#ifdef LL_WINDOWS
|
||||
#pragma warning (disable : 4702) // warning C4702: unreachable code
|
||||
#endif
|
||||
#define BOOST_SPIRIT_SINGLE_GRAMMAR_INSTANCE
|
||||
|
||||
#include <boost/assert.hpp>
|
||||
#include <boost/wave.hpp>
|
||||
|
|
|
|||
Loading…
Reference in New Issue