This module contains the functions used in parsing the replacement file. The function init_rep_parser() initializes this module and reads the replacement file from file file_name. All information about the replacements is stored in the Parserinfo structure (see tags.c). The syntax of the replacement file is checked and some error recovery is performed. Checks are made whether elements and their associated attributes exist.
The function rep_location() returns the location in the replacement file. This is used by report.c, to give the correct line location in error messages.