Arrays - Slight unhacking of array[] expressions
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 11 May 2014 04:01:02 +0000 (21:01 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 11 May 2014 04:01:02 +0000 (21:01 -0700)
commitde2d1a55a90933d538d13ce56bf6024d38e63da0
tree2965a14aafe34589c300990d9a0cac3ba9d526b9
parent1173f5d56e5508b0e1f6faf3d467b1a74a73b322
Arrays - Slight unhacking of array[] expressions

* Allow IDs from const declarations to be used in array declaration.
  e.g.  const int COUNT=50; char buf[COUNT];

* We still need to handle basic interpretation to resolve calculated
  constants that might be used in array declarations.
librune/defs.h
librune/export.h
librune/parse2.c
librune/resolve.c
librune/type.c
librune/type.h
tests/const.d