Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect recognition of a lex rule pattern. #10725

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

albert-github
Copy link
Collaborator

The internal documentation gave the warning :

.../src/commentcnv.l:1865: error: include file commentcnv.l.h not found, perhaps you forgot to add its directory to INCLUDE_PATH?

due to the line:

parseIncludeOptions(yyscanner,std::string_view{yytext,static_cast<size_t>(yyleng)};

more precise the part <size_t> that was seen as a lex rule pattern though it was inside the "code".

The internal documentation gave the warning :
```
.../src/commentcnv.l:1865: error: include file commentcnv.l.h not found, perhaps you forgot to add its directory to INCLUDE_PATH?
```
due to the line:
```
parseIncludeOptions(yyscanner,std::string_view{yytext,static_cast<size_t>(yyleng)};
```
more precise the part `<size_t>` that was seen as a lex rule pattern though it was inside the "code".
@albert-github albert-github added bug documentation bug in the documentation labels Mar 10, 2024
Copy link

sonarcloud bot commented Mar 10, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@doxygen doxygen merged commit 4ac028b into doxygen:master Mar 11, 2024
7 of 9 checks passed
@albert-github albert-github deleted the feature/bug_lex_pre branch March 11, 2024 18:51
@albert-github albert-github added the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Mar 11, 2024
@doxygen doxygen removed the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug documentation bug in the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants