foralex / picoc

Automatically exported from code.google.com/p/picoc
0 stars 0 forks source link

Can't use array index operator on pointers #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
starting picoc
picoc> char *a = "abcdef";
picoc> printf("%c\n", a[0]);
                          ^
:2: this char* is not an array

Original issue reported on code.google.com by zik.sale...@gmail.com on 28 Oct 2009 at 7:56

GoogleCodeExporter commented 9 years ago
Fixed in revision #367

Original comment by zik.sale...@gmail.com on 1 Nov 2009 at 8:49