fixed a bug where line numbers were not reset
authorDavid Anderson <dvander@alliedmods.net>
Mon Jan 29 19:34:28 2007 +0000 (2007-01-29)
changeset 4080e717b3f2e08
parent 407 37435e7656ad
child 409 737c149d8a26
fixed a bug where line numbers were not reset
sourcepawn/compiler/sc2.c
     1.1 --- a/sourcepawn/compiler/sc2.c	Mon Jan 29 07:01:26 2007 +0000
     1.2 +++ b/sourcepawn/compiler/sc2.c	Mon Jan 29 19:34:28 2007 +0000
     1.3 @@ -1005,6 +1005,7 @@
     1.4          inpfname=duplicatestring(pathname);
     1.5          if (inpfname==NULL)
     1.6            error(103);           /* insufficient memory */
     1.7 +        fline=0;
     1.8        } /* if */
     1.9      } /* if */
    1.10      check_empty(lptr);