• Albert's avatar
    Debug output for lexical analyzer · 3c0a246b
    Albert authored
    In case of error messages like:
        input buffer overflow, can't enlarge buffer because scanner uses REJECT
    it is not always directly clear from which lexical analyzer (.l file) this problem comes.
    This patch helps to find these problems and does the following things:
    - when using the option -d lex with doxygen each time a lexical analyzer is called at the start a line like the following line will be given:
        Entering lexical analyzer: pre.l (for: ..../file.c)
      and at the end:
        Finished lexical analyzer: pre.l (for: ..../file.c)
    - in case the lexical analyzer has been translated with the -d option of lex / flex the above mentioned lines will be given as part of the lexical analyzer output (to stderr) and look like:
        --entering lexical analyzer: pre.l (for: ..../file.c)
        --finished lexical analyzer: pre.l (for: ..../file.c)
    3c0a246b
pre.l 87.5 KB