Discussion:
[cmake-developers] Regenerating yacc/lex files
Devin Nakamura
2018-07-06 14:49:57 UTC
Permalink
I was wondering why the option to regenerate the lexer/parser sources
was removed. I tracked it down to this pull request which deals with
clang tidy warnings in the code
(https://gitlab.kitware.com/cmake/cmake/merge_requests/775). I was
wondering if there was a reason behind the removal of the option / if
anyone would object if it was added back in.
--
Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake-developers
Brad King
2018-07-06 15:17:15 UTC
Permalink
Post by Devin Nakamura
I was wondering why the option to regenerate the lexer/parser sources
was removed. I tracked it down to this pull request which deals with
clang tidy warnings in the code
(https://gitlab.kitware.com/cmake/cmake/merge_requests/775). I was
wondering if there was a reason behind the removal of the option / if
anyone would object if it was added back in.
It was removed by commit 8927e913f780fa62c540063b8a5cfe0dcbfdd288
to simplify refactoring and moving of files into Source/LexerParser.

It's been replaced by two scripts:

Utilities/Scripts/regenerate-lexers.bash
Utilities/Scripts/regenerate-parsers.bash

These can be run by hand after modifying the lexer or parser inputs.

-Brad
--
Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake-developers
Loading...