Reject static variables during the semantic pass, not while parsing
commit66b3fe2e56db72f94f6ecbafb1fc6e695cb90973
authorThomas Leonard <talex5@gmail.com>
Sat, 27 Sep 2008 07:28:37 +0000 (27 08:28 +0100)
committerThomas Leonard <talex5@gmail.com>
Sat, 27 Sep 2008 07:28:37 +0000 (27 08:28 +0100)
tree08387a94593f0086bb18c3399982e3528b3970c1
parenta3cfa83e6b354c0dc35e1e078c72b7c7298bfd24
Reject static variables during the semantic pass, not while parsing

This allows us to accept static functions and static blocks.
dmd/declaration.c
dmd/declaration.h
dmd/parse.c