|
SciLex
A header-only C++20 lexer built on REAL
|
SciLex's version, for the preprocessor and at run time. More...
Macros | |
| #define | SCILEX_VERSION_MAJOR 2026 |
| Major version (the calendar year). | |
| #define | SCILEX_VERSION_MINOR 10 |
| Minor version (the calendar month). | |
| #define | SCILEX_VERSION_PATCH 4 |
| Patch version (the release count within the month). | |
| #define | SCILEX_STRINGIZE_IMPL(x) #x |
| Inner half of the two-level stringize: turns its argument into a string literal. | |
| #define | SCILEX_STRINGIZE(x) SCILEX_STRINGIZE_IMPL(x) |
Stringizes the expansion of x — what the second level buys. | |
| #define | SCILEX_VERSION_STRING |
| The version as "MAJOR.MINOR.PATCH". | |
SciLex's version, for the preprocessor and at run time.
make release rewrites the three numeric macros; SCILEX_VERSION_STRING derives from them, and make version-check refuses a header that disagrees with pyproject.toml.
| #define SCILEX_STRINGIZE | ( | x | ) | SCILEX_STRINGIZE_IMPL(x) |
Stringizes the expansion of x — what the second level buys.
| #define SCILEX_STRINGIZE_IMPL | ( | x | ) | #x |
Inner half of the two-level stringize: turns its argument into a string literal.
| #define SCILEX_VERSION_MAJOR 2026 |
Major version (the calendar year).
| #define SCILEX_VERSION_MINOR 10 |
Minor version (the calendar month).
| #define SCILEX_VERSION_PATCH 4 |
Patch version (the release count within the month).
| #define SCILEX_VERSION_STRING |
The version as "MAJOR.MINOR.PATCH".