]> git.draconx.ca Git - gob-dx.git/blobdiff - src/lexer.l
Release 1.0.0
[gob-dx.git] / src / lexer.l
index 1e7de5356e1c72ba0e8a63f125d11a2abd677396..f3a0f2eabdbc34c6a39ef80d4f40616bcb5fb82d 100644 (file)
@@ -419,7 +419,7 @@ class               {
                        return TOKEN;
                }
 
-<CLASS_CODE_I>(\[[0-9]*\])+    {
+<CLASS_CODE_I>(\[[0-9]*\]|\[[A-Za-z_][A-Za-z0-9_]*\])+ {
                        yylval.id = g_strdup(yytext);
                        return ARRAY_DIM;
                }