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:31:15 (GMT) |
commit | 80c08c7c0ad14bbc7c004fff4c0363b7369927e0 (patch) | |
tree | 692aa22c41710fa67767e8e611e59ae6b09464fe /Utilities/cmcompress | |
parent | 59f78dcb2369aaab3db7fa5de9f48b25d801003d (diff) | |
download | CMake-80c08c7c0ad14bbc7c004fff4c0363b7369927e0.zip CMake-80c08c7c0ad14bbc7c004fff4c0363b7369927e0.tar.gz CMake-80c08c7c0ad14bbc7c004fff4c0363b7369927e0.tar.bz2 |
cmExprLexer: 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 cmExprLexer.in.l and mapping the current
instruction to a meaningful location within that file.
The prefix "cmExpr_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 'Utilities/cmcompress')
0 files changed, 0 insertions, 0 deletions