In cases when we encounter a terminating token, the control region is completed.
In cases when we encounter a terminating token, the control region is completed.
However, in cases when it's optional, some other token could also possibly terminate the control region, and this method allows dealing with that special case.