This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Indexer problem after array declaration



Hi,

I'm using CCS 6.1.0.00104 and I just found out a possible bug in the indexer. There were some static methods of a class that I couldn't Ctrl-Click to follow the symbol. Indexer would just say that the symbol wasn't found. After trying some things, I found out that everything following array declaration + initialization wasn't found by the indexer.

const uint16_t adcAChannels[3] =
{
    [0] = Device::ADC_MEASUREMENTSA1_CHANNEL,
    [1] = Device::ADC_MEASUREMENTSA2_CHANNEL,
    [2] = Device::ADC_MEASUREMENTSA3_CHANNEL,
}

const uint16_t adcBChannels[3] =
{
    [0] = Device::ADC_MEASUREMENTSB1_CHANNEL,
    [1] = Device::ADC_MEASUREMENTSB2_CHANNEL,
    [2] = Device::ADC_MEASUREMENTSB3_CHANNEL,
}


.....................
.....................

PWMDriver::ConfigurePWMTripZone(&EPwm1Regs, TZ_FORCE_HI);

The class PWMDriver and the method ConfigurePWMTripZone couldn't be found by the indexer with the array declaration above it. If I remove these declaration or if I change them to be "standard", the indexer instantly discovers the following symbols. 

Is it a known bug?

Thanks