simplecpp icon indicating copy to clipboard operation
simplecpp copied to clipboard

Multiline #pragma leaves closing parenthesis

Open chrchr-github opened this issue 4 years ago • 1 comments

This input

#pragma comment(linker, "foo \
bar")

gets processed to a single closing ). I suspect the problem is somewhere near line 671 in simplecpp.cpp (TokenList::readfile). Found while using cppcheck 2.4.1: https://sourceforge.net/p/cppcheck/discussion/development/thread/88aeac20e9/

chrchr-github avatar Apr 28 '21 20:04 chrchr-github