Hi
Can I use in module prepared for GRASS such constructions:
typedef enum {
AND, /* & */
OR, /* | */
NOT, /* ~ */
IS, /* = */
THEN, /* : */
LBRC, /* ( */
RBRC, /* ) */
START, /* { */
STOP, /* } */
MAP, /* mapname */
VAR, /* variable name */
size /* number of tokens */
} tokens;
char parseTab [size][size] = { /* parser table definition is here */
};
I mean type enum and enum size variable to initialize table. It compiles
on gcc 4.3 but, as I know GRASS has restriction and I'm not sure if such
is fully allowed.
thanks for answer
Jarek
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev