Strange behavior of IDE (modifies my code)
Hello!
I have a weird problem with IDE.
I have defined a structure which aims at initializing a menu item.
This structure contains a few items including an opcode to be sent to an FPGA.
The name of the structure is panel_config_item.
Then I have declared a list of these items like this:
panel_config_item PCIGlobalList[] = { // PCI stands for panel config item
// From here, a list of actual structure initializations between {}
{config 1 parameter list},
{config 2 parameter list},
[...]
{last config parameter list}
};
When I compile, the space between panel_config_item and PCIGlobalList gets removed
and the compiler tells me error: panel_config_itemPCIGlobalList does not name a type.
Well, that's true, but does any one have a clue about the reason why the space gets
removed?
Thanks!