text
of all stringsMake sure text
of the tokens STR_CONST
is correct and adapt if necessary.
We first parse text
again and include also non-terminal text. Then, we
replace offending text
in the terminal expressions with the text of their
parents if their line / col position matches and return an error otherwise.
ensure_correct_str_txt(pd, text)
A parse table.
The text from which pd
was created. Needed
for potential reparsing.