danmar/cppcheck — comment on commit aaa77c47094073e0a6eef20c60204640bd0ad048
File: lib/tokenize.cpp line 4157
By danmar:

First of all I don't see how removing these lines are necessery to converting '&str[num]' => '(str+num)'.

Can you create this test case:

y = 12 * (x + 3);

The --debug output becomes:

y = 12 x [ 3 ] ;