MCPcopy Create free account
hub / github.com/LibreCAD/LibreCAD / IgnoreUndefVar

Method IgnoreUndefVar

libraries/muparser/src/muParserTokenReader.cpp:238–241  ·  view source on GitHub ↗

\brief Set Flag that controls behaviour in case of undefined variables being found. If true, the parser does not throw an exception if an undefined variable is found. otherwise it does. This variable is used internally only! It suppresses a "undefined variable" exception in GetUsedVar(). Those function should return a complete list of variables including those the are not defined b

Source from the content-addressed store, hash-verified

236 those the are not defined by the time of it's call.
237 */
238 void ParserTokenReader::IgnoreUndefVar(bool bIgnore)
239 {
240 m_bIgnoreUndefVar = bIgnore;
241 }
242
243
244 /** \brief Reset the token reader to the start of the formula.

Callers 1

muParserBase.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected