2.3.1.6. lex_SavePosition()

[<<<] [>>>]

Use this function to save the current position of the iteration. This is neccessary during syntactical analysis to return to a certain position when syntactical analysis fails and the program has to go back and try a different command syntax.

void lex_SavePosition(pLexObject pLex,
                      pLexeme *ppPosition
  ){

The second argument is a pLexeme * type variable that holds the position and should be passed as argument to the function @xref{lex_RestorePosition()}.


[<<<] [>>>]