We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Test code:
std::istringstream i("( 0 ) && 10 < X"); simplecpp::TokenList tokenList(i, filenames); tokenList.constFold(); tokenList.dump();
Output:
( 0 < X )
As 0 && expr is 0 I believe the output should just be 0.
0 && expr
The text was updated successfully, but these errors were encountered:
Fix danmar#404: simplecpp::TokenList::constFold does not fold '( 0 ) …
6e79984
…&& 10 < X' properly
No branches or pull requests
Test code:
Output:
As
0 && expr
is 0 I believe the output should just be 0.The text was updated successfully, but these errors were encountered: