Cesium icon indicating copy to clipboard operation
Cesium copied to clipboard

`int typedef x` doesn't parse correctly

Open ForNeVeR opened this issue 2 years ago • 1 comments

int typedef x; is a correct top-level statement, but Cesium is unable to process it.

The possible reason is Cesium.CodeGen.Ir.Declarations.IScopedDeclarationInfo.Of which checks the first specifier whether it is typedef.

ForNeVeR avatar Oct 23 '22 15:10 ForNeVeR

typedef may be in absolutely any position before alias, for example:

unsigned volatile int typedef *x;
long unsigned typedef long int *volatile*y;

a-tk-by avatar May 15 '23 07:05 a-tk-by