Remove a loop which loops backbackwards through the matched content and checks every char if it is a { to put it back into the input stream. As we have everytime two { in the matched string we can just use yypushback(2) to get the same result. This is easier to read and does not need to cast the stream to a string.
Remove a loop which loops backbackwards through the matched content and checks every char if it is a
{
to put it back into the input stream. As we have everytime two{
in the matched string we can just useyypushback(2)
to get the same result. This is easier to read and does not need to cast the stream to a string.