Fixed a bug where decl was essentially broken when using arrays
authorDavid Anderson <dvander@alliedmods.net>
Mon Jan 29 22:33:57 2007 +0000 (2007-01-29)
changeset 410e6885cfd8aec
parent 409 737c149d8a26
child 411 d954bff454a0
Fixed a bug where decl was essentially broken when using arrays
sourcepawn/compiler/sc1.c
     1.1 --- a/sourcepawn/compiler/sc1.c	Mon Jan 29 19:36:02 2007 +0000
     1.2 +++ b/sourcepawn/compiler/sc1.c	Mon Jan 29 22:33:57 2007 +0000
     1.3 @@ -2510,10 +2510,6 @@
     1.4    int curlit=litidx;
     1.5    int err=0;
     1.6  
     1.7 -  if (!autozero) {
     1.8 -    return;
     1.9 -  }
    1.10 -
    1.11    if (!matchtoken('=')) {
    1.12      assert(ident!=iARRAY || numdim>0);
    1.13      if (ident==iARRAY && dim[numdim-1]==0) {