I want to compile my code but I get multiple errors surrounding a statement which is repeated several times in the architecture. The error message (Error 10500) says a ":" is missing near "when" but to me everything seems consistent. Part of the code is pasted below. As you see it complains about row 308 where an WHEN statement used.
I have checked this specific part and the entire code itself, but I don't find anything inconsistent about it. The conditional statement is terminated with a semicolon as it should and it is consistent with the syntax of a WHEN statement according to this webpage: http://www.ics.uci.edu/~jmoorkan/vhdlref/cond_s_a.html