preprocessor: Handle ##
This commit is contained in:
parent
fad65663e5
commit
d82314b365
@ -589,6 +589,8 @@ public:
|
|||||||
while ((tok = tok->next()) != NULL)
|
while ((tok = tok->next()) != NULL)
|
||||||
{
|
{
|
||||||
std::string str = tok->str();
|
std::string str = tok->str();
|
||||||
|
if (str == "##")
|
||||||
|
continue;
|
||||||
if (tok->isName())
|
if (tok->isName())
|
||||||
{
|
{
|
||||||
for (unsigned int i = 0; i < _params.size(); ++i)
|
for (unsigned int i = 0; i < _params.size(); ++i)
|
||||||
|
@ -78,7 +78,7 @@ private:
|
|||||||
TEST_CASE(string1);
|
TEST_CASE(string1);
|
||||||
TEST_CASE(string2);
|
TEST_CASE(string2);
|
||||||
TEST_CASE(preprocessor_undef);
|
TEST_CASE(preprocessor_undef);
|
||||||
// TODO TEST_CASE(preprocessor_doublesharp);
|
TEST_CASE(preprocessor_doublesharp);
|
||||||
TEST_CASE(preprocessor_include_in_str);
|
TEST_CASE(preprocessor_include_in_str);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user