I'm getting false errors claiming a missing semicolon, specifically for the below case of macro replacements of a for loop, which could suggest the syntax is not defined entirely correctly, or just be a symptom of macros not being preprocessed.
#version 450
#define FOREACH(x) for (x = 0; x < 42; x++)
void main() {
uint x, y;
FOREACH(x) {
y += x;
}
}
I'm getting false errors claiming a missing semicolon, specifically for the below case of macro replacements of a for loop, which could suggest the syntax is not defined entirely correctly, or just be a symptom of macros not being preprocessed.
Produces this tree and error messages:
glsl_analyzer version: 1.4.5