PS related C++ code blocks diverged in the two *.yy files.
Under terms of this task we'll synchronize the code.
Let's move these LEX members:
into a separate new class Lex_prepared_stmt, move the C++ code blocks to LEX and to the new class as methods and reuse these methods in *.yy files.
In the new reduction the grammar will look as simple as follows:
i.e. one method call per statement.
Note, a separate class Lex_prepared_stmt will help to move PS related data structures from LEX to new new classes for all PS based statements:
This will be done separately, eventually.