X3 example Calc9 error handler aborts for invalid input

"Chris Mileto" <[email protected]> Mon, 28 Jan 2019 00:17:56 -0500
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
Using Boost version 1.68, Spirit X3 example Calc9 program fails for the
following invalid input:

var a = x;

"empty line"

 

Where x is an undefined variable.

 

I would appreciate any insight as to how to resolve this problem.

 

Also to get the Calc9 example to compile and run under version 1.68, I had
to change line number 21 in file config.hpp from:

 

      , std::reference_wrapper<error_handler_type> const

to

     , std::reference_wrapper<error_handler_type>

 

Thanks, Chris

_______________________________________________
Spirit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spirit-general