//////////////////////////////////////////////////////////////////////////
//PARAMETER constants
const size_t NPAR_INT = 999; // range 0.. 999
const size_t NPAR_UNITS = 999; // range 1000..1999
const size_t NPAR_CHAR = 999; // range 2000..2999
const size_t NPAR_DOUBLE = 999; // range 3000..3999
const size_t NPAR_OEM = 999; // range 4001..5000
VA indicates that the second line (const size_t ...) is erroneous, that a ';' is missing from the "range" expression.
Erm... range is a comment only - nothing to parse there! ;)
To be clear: if I change the above to have an additional ';' at the end of every comment, the problem goes away - so clearly VA is trying to parse the comments as code - which it should not be doing.