Skip to content

Conversation

@danmar
Copy link
Owner

@danmar danmar commented Dec 15, 2024

No description provided.

@danmar danmar changed the title Fix #13425 (simplecpp: upgrade to 1.2.0) Fix #13425 (simplecpp: bump to 1.2.0) Dec 15, 2024
@danmar danmar merged commit 35a8a4e into danmar:main Dec 15, 2024
60 checks passed
@danmar danmar deleted the fix-13425 branch December 16, 2024 10:38
TokenList tokensB(files);
const Token *nextTok = B->next;

if (canBeConcatenatedStringOrChar) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unexpectedA is defined as ... && !canBeConcatenatedStringOrChar => here if(unexpectedA) will never be executed.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm it's true. I don't have a strong opinion. technically it can't be executed. maybe it was added as an extra safety check if one considers these variables separately mentally. and we could update the unexpectedA condition later..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants