Thanks for the answer.  But please, keep the list in CC.

> Le 9 nov. 2020 à 20:26, Jot Dot <jot...@shaw.ca> a écrit :
> 
> re:
> > Could you please confirm it works as expected?  (don't use %define 
> > parse.assert).
> 
> Depends on what you have in mind wrt "as expected" :P
> 
> Answer: Yes?
> 
> Here is what I tested:
> Old version:
> %define parse.assert     -- With or without this, I had the C2026 error.
> New Version:
> %define parse.assert     -- With it, I have the error.
> Without that define, there is only one use of the YY_ASSERT in the tab.h 
> file, which seems unrelated to the previous error:
> 
>     /// Construct and fill.
>     template <typename T>
>     semantic_type (YY_RVREF (T) t)
>     {
>       YY_ASSERT (sizeof (T) <= size);
>       new (yyas_<T> ()) T (YY_MOVE (t));
>     }
> 
> The tab.h file now works. I can compile the tab.cpp file without errors.
> 
> So I am assuming this is what you are expecting.
> 
> Thanks for your quick response with a good solution.


Reply via email to