[10025] Fixed unexpected C++ code parsing with *FILTER_LOG in 'if'