diff options
author | Matthias Maennich <matthias@maennich.net> | 2017-08-24 21:48:48 (GMT) |
---|---|---|
committer | Matthias Maennich <matthias@maennich.net> | 2017-08-28 22:18:06 (GMT) |
commit | d2e8351a4dc4bf2255942eabf16d4376c4a48c50 (patch) | |
tree | 54a00aaa73831fdd838eed2a167fd2d08755d8ef /Source/LexerParser/cmDependsJavaLexer.in.l | |
parent | a6374b88d96e59e231f3b7679166d1b15a91eece (diff) | |
download | CMake-d2e8351a4dc4bf2255942eabf16d4376c4a48c50.zip CMake-d2e8351a4dc4bf2255942eabf16d4376c4a48c50.tar.gz CMake-d2e8351a4dc4bf2255942eabf16d4376c4a48c50.tar.bz2 |
cmCommandArgumentLexer: 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 cmCommandArgumentLexer.in.l and mapping the current
instruction to a meaningful location within that file.
The prefix "cmCommandArgument_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>
Diffstat (limited to 'Source/LexerParser/cmDependsJavaLexer.in.l')
0 files changed, 0 insertions, 0 deletions