Error on parsing parameters of the parser call

Top  Previous  Next

Messages > Error on parsing parameters of the parser call

 

This message results from an error, which only can occur, if the start rule of the parser needs parameters. In this case, the names of the variables must be extracted from the parameter declaration, notwithstanding if the declaration is interpretable or not. 

 

Example:

 

The name of a start rule may be "Startrule" and its parameter declaration may be

 

int xi

 

So the following code will be created:

 

void CStartruleParser::Params(ctsr xtBegin, cts xtEnd, int xi)

{

sps xState(xtBegin, xtEnd);

Startrule(xState, xi);

}

 

The name "xi" was extracted from the declaration "int xi". If this operation had caused an error the message "Error on parsing parameters of the parser call" had been appeared.



This page belongs to the TextTransformer Documentation

Home  Content  German