Darkyenus / glsl4idea

A GLSL language plugin for IntelliJ IDEA
GNU Lesser General Public License v3.0
101 stars 31 forks source link

Multidimensional array struct members and parameters are not parsed correctly. #88

Closed AbigailBuccaneer closed 9 years ago

AbigailBuccaneer commented 9 years ago
int x[2][2]; // okay

void f(int[2][2]); // okay

void f(int x[2][2]); // error: unexpected token '[' (on the second array specifier)

struct S {
    int x[2][2]; // error: expected ';' after declaration (on the second array specifier)
};
Darkyenus commented 9 years ago

I believe this has been broken since ever, so I'll proceed with the release.

Darkyenus commented 9 years ago

If I knew it would be so easy fix I would have postponed the release. Oh well, the next one will be probably sooner anyway, this one was way too big.