From 831344d353956d3e5bb71955bf41557241326887 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 29 Jan 2007 19:34:28 +0000 Subject: [PATCH] fixed a bug where line numbers were not reset --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40414 --- sourcepawn/compiler/sc2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sourcepawn/compiler/sc2.c b/sourcepawn/compiler/sc2.c index ea861e27..2894e14c 100644 --- a/sourcepawn/compiler/sc2.c +++ b/sourcepawn/compiler/sc2.c @@ -1005,6 +1005,7 @@ static int command(void) inpfname=duplicatestring(pathname); if (inpfname==NULL) error(103); /* insufficient memory */ + fline=0; } /* if */ } /* if */ check_empty(lptr);