CMake/Source/LexerParser
Matthias Maennich 59f78dcb23 cmDependsJavaLexer: regenerate with flex 2.6.4 (previously 2.6.1)
flex 2.6.3 introduces symbol remapping through macro definitions. hence the
change appears bigger than one would expect from a minor version upgrade.

In addition some manual cleanup that had to be done previously is now
obsolete. namely:
  - the size_t cast of _yybytes_len in yy_scan_bytes
    (i is now also defined int and not size_t anymore)
  - the redefinition of yyl within yy_find_action
    (yyl is now already defined as int)

Line number preprocessor directives (#line) were previously generated into
the c source file. This actually breaks debugging as debuggers have a hard
time finding the original cmDependsJavaLexer.in.l and mapping the current
instruction to a meaningful location within that file.

The prefix "cmDependsJava_yy" can already be set as %option directly.

For convenience also provide a sed command for all the manual steps that
need to be done after generating.

Signed-off-by: Matthias Maennich <matthias@maennich.net>
2017-08-29 00:25:02 +02:00
..
.clang-tidy
.gitattributes
cmCommandArgumentLexer.cxx cmCommandArgumentLexer: regenerate with flex 2.6.4 (previously 2.6.1) 2017-08-29 00:18:06 +02:00
cmCommandArgumentLexer.h cmCommandArgumentLexer: regenerate with flex 2.6.4 (previously 2.6.1) 2017-08-29 00:18:06 +02:00
cmCommandArgumentLexer.in.l cmCommandArgumentLexer: regenerate with flex 2.6.4 (previously 2.6.1) 2017-08-29 00:18:06 +02:00
cmCommandArgumentParser.cxx
cmCommandArgumentParser.y
cmCommandArgumentParserTokens.h
cmDependsJavaLexer.cxx cmDependsJavaLexer: regenerate with flex 2.6.4 (previously 2.6.1) 2017-08-29 00:25:02 +02:00
cmDependsJavaLexer.h cmDependsJavaLexer: regenerate with flex 2.6.4 (previously 2.6.1) 2017-08-29 00:25:02 +02:00
cmDependsJavaLexer.in.l cmDependsJavaLexer: regenerate with flex 2.6.4 (previously 2.6.1) 2017-08-29 00:25:02 +02:00
cmDependsJavaParser.cxx
cmDependsJavaParser.y
cmDependsJavaParserTokens.h
cmExprLexer.cxx
cmExprLexer.h
cmExprLexer.in.l
cmExprParser.cxx
cmExprParser.y
cmExprParserTokens.h
cmFortranLexer.cxx
cmFortranLexer.h
cmFortranLexer.in.l
cmFortranParser.cxx
cmFortranParser.y
cmFortranParserTokens.h
cmListFileLexer.c cmListFileLexer: regenerate with flex 2.6.4 (previously 2.6.1) 2017-08-25 16:54:41 +02:00
cmListFileLexer.in.l cmListFileLexer: regenerate with flex 2.6.4 (previously 2.6.1) 2017-08-25 16:54:41 +02:00