Ensure a correct text of all strings and numeric constants
Make sure text
of the tokens STR_CONST
and NUM_CONST
is correct and
adapt if necessary. 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_txt(pd, text)
pd |
A parse table. |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.